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-0.0.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylaunches-0.0.0.tar.gz.
File metadata
- Download URL: pylaunches-0.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4699c54b40edbb36cc93026c97d170437eb48a881145fa4ab29f09413d0aa3f8
|
|
| MD5 |
d29f669a1bed46e2849b81a653c56b66
|
|
| BLAKE2b-256 |
3227812fbe1e41ba0edf2f10595180fa1e010e106884ef8c3959835280a26637
|
File details
Details for the file pylaunches-0.0.0-py3-none-any.whl.
File metadata
- Download URL: pylaunches-0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a523747bfea2b37661a2382f993f7717cd090a6432d9d74c55c4e14850222410
|
|
| MD5 |
c9dee222a2c41fb0c3968e48053b000a
|
|
| BLAKE2b-256 |
7cafaa4fc9f3e436730525d521748f9d1f7f82523d9acdac662a1725bac028fc
|