across-client 0.1.dev50__tar.gz → 1.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. across_client-1.1.1/.github/workflows/pre-commit-ci.yml +35 -0
  2. {across_client-0.1.dev50 → across_client-1.1.1}/.github/workflows/publish-to-pypi.yml +12 -15
  3. across_client-1.1.1/.github/workflows/release.yaml +22 -0
  4. across_client-1.1.1/.github/workflows/smoke-test.yml +42 -0
  5. across_client-1.1.1/.github/workflows/testing-and-coverage.yml +39 -0
  6. across_client-1.1.1/.pre-commit-config.yaml +113 -0
  7. across_client-1.1.1/.release-please-manifest.json +3 -0
  8. across_client-1.1.1/CHANGELOG.md +70 -0
  9. {across_client-0.1.dev50 → across_client-1.1.1}/CODE_OF_CONDUCT.md +21 -13
  10. across_client-1.1.1/Makefile +131 -0
  11. {across_client-0.1.dev50 → across_client-1.1.1}/PKG-INFO +9 -17
  12. {across_client-0.1.dev50 → across_client-1.1.1}/README.md +7 -3
  13. across_client-1.1.1/across/client/_version.py +24 -0
  14. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/telescope.py +8 -0
  15. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/tools.py +45 -0
  16. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/core/config.py +1 -1
  17. {across_client-0.1.dev50 → across_client-1.1.1}/across_client.egg-info/PKG-INFO +9 -17
  18. {across_client-0.1.dev50 → across_client-1.1.1}/across_client.egg-info/SOURCES.txt +19 -3
  19. across_client-1.1.1/across_client.egg-info/requires.txt +2 -0
  20. across_client-1.1.1/docs/_static/logo.png +0 -0
  21. {across_client-0.1.dev50 → across_client-1.1.1}/docs/conf.py +8 -1
  22. across_client-1.1.1/docs/index.rst +143 -0
  23. {across_client-0.1.dev50/examples → across_client-1.1.1/docs/notebooks}/001_accessing_SSA_model_data.ipynb +81 -75
  24. across_client-1.1.1/docs/notebooks/002_calculating_instrument_visibility_windows.ipynb +1413 -0
  25. across_client-1.1.1/docs/notebooks/README.md +30 -0
  26. across_client-1.1.1/docs/notebooks.rst +12 -0
  27. across_client-1.1.1/docs/pre_executed/getting_started.ipynb +400 -0
  28. {across_client-0.1.dev50 → across_client-1.1.1}/docs/requirements.txt +1 -1
  29. across_client-1.1.1/docs/schedules.rst +549 -0
  30. across_client-1.1.1/docs/ssa.rst +459 -0
  31. across_client-1.1.1/docs/visibility.rst +381 -0
  32. {across_client-0.1.dev50 → across_client-1.1.1}/pyproject.toml +34 -25
  33. across_client-1.1.1/release-please-config.json +9 -0
  34. across_client-1.1.1/tests/apis/filter/__init__.py +0 -0
  35. across_client-1.1.1/tests/apis/instrument/__init__.py +0 -0
  36. across_client-1.1.1/tests/apis/observation/__init__.py +0 -0
  37. across_client-1.1.1/tests/apis/observatory/__init__.py +0 -0
  38. across_client-1.1.1/tests/apis/schedule/__init__.py +0 -0
  39. across_client-1.1.1/tests/apis/telescope/__init__.py +0 -0
  40. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/tools/conftest.py +41 -2
  41. across_client-1.1.1/tests/apis/tools/test_tools.py +205 -0
  42. across_client-1.1.1/uv.lock +3817 -0
  43. across_client-0.1.dev50/.github/workflows/pre-commit-ci.yml +0 -36
  44. across_client-0.1.dev50/.github/workflows/smoke-test.yml +0 -45
  45. across_client-0.1.dev50/.github/workflows/testing-and-coverage.yml +0 -55
  46. across_client-0.1.dev50/.pre-commit-config.yaml +0 -105
  47. across_client-0.1.dev50/across/client/_version.py +0 -34
  48. across_client-0.1.dev50/across_client.egg-info/requires.txt +0 -15
  49. across_client-0.1.dev50/docs/index.rst +0 -51
  50. across_client-0.1.dev50/docs/notebooks/README.md +0 -25
  51. across_client-0.1.dev50/docs/notebooks/intro_notebook.ipynb +0 -84
  52. across_client-0.1.dev50/docs/notebooks.rst +0 -6
  53. across_client-0.1.dev50/examples/002_calculating_instrument_visibility_windows.ipynb +0 -636
  54. across_client-0.1.dev50/tests/apis/tools/test_tools.py +0 -102
  55. {across_client-0.1.dev50 → across_client-1.1.1}/.copier-answers.yml +0 -0
  56. {across_client-0.1.dev50 → across_client-1.1.1}/.git_archival.txt +0 -0
  57. {across_client-0.1.dev50 → across_client-1.1.1}/.gitattributes +0 -0
  58. {across_client-0.1.dev50 → across_client-1.1.1}/.github/ISSUE_TEMPLATE/bug.yaml +0 -0
  59. {across_client-0.1.dev50 → across_client-1.1.1}/.github/ISSUE_TEMPLATE/spike.yaml +0 -0
  60. {across_client-0.1.dev50 → across_client-1.1.1}/.github/ISSUE_TEMPLATE/ticket.yaml +0 -0
  61. {across_client-0.1.dev50 → across_client-1.1.1}/.github/dependabot.yml +0 -0
  62. {across_client-0.1.dev50 → across_client-1.1.1}/.github/pull_request_template.md +0 -0
  63. {across_client-0.1.dev50 → across_client-1.1.1}/.github/workflows/README.md +0 -0
  64. {across_client-0.1.dev50 → across_client-1.1.1}/.github/workflows/build-documentation.yml +0 -0
  65. {across_client-0.1.dev50 → across_client-1.1.1}/.gitignore +0 -0
  66. {across_client-0.1.dev50 → across_client-1.1.1}/.readthedocs.yml +0 -0
  67. {across_client-0.1.dev50 → across_client-1.1.1}/.setup_dev.sh +0 -0
  68. {across_client-0.1.dev50 → across_client-1.1.1}/CONTRIBUTING.md +0 -0
  69. {across_client-0.1.dev50 → across_client-1.1.1}/LICENSE +0 -0
  70. {across_client-0.1.dev50 → across_client-1.1.1}/across/__init__.py +0 -0
  71. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/__init__.py +0 -0
  72. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/__init__.py +0 -0
  73. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/filter.py +0 -0
  74. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/instrument.py +0 -0
  75. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/observation.py +0 -0
  76. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/observatory.py +0 -0
  77. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/apis/schedule.py +0 -0
  78. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/client.py +0 -0
  79. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/core/__init__.py +0 -0
  80. {across_client-0.1.dev50 → across_client-1.1.1}/across/client/py.typed +0 -0
  81. {across_client-0.1.dev50 → across_client-1.1.1}/across_client.egg-info/dependency_links.txt +0 -0
  82. {across_client-0.1.dev50 → across_client-1.1.1}/across_client.egg-info/top_level.txt +0 -0
  83. {across_client-0.1.dev50 → across_client-1.1.1}/docs/Makefile +0 -0
  84. {across_client-0.1.dev50 → across_client-1.1.1}/docs/pre_executed/README.md +0 -0
  85. {across_client-0.1.dev50 → across_client-1.1.1}/setup.cfg +0 -0
  86. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/filter/conftest.py +0 -0
  87. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/filter/test_filter.py +0 -0
  88. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/instrument/conftest.py +0 -0
  89. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/instrument/test_instrument.py +0 -0
  90. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/observation/conftest.py +0 -0
  91. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/observation/test_observation.py +0 -0
  92. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/observatory/conftest.py +0 -0
  93. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/observatory/test_observatory.py +0 -0
  94. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/schedule/conftest.py +0 -0
  95. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/schedule/test_schedule.py +0 -0
  96. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/telescope/conftest.py +0 -0
  97. {across_client-0.1.dev50 → across_client-1.1.1}/tests/apis/telescope/test_telescope.py +0 -0
  98. {across_client-0.1.dev50 → across_client-1.1.1}/tests/client/test_client.py +0 -0
@@ -0,0 +1,35 @@
1
+ # This workflow runs pre-commit hooks on pushes and pull requests to main
2
+ # to enforce coding style. To ensure correct configuration, please refer to:
3
+ # https://lincc-ppt.readthedocs.io/en/latest/practices/ci_precommit.html
4
+ name: Run pre-commit hooks
5
+
6
+ on:
7
+ push:
8
+ branches: [main]
9
+ pull_request:
10
+ branches: [main]
11
+
12
+ jobs:
13
+ pre-commit-ci:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v6
17
+ with:
18
+ fetch-depth: 0
19
+
20
+ - uses: astral-sh/setup-uv@v8.1.0
21
+
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v6
24
+ with:
25
+ python-version: "3.10"
26
+ - name: Install dependencies
27
+ run: |
28
+ make install
29
+ - name: Run pre-commit hooks
30
+ run: |
31
+ make run_hooks
32
+ env:
33
+ SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
34
+ - uses: pre-commit-ci/lite-action@v1.1.0
35
+ if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false
@@ -1,4 +1,3 @@
1
-
2
1
  # This workflow will upload a Python Package using Twine when a release is created
3
2
  # For more information see: https://github.com/pypa/gh-action-pypi-publish#trusted-publishing
4
3
 
@@ -18,21 +17,19 @@ permissions:
18
17
 
19
18
  jobs:
20
19
  deploy:
21
-
22
20
  runs-on: ubuntu-latest
23
21
  permissions:
24
22
  id-token: write
25
23
  steps:
26
- - uses: actions/checkout@v6
27
- - name: Set up Python
28
- uses: astral-sh/setup-uv@v7
29
- with:
30
- activate-environment: true
31
- python-version: '3.11'
32
- - name: Install dependencies
33
- run: |
34
- uv pip install build
35
- - name: Build package
36
- run: python -m build
37
- - name: Publish package
38
- uses: pypa/gh-action-pypi-publish@release/v1
24
+ - uses: actions/checkout@v6
25
+ - uses: astral-sh/setup-uv@v8.1.0
26
+ with:
27
+ activate-environment: true
28
+ python-version: "3.10"
29
+ - name: Install dependencies
30
+ run: |
31
+ make install
32
+ - name: Build package
33
+ run: uv build
34
+ - name: Publish package
35
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,22 @@
1
+ # Run this workflow only on merged release-please PRs
2
+ name: Release PR Merged
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: write
11
+ issues: write
12
+ pull-requests: write
13
+
14
+ jobs:
15
+ release-please:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: googleapis/release-please-action@v4
19
+ with:
20
+ token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21
+ config-file: release-please-config.json
22
+ manifest-file: .release-please-manifest.json
@@ -0,0 +1,42 @@
1
+ # This workflow will run daily at 06:45.
2
+ # It will install Python dependencies and run tests with a variety of Python versions.
3
+ # See documentation for help debugging smoke test issues:
4
+ # https://lincc-ppt.readthedocs.io/en/latest/practices/ci_testing.html#version-culprit
5
+
6
+ name: Unit test smoke test
7
+
8
+ on:
9
+ # Runs this workflow automatically
10
+ schedule:
11
+ - cron: 45 6 * * *
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch:
15
+
16
+ jobs:
17
+ build:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
22
+
23
+ steps:
24
+ - uses: actions/checkout@v6
25
+
26
+ - name: Set up Python ${{ matrix.python-version }}
27
+ uses: astral-sh/setup-uv@v8.1.0
28
+ with:
29
+ activate-environment: true
30
+ python-version: ${{ matrix.python-version }}
31
+
32
+ - name: Install dependencies
33
+ run: |
34
+ make install
35
+
36
+ - name: List dependencies
37
+ run: |
38
+ uv pip list
39
+
40
+ - name: Run unit tests with pytest
41
+ run: |
42
+ make test_no_cov
@@ -0,0 +1,39 @@
1
+ # This workflow will install Python dependencies, run tests and report code coverage with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name: Unit test and code coverage
5
+
6
+ on:
7
+ push:
8
+ branches: [main]
9
+ pull_request:
10
+ branches: [main]
11
+
12
+ jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
18
+
19
+ steps:
20
+ - uses: actions/checkout@v6
21
+
22
+ - name: Set up Python ${{ matrix.python-version }}
23
+ uses: astral-sh/setup-uv@v8.1.0
24
+ with:
25
+ activate-environment: true
26
+ python-version: ${{ matrix.python-version }}
27
+
28
+ - name: Install dependencies
29
+ run: |
30
+ make install
31
+
32
+ - name: Run unit tests with pytest
33
+ run: |
34
+ make test
35
+
36
+ - name: Upload coverage report to codecov
37
+ uses: codecov/codecov-action@v5
38
+ with:
39
+ token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,113 @@
1
+ repos:
2
+ # Compare the local template version to the latest remote template version
3
+ # This hook should always pass. It will print a message if the local version
4
+ # is out of date.
5
+ - repo: https://github.com/lincc-frameworks/pre-commit-hooks
6
+ rev: v0.1.2
7
+ hooks:
8
+ - id: check-lincc-frameworks-template-version
9
+ name: Check template version
10
+ description: Compare current template version against latest
11
+ verbose: true
12
+
13
+ # Prevents committing directly branches named 'main' and 'master'.
14
+ - repo: https://github.com/pre-commit/pre-commit-hooks
15
+ rev: v5.0.0
16
+ hooks:
17
+ - id: no-commit-to-branch
18
+ name: Prevent main branch commits
19
+ description: Prevent the user from committing directly to the primary branch.
20
+ - id: check-added-large-files
21
+ name: Check for large files
22
+ description: Prevent the user from committing very large files.
23
+ args: ["--maxkb=600"]
24
+
25
+ # Verify that pyproject.toml is well formed
26
+ - repo: https://github.com/abravalheri/validate-pyproject
27
+ rev: v0.23
28
+ hooks:
29
+ - id: validate-pyproject
30
+ name: Validate pyproject.toml
31
+ description: Verify that pyproject.toml adheres to the established schema.
32
+
33
+ # Verify that GitHub workflows are well formed
34
+ - repo: https://github.com/python-jsonschema/check-jsonschema
35
+ rev: 0.29.4
36
+ hooks:
37
+ - id: check-github-workflows
38
+ args: ["--verbose"]
39
+
40
+ # Ruff Formatting
41
+ - repo: https://github.com/astral-sh/ruff-pre-commit
42
+ # Ruff version.
43
+ rev: v0.7.3
44
+ hooks:
45
+ - id: ruff
46
+ name: Lint code using ruff; sort and organize imports
47
+ types_or: [python, pyi]
48
+ args: [--extend-select, "I", --fixable, "I,F", --fix]
49
+ - repo: https://github.com/astral-sh/ruff-pre-commit
50
+ # Ruff version.
51
+ rev: v0.7.3
52
+ hooks:
53
+ - id: ruff-format
54
+ name: Format code using ruff
55
+ types_or: [python, pyi, jupyter]
56
+
57
+ # Analyze type hints and report errors.
58
+ - repo: local
59
+ hooks:
60
+ - id: mypy
61
+ name: types
62
+ entry: mypy
63
+ language: system
64
+ types: [python]
65
+ pass_filenames: false
66
+ require_serial: true
67
+ args: [
68
+ "--strict", # Use mypy strict mode to enforce type hints
69
+ "--show-traceback",
70
+ "across",
71
+ "tests",
72
+ ]
73
+
74
+ # Make sure Sphinx can build the documentation while explicitly omitting
75
+ # notebooks from the docs, so users don't have to wait through the execution
76
+ # of each notebook or each commit. By default, these will be checked in the
77
+ # GitHub workflows.
78
+ # - repo: local
79
+ # hooks:
80
+ # - id: sphinx-build
81
+ # name: Build documentation with Sphinx
82
+ # entry: sphinx-build
83
+ # language: system
84
+ # always_run: true
85
+ # exclude_types: [file, symlink]
86
+ # args: [
87
+ # "-M", # Run sphinx in make mode, so we can use -D flag later
88
+ # # Note: -M requires next 3 args to be builder, source, output
89
+ # "html", # Specify builder
90
+ # "./docs", # Source directory of documents
91
+ # "./_readthedocs", # Output directory for rendered documents
92
+ # "-T", # Show full trace back on exception
93
+ # "-E", # Don't use saved env; always read all files
94
+ # "-d", # Flag for cached environment and doctrees
95
+ # "./docs/_build/doctrees", # Directory
96
+ # "-D", # Flag to override settings in conf.py
97
+ # "exclude_patterns=notebooks/*", # Exclude our notebooks from pre-commit
98
+ # ]
99
+
100
+ # Run unit tests, verify that they pass. Note that coverage is run against
101
+ # the ./across directory here because that is what will be committed. In the
102
+ # github workflow script, the coverage is run against the installed package
103
+ # and uploaded to Codecov by calling pytest like so:
104
+ # `python -m pytest --cov=<package_name> --cov-report=xml`
105
+ - repo: local
106
+ hooks:
107
+ - id: pytest-check
108
+ name: Run unit tests
109
+ description: Run unit tests with pytest.
110
+ entry: bash -c "if python -m pytest --co -qq; then python -m pytest --cov=./across --cov-report=html; fi"
111
+ language: system
112
+ pass_filenames: false
113
+ always_run: true
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.1.1"
3
+ }
@@ -0,0 +1,70 @@
1
+ # Changelog
2
+
3
+ ## [1.1.1](https://github.com/NASA-ACROSS/across-client/compare/v1.1.0...v1.1.1) (2026-06-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * install uv in pypi publish ([#62](https://github.com/NASA-ACROSS/across-client/issues/62)) ([f444146](https://github.com/NASA-ACROSS/across-client/commit/f444146a0ff5082ee9e8cc24b09af3de094a9b77))
9
+
10
+ ## [1.1.0](https://github.com/NASA-ACROSS/across-client/compare/v1.0.0...v1.1.0) (2026-06-01)
11
+
12
+
13
+ ### Features
14
+
15
+ * add joint visibility calculator functionality ([#44](https://github.com/NASA-ACROSS/across-client/issues/44)) ([188eb30](https://github.com/NASA-ACROSS/across-client/commit/188eb3074bb8d4868e924ba513f04b702a994e77))
16
+ * add smoke test badge to readme ([#28](https://github.com/NASA-ACROSS/across-client/issues/28)) ([daaafc7](https://github.com/NASA-ACROSS/across-client/commit/daaafc77daa336e3895a6a5f3778b30740cd5479))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * removing inclusive language ([#49](https://github.com/NASA-ACROSS/across-client/issues/49)) ([2c75933](https://github.com/NASA-ACROSS/across-client/commit/2c7593388ad3f91a59a858439532368204d725c1))
22
+ * use uv ([#58](https://github.com/NASA-ACROSS/across-client/issues/58)) ([ec2a06c](https://github.com/NASA-ACROSS/across-client/commit/ec2a06c282f880e44a9489a0dd3ec07a79999b7b))
23
+
24
+ ## [1.0.0](https://github.com/NASA-ACROSS/across-client/compare/v1.0.0...v1.0.0) (2026-01-15)
25
+
26
+
27
+ ### Features
28
+
29
+ * **.github:** add across issue and pr templates ([07ba108](https://github.com/NASA-ACROSS/across-client/commit/07ba108e288d122348d928dbfcb3d339c42a0d42))
30
+ * **actions:** adding release please action and configuration ([#39](https://github.com/NASA-ACROSS/across-client/issues/39)) ([bcedfcb](https://github.com/NASA-ACROSS/across-client/commit/bcedfcb11590fd6ab6711573fc9df7890b9c666a))
31
+ * add example jupyter notebook for accessing SSA data ([a452121](https://github.com/NASA-ACROSS/across-client/commit/a452121fb32ef44cda3342b87628ce1164d04604))
32
+ * add example jupyter notebook for accessing SSA data ([b9e3ae9](https://github.com/NASA-ACROSS/across-client/commit/b9e3ae90d5380fde7969097fe4be5359120a50e3))
33
+ * add readthedocs documentation ([#41](https://github.com/NASA-ACROSS/across-client/issues/41)) ([6547c6c](https://github.com/NASA-ACROSS/across-client/commit/6547c6cd69baf554ca0e21513a22f93cb6669381))
34
+ * add visibility calculator example notebook ([c381b68](https://github.com/NASA-ACROSS/across-client/commit/c381b684b7fc561189d927de43db2224e4ae7e04))
35
+ * add visibility calculator sdk functionality to client ([17862c5](https://github.com/NASA-ACROSS/across-client/commit/17862c5c04af78785e71f535864c1ebbc1b4c24a))
36
+ * add visibility calculator sdk functionality to client ([4b72cf8](https://github.com/NASA-ACROSS/across-client/commit/4b72cf86a693c744c0da39cb3ff7be84a6ecc1bc))
37
+ * adding client to across namespace ([da8c9d7](https://github.com/NASA-ACROSS/across-client/commit/da8c9d7f214eca1c409a7150432ccf08ac0d7d89))
38
+ * adding other sdk SSA endpoints ([419fec0](https://github.com/NASA-ACROSS/across-client/commit/419fec09b930477b9e79d20f8249dd56479a6098))
39
+ * adding other sdk SSA endpoints ([9003819](https://github.com/NASA-ACROSS/across-client/commit/9003819f6838ec7b7204a699971c1cbfc7cbdc5e))
40
+ * adding pagination params to observation.get_many ([bca535c](https://github.com/NASA-ACROSS/across-client/commit/bca535cc804e856861a26c0e3f21c7dfa76ae792))
41
+ * **client:** Adding the client wrapper for the sdk ([440a41a](https://github.com/NASA-ACROSS/across-client/commit/440a41a6eaa071aa9a76d3454f01147092aec839))
42
+ * default host to be server url ([#43](https://github.com/NASA-ACROSS/across-client/issues/43)) ([b201fda](https://github.com/NASA-ACROSS/across-client/commit/b201fdaadc0cd02f093bb4885b0958da63b1f6a4))
43
+ * **legal:** add NASA copyright notices ([7a40e93](https://github.com/NASA-ACROSS/across-client/commit/7a40e93dc60d185cfbaa41599ffc6b8620d4b4f2))
44
+ * **legal:** add NASA copyright notices ([b343f1d](https://github.com/NASA-ACROSS/across-client/commit/b343f1d03b6980ba13e1f91ce530eef780e026a6))
45
+ * new issue and pr templates ([107f686](https://github.com/NASA-ACROSS/across-client/commit/107f686a57fc7a658e579136fd762a2a1d3c84c7))
46
+ * **README:** installation instructions with pypi ([#37](https://github.com/NASA-ACROSS/across-client/issues/37)) ([dbcff39](https://github.com/NASA-ACROSS/across-client/commit/dbcff398d38ae8b8bd732c374a9de7167e20936a))
47
+ * update readme ([ffacff2](https://github.com/NASA-ACROSS/across-client/commit/ffacff265fa713aeaefa3746d8b00518418bc0b5))
48
+ * updating the README, adding contributing and code of conduct ([331bd3f](https://github.com/NASA-ACROSS/across-client/commit/331bd3f09c10ec160cda67bf159bce746211a208))
49
+ * updating the README, adding contributing and code of conduct ([c7bf0fa](https://github.com/NASA-ACROSS/across-client/commit/c7bf0fafb7d4708c4e176310b53c28e59d30c365))
50
+ * updating the README, adding contributing and code of conduct ([7bf4c3c](https://github.com/NASA-ACROSS/across-client/commit/7bf4c3c33a8ac36ee15e6fa9c701418c10aeb038))
51
+ * updating the README, adding contributing and code of conduct ([3cfb0fb](https://github.com/NASA-ACROSS/across-client/commit/3cfb0fbfa5dcfcf6c13410ce63986ecc696fe038))
52
+ * updating the README, adding contributing and code of conduct ([95602dc](https://github.com/NASA-ACROSS/across-client/commit/95602dc185db2f0db659bb5d50b404a67f2a971d))
53
+
54
+
55
+ ### Bug Fixes
56
+
57
+ * add maintainers ([605023d](https://github.com/NASA-ACROSS/across-client/commit/605023de09517a667b380d3a2e253bd9e54beec0))
58
+ * change types of ids in apis and tests ([59a78e9](https://github.com/NASA-ACROSS/across-client/commit/59a78e941bda6532b4cae3dea2a140f0a8b45788))
59
+ * change types of ids in apis and tests ([4e2748f](https://github.com/NASA-ACROSS/across-client/commit/4e2748f14930729a9502d09c54e35525af626e91))
60
+ * missed two ([0be33b7](https://github.com/NASA-ACROSS/across-client/commit/0be33b7a6272cb08f71a0eebf59fe5331b22fd63))
61
+ * **org-name:** update organization name ([c065d13](https://github.com/NASA-ACROSS/across-client/commit/c065d13a3c8125d811f75cceb6e792f1d688985b))
62
+ * **org-name:** update organization name ([fc13f9b](https://github.com/NASA-ACROSS/across-client/commit/fc13f9bcd5902f45ed65161459610915b6de01f0))
63
+ * pyproject.toml ([9f8a1b9](https://github.com/NASA-ACROSS/across-client/commit/9f8a1b92729ef65c5f591c0b0a8a1d2e4786903f))
64
+ * removing ssh from gha ([#35](https://github.com/NASA-ACROSS/across-client/issues/35)) ([392370e](https://github.com/NASA-ACROSS/across-client/commit/392370ef1e9b29189bb0ab1fdac1de9148e90557))
65
+ * try removing init to fix gh actions ([d2dc1d3](https://github.com/NASA-ACROSS/across-client/commit/d2dc1d3ac76bb08e25bbdac9043b7ea424d76cbc))
66
+
67
+
68
+ ### Miscellaneous Chores
69
+
70
+ * release 1.0.0 ([b1c1e69](https://github.com/NASA-ACROSS/across-client/commit/b1c1e6943a41f708834017b4351bbbbe22f5ffe4))
@@ -1,35 +1,43 @@
1
1
  # Contributor Covenant Code of Conduct
2
2
 
3
3
  ## Our Pledge
4
- In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
4
+
5
+ In the interest of fostering an open and welcoming environment, contributors and maintainers pledge to make participation in the ACROSS project and the community a harassment-free experience for everyone, treating all with equal dignity and respect
5
6
 
6
7
  ## Our Standards
8
+
7
9
  Examples of behavior that contributes to creating a positive environment include:
8
- * Using welcoming and inclusive language
9
- * Being respectful of differing viewpoints and experiences
10
- * Gracefully accepting constructive criticism
11
- * Focusing on what is best for the community
12
- * Showing empathy towards other community members
10
+
11
+ - Using welcoming and professional language
12
+ - Being respectful of differing viewpoints and experiences
13
+ - Gracefully accepting constructive criticism
14
+ - Focusing on what is best for the community
15
+ - Showing empathy towards other community members
13
16
 
14
17
  Examples of unacceptable behavior by participants include:
15
- * The use of sexualized language or imagery and unwelcome sexual attention or advances
16
- * Trolling, insulting/derogatory comments, and personal or political attacks
17
- * Public or private harassment
18
- * Publishing others’ private information, such as a physical or electronic address, without explicit permission
19
- * Other conduct which could reasonably be considered inappropriate in a professional setting
18
+
19
+ - The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ - Trolling, insulting/derogatory comments, and personal or political attacks
21
+ - Public or private harassment
22
+ - Publishing others’ private information, such as a physical or electronic address, without explicit permission
23
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
20
24
 
21
25
  ## Our Responsibilities
26
+
22
27
  Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
23
28
 
24
29
  Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
25
30
 
26
31
  ## Scope
32
+
27
33
  This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
28
34
 
29
35
  ## Enforcement
30
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by ACROSS Team. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to NASA ACROSS. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
31
38
 
32
39
  Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
33
40
 
34
41
  ## Attribution
35
- This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
42
+
43
+ This Code of Conduct is a revisioned version from the Contributor Covenant, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
@@ -0,0 +1,131 @@
1
+ # local
2
+ ENV ?= local
3
+ is_local := $(filter local,$(ENV))
4
+
5
+ # define directories
6
+ VENV_DIR = .venv
7
+ VENV_BIN = $(VENV_DIR)/bin
8
+ UV_INSTALL_SCRIPT = https://astral.sh/uv/install.sh
9
+
10
+ # Detect installed tools
11
+ IS_UV_INSTALLED := $(shell command -v uv || echo "")
12
+ IS_PIP_COMPILE_INSTALLED := $(shell command -v $(VENV_BIN)/pip-compile || echo "")
13
+
14
+
15
+ # The `ask` macro displays a prompt to the user, processes their input,
16
+ # and conditionally executes a command based on the response.
17
+ #
18
+ # Args:
19
+ # 1: The message to display to the user (e.g., a question).
20
+ # 2: The command to execute if the user responds with 'y' or 'Y'.
21
+ # 3: The message to display and exit if the user responds with 'n' or 'N'.
22
+ #
23
+ # Example usage:
24
+ # $(call ask, "Installing dependency",echo "Installing dep..." && install,"Installation aborted.")
25
+ #
26
+ # Example output:
27
+ # > Installing dependency, are you sure? (y/n)
28
+ # > y
29
+ # > Installing dep...
30
+ #
31
+ # > Installing dependency, are you sure? (y/n)
32
+ # > n
33
+ # > Installation aborted
34
+ define ask
35
+ echo "$(1) Are you sure? (y/n)"; \
36
+ read choice; \
37
+ if [ "$$choice" = "y" ] || [ "$$choice" = "Y" ]; then \
38
+ $(2); \
39
+ else \
40
+ echo "$(3)"; \
41
+ exit 0; \
42
+ fi
43
+ endef
44
+
45
+ # Tasks
46
+ .PHONY: list_targets help init install_uv install install_hooks lock venv_dir venv install_deps test lint types clean
47
+
48
+ list_targets: ### Internal command used for getting a list of commands for .PHONY
49
+ @awk '/^[a-zA-Z_\-]+:/ {sub(/:/, ""); printf "%s ", $$1} END {print ""}' $(MAKEFILE_LIST)
50
+
51
+ help:
52
+ @echo "Usage:\n make \033[36m<target>\033[0m"
53
+ @awk ' \
54
+ BEGIN { \
55
+ group = ""; \
56
+ } \
57
+ /^[#] Group:/ { \
58
+ group = substr($$0, index($$0,$$3)); \
59
+ print "\n" group " Commands:"; \
60
+ } \
61
+ /^[a-zA-Z_-]+:.*## / && !/###/ { \
62
+ target = $$1; \
63
+ description = substr($$0, index($$0, "##") + 3); \
64
+ gsub(":", "", target); \
65
+ printf " \033[36m%-15s\033[0m %s\n", target, description \
66
+ } \
67
+ ' $(MAKEFILE_LIST)
68
+
69
+
70
+ # Group: Setup
71
+ init: install ## Initialize the project, and dependencies
72
+
73
+ install_uv: ## Install 'uv' if needed (this will install it globally)
74
+ @echo "Installing 'uv'...";
75
+ @curl -LsSf $(UV_INSTALL_SCRIPT) | sh;
76
+
77
+ install: venv ## Install dependencies from the lockfile for the specified ENV
78
+ @if [ -z $(IS_UV_INSTALLED) ]; then \
79
+ $(call ask,\
80
+ "'uv' is not installed. Proceeding will install to the global system.",\
81
+ $(MAKE) install_deps,\
82
+ "Cannot proceed without 'uv'. Exiting."\
83
+ ); \
84
+ else \
85
+ $(MAKE) install_deps; \
86
+ fi;
87
+ @$(MAKE) install_hooks
88
+
89
+ install_hooks: ## Install 'pre-commit' git hooks, only for local.
90
+ @echo "Installing pre-commit git hooks...";
91
+ @$(VENV_BIN)/pre-commit install;
92
+
93
+ lock: venv ## Create or update the lockfile
94
+ @echo "Updating lockfile...";
95
+ uv lock
96
+
97
+ venv_dir: ### Create the venv dir if it DNE
98
+ @mkdir -p $(VENV_DIR)
99
+
100
+ venv: venv_dir ### Create venv within specified env
101
+ @if [ ! -d $(VENV_BIN) ]; then \
102
+ echo "Creating virtual environment."; \
103
+ uv venv $(VENV_DIR) --python '>=3.12,<3.13'; \
104
+ fi;
105
+
106
+ install_deps: ### Install dependencies
107
+ @uv sync --locked;
108
+ @echo "Installed dependencies";
109
+
110
+
111
+ # Group: Testing
112
+ run_hooks: ## Run all pre-commit hooks against all files
113
+ @uv run pre-commit run --all-files --verbose;
114
+
115
+ test: ## Run automated tests
116
+ @$(VENV_BIN)/pytest --cov=across/tools tests/** --cov-report=html;
117
+
118
+ test_no_cov: ## Run automated tests without coverage
119
+ @$(VENV_BIN)/pytest tests/**;
120
+
121
+ lint: ## Run linting
122
+ @$(VENV_BIN)/pre-commit run --all-files;
123
+
124
+ types: ## Run type checks
125
+ @$(VENV_BIN)/mypy across tests;
126
+
127
+
128
+ # Group: Cleaning
129
+ clean: ## Clean virtual env
130
+ @rm -rf $(VENV_DIR)
131
+ @echo "Cleaned up environment."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: across-client
3
- Version: 0.1.dev50
3
+ Version: 1.1.1
4
4
  Author-email: "Samuel D. Wyatt" <samuel.d.wyatt@nasa.gov>, "Jamie A. Kennea" <jak51@psu.edu>, Craig Pellegrino <craig.m.pellegrino@nasa.gov>
5
5
  Maintainer-email: "Samuel D. Wyatt" <samuel.d.wyatt@nasa.gov>, "Jamie A. Kennea" <jak51@psu.edu>, Craig Pellegrino <craig.m.pellegrino@nasa.gov>
6
6
  License: Apache License
@@ -214,23 +214,11 @@ Requires-Python: >=3.10
214
214
  Description-Content-Type: text/markdown
215
215
  License-File: LICENSE
216
216
  Requires-Dist: across-tools
217
- Requires-Dist: across-server-openapi-python
218
- Provides-Extra: dev
219
- Requires-Dist: jupyter; extra == "dev"
220
- Requires-Dist: mypy; extra == "dev"
221
- Requires-Dist: pre-commit; extra == "dev"
222
- Requires-Dist: pytest; extra == "dev"
223
- Requires-Dist: pytest-cov; extra == "dev"
224
- Requires-Dist: ruff; extra == "dev"
225
- Requires-Dist: sphinx-autoapi; extra == "dev"
226
- Requires-Dist: nbsphinx; extra == "dev"
227
- Requires-Dist: sphinx-copybutton; extra == "dev"
228
- Requires-Dist: sphinx-rtd-theme; extra == "dev"
229
- Requires-Dist: types-shapely; extra == "dev"
217
+ Requires-Dist: across-server-openapi-python>=1.3.0
230
218
  Dynamic: license-file
231
219
 
232
220
  # across-client
233
-
221
+ [![Unit test and smoke test](https://github.com/ACROSS-Team/across-client/actions/workflows/smoke-test.yml/badge.svg)](https://github.com/ACROSS-Team/across-client/actions/workflows/smoke-test.yml)
234
222
  <!-- [![Template](https://img.shields.io/badge/Template-LINCC%20Frameworks%20Python%20Project%20Template-brightgreen)](https://lincc-ppt.readthedocs.io/en/latest/)
235
223
 
236
224
  [![PyPI](https://img.shields.io/pypi/v/across-client?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/across-client/)
@@ -255,7 +243,11 @@ cd across-client
255
243
  python -m pip install .
256
244
  ```
257
245
 
258
- _Direct `pypi` installation coming soon!_
246
+ or the latest released version with `pip`
247
+
248
+ ```sh
249
+ python -m pip install across-client
250
+ ```
259
251
 
260
252
  ## Usage
261
253
 
@@ -283,7 +275,7 @@ nircam_observations = client.observation.get_many(
283
275
 
284
276
  ## Contributing
285
277
 
286
- Found a bug? Want to make a feature request? Or create a pull request? Navigate to our [Contributing](CONTRIBUTING.md) document for more instructions!
278
+ Found a bug? Want to make a feature request? Or create a pull request? Navigate to our [Contributing](https://github.com/NASA-ACROSS/across-client/blob/main/CONTRIBUTING.md) document for more instructions!
287
279
 
288
280
  ## Other Links
289
281
 
@@ -1,5 +1,5 @@
1
1
  # across-client
2
-
2
+ [![Unit test and smoke test](https://github.com/ACROSS-Team/across-client/actions/workflows/smoke-test.yml/badge.svg)](https://github.com/ACROSS-Team/across-client/actions/workflows/smoke-test.yml)
3
3
  <!-- [![Template](https://img.shields.io/badge/Template-LINCC%20Frameworks%20Python%20Project%20Template-brightgreen)](https://lincc-ppt.readthedocs.io/en/latest/)
4
4
 
5
5
  [![PyPI](https://img.shields.io/pypi/v/across-client?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/across-client/)
@@ -24,7 +24,11 @@ cd across-client
24
24
  python -m pip install .
25
25
  ```
26
26
 
27
- _Direct `pypi` installation coming soon!_
27
+ or the latest released version with `pip`
28
+
29
+ ```sh
30
+ python -m pip install across-client
31
+ ```
28
32
 
29
33
  ## Usage
30
34
 
@@ -52,7 +56,7 @@ nircam_observations = client.observation.get_many(
52
56
 
53
57
  ## Contributing
54
58
 
55
- Found a bug? Want to make a feature request? Or create a pull request? Navigate to our [Contributing](CONTRIBUTING.md) document for more instructions!
59
+ Found a bug? Want to make a feature request? Or create a pull request? Navigate to our [Contributing](https://github.com/NASA-ACROSS/across-client/blob/main/CONTRIBUTING.md) document for more instructions!
56
60
 
57
61
  ## Other Links
58
62