JWSTapipy
Simple python library for access to data from jwstapi.com
Description
JWSTapipy is a simple python library to work with data provided by the site https://jwstapi.com/ The site provides James Webb Space Telescope data. Data is sourced from MAST, processed and exposed through API.
Get JWSTapipy
pip install jwstapipy
Examples
Get list of programs
import asyncio
import jwstapipy
async def main(api_key):
jwst = JwstAPI(api_key)
programs = await jwst.get_programs_list()
print(programs)
if __name__ == "__main__":
asyncio.run(main('api_key'))
Get part of program data by ID
import asyncio
import jwstapipy
async def main(api_key):
jwst = JwstAPI(api_key)
program_data = await jwst.get_program_data(program_id=2731, first_page=1, last_page=2)
print(program_data)
if __name__ == "__main__":
asyncio.run(main('api_key'))
Metadata
Release files for jwstapipy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jwstapipy-0.0.1.tar.gz | 4.0 kB | Without provenance | Details for jwstapipy-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jwstapipy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for jwstapipy-0.0.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / jwstapipy-0.0.1.tar.gz
| Download URL | jwstapipy-0.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
422be38b03c7c1607852caa5cbb12e619e6377328e5f96a56fc6aa5ea6196b7a
|
|
BLAKE2b-256 checksum How to use checksums |
32ca65cd8fcfa6551acac6b0e51e7ee381de04f3161e46e2d4a86df778464b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Release files / jwstapipy-0.0.1-py3-none-any.whl
| Download URL | jwstapipy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cf393e02c183ca3e7cc5e96bdcc29f1ff3a5b6a8928f6d4d2eb383b25ade9ed
|
|
BLAKE2b-256 checksum How to use checksums |
3a7a0c7df1d8e3222b6d1d464c982f0705945a43d7210f8d0d31a6999766cf40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Security for jwstapipy 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.