-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from sdss/albireox-1.0
Version 1.0
- Loading branch information
Showing
83 changed files
with
3,180 additions
and
5,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,48 @@ | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' # Exclude pre-releases | ||
- '*' | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
name: Build wheels | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
python-version: ['3.12'] | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: lvmnps ${{ github.ref }} | ||
body: '' | ||
draft: false | ||
prerelease: false | ||
name: lvmnps ${{ github.ref_name }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pep517 | ||
python -m pip install --upgrade pip setuptools wheel build | ||
- name: Build package | ||
- name: Build wheels | ||
run: | | ||
python -m pep517.build --source --binary --out-dir dist/ . | ||
pyproject-build -w | ||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
- name: Build source | ||
run: | | ||
pyproject-build -s | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. _lvmnps-api: | ||
|
||
API | ||
=== | ||
|
||
Base client | ||
----------- | ||
|
||
.. autoclass:: lvmnps.nps.core.NPSClient | ||
:members: | ||
:show-inheritance: | ||
|
||
.. autopydantic_model:: lvmnps.nps.core.OutletModel | ||
:model-show-json: false | ||
:exclude-members: model_post_init | ||
|
||
|
||
Implementations | ||
--------------- | ||
|
||
Digital Loggers Inc | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: lvmnps.nps.implementations.dli.DLIClient | ||
|
||
.. autopydantic_model:: lvmnps.nps.implementations.dli.DLIOutletModel | ||
:model-show-json: false | ||
:exclude-members: model_post_init | ||
|
||
NetIO | ||
^^^^^ | ||
|
||
.. autoclass:: lvmnps.nps.implementations.netio.NetIOClient | ||
|
||
|
||
Actor | ||
----- | ||
|
||
.. autoclass:: lvmnps.actor.NPSActor | ||
|
||
|
||
Tools | ||
----- | ||
|
||
.. automodule:: lvmnps.tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.