A wrapper for the launchlibrary.net API
A simple python wrapper for the Launch Library web API.
Warning: The wrapper is not yet intended for general use.
For now, usage is constricted to the "Launch" and "Agency" endpoints. Other models and richer support for existing ones will be added soon.
The usage of the API is simple.
# Import the launchlibrary lib import launchlibrary # Create an instance of the API api = launchlibrary.Api() # You can also specify api url, api version... # And request the next 5 launches, for example. launches = launchlibrary.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.param_names
- [ ] Tidy up the repository
- [ ] Add exceptions to handle server timeout
- [x] Handle nested models (i.e. a Pad model inside a Location model inside a Launch model)
- [x] Handle times with the datetime class
- [x] Package properly and upload to PyPI
- [ ] Asynchronous operation
- [ ] Your suggestion here
Feel free to open issues and pull requests! I usually check Github daily.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size python_launch_library-0.1.4-py3-none-any.whl (7.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size python-launch-library-0.1.4.tar.gz (5.1 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for python_launch_library-0.1.4-py3-none-any.whl
Hashes for python-launch-library-0.1.4.tar.gz