No project description provided
Project description
PyLaunches
A python packages to get information form upcoming space launches.
Install
python3 -m pip install pylaunches
Example usage
"""Example usage of pylaunches."""
import asyncio
from pylaunches import PyLaunches, PyLaunchesException
async def example():
"""Example usage of pylaunches."""
async with PyLaunches() as api:
try:
launches = await api.upcoming_launches()
for launch in launches:
print(launch.name)
except PyLaunchesException:
print(":(")
asyncio.get_event_loop().run_until_complete(example())
This package is using the Launch Library 2 API to get the information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylaunches-1.2.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for pylaunches-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a793cce810e54a3656897027df260dbdac8c89b66159b91d4ef492f0375b3c |
|
MD5 | d3fb9bc3f66f129aa408360f8685f613 |
|
BLAKE2b-256 | 6adb5ac6470384252675a1fdc499f7515eaa9c9ec597c08a6482c50e07d3c28a |