Skip to main content

python-launch-library

A simple python wrapper for the Launch Library web API. Can also be used asynchronously too.

PyPI Version Documentation Status

Available models: Agency, AgencyType, Launch, Launch Status, Pad, Location, Rocket, RocketFamily

The usage of the API is simple.

Usage

Proper documentation is available in Read The Docs.

To install, simply use pip: pip install python-launch-library

# Import the launchlibrary lib
import launchlibrary as ll

# Create an instance of the API
api = ll.Api()  # You can also specify api url, api version...

# And request the next 5 launches, for example.
launches = ll.Launch.fetch(api, next=5) # Any argument after "api" is not constrained (w/ kwargs).
# ^ Returns a list of launch objects.

# You can fetch the pythonic property names by using launch.param_names
properties = launches[0].param_names

Todo

  • Tidy up the repository
  • Add exceptions to handle server timeout
  • Handle nested models (i.e. a Pad model inside a Location model inside a Launch model)
  • Handle times with the datetime class
  • Package properly and upload to PyPI
  • Add more abstraction methods for the api calls (open to suggestions)
  • Add magic method comparisons (open to suggestions)
  • Asynchronous operation
  • Add tests
  • Your suggestion here

Feel free to open issues and pull requests! I usually check Github daily.

Release files for python-launch-library 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-launch-library 0.5.5
File Size Uploaded
python-launch-library-0.5.5.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-launch-library 0.5.5
File Interpreter ABI Platform
python_launch_library-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / python-launch-library-0.5.5.tar.gz

Download URL python-launch-library-0.5.5.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a24ea424477f43620a850826d5944fc594abdae1f2399f0b007aec197ce37ef3
BLAKE2b-256 checksum
How to use checksums
47e8f3797705c1fe092a87f0cb1136da1d20797b2622d2af154743d15e86aee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

Release files / python_launch_library-0.5.5-py3-none-any.whl

Download URL python_launch_library-0.5.5-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65eb4f4b91548f7b45704b6ff05448d7f7ea5be2a6ba71fd35c8f9eed2302c1b
BLAKE2b-256 checksum
How to use checksums
ca285266f7f6243773e89f7f7308b2965cf78979b886c0ec0b08103747b57bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

Release history Release notifications | RSS feed

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1

1 release file

0.6

2 release files

0.5.7

2 release files

0.5.6

2 release files

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4.1

2 release files

0.4

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page