SpaceX-PY
Python wrapper for the SpaceX API
Install
pip install spacex-py
Usage
This wrapper matches the SpaceX API so its pretty easy to use. Lets go through some examples;
from spacex_py import launches
# Returns a tuple
got_launches, header = launches.get_launches()
# PyLint being a pain about header? use:
got_launches, _ = launches.get_launches()
print(got_launches)
# Prints list: of launches
Okay well, lets get launches using a query;
from spacex_py import launches
got_launches, _ = launches.get_launches(site_id="ksc_lc_39a")
print(got_launches)
# Prints the launhces for the given site
Metadata
Release files for spacex-py 1.0.0
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 |
|---|---|---|---|---|
| spacex_py-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for spacex_py-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spacex_py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for spacex_py-1.0.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / spacex_py-1.0.0.tar.gz
| Download URL | spacex_py-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2afe7b9e7705c63ede1e28d0048ea97609c59ecdacffa8ac13c45a7429db2adb
|
|
BLAKE2b-256 checksum How to use checksums |
9c4682f7a781693e8a93565e055e3de73184706f003ea56cee14fbf6d0bce439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|
Release files / spacex_py-1.0.0-py3-none-any.whl
| Download URL | spacex_py-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c630aa6bd88789b5b6a10800dcc8296b1f3c748a13a97c15c9474d3f3be3be4
|
|
BLAKE2b-256 checksum How to use checksums |
5930b23444d2c67526ea76d63656fdf8e312de931ce2e814b2b980c2ff362386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|
Security for spacex-py 1.0.0
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.