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.1.0.tar.gz
(4.3 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-1.1.0.tar.gz.
File metadata
- Download URL: pylaunches-1.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c09b46fead5d4dd09734c3e6692ee033aa36553c7349bef9846e06eb08292dde
|
|
| MD5 |
fa38a258f9b3ba1266aa3ef9c34938e7
|
|
| BLAKE2b-256 |
e2205cc3bc8569a8cd34df5689c0006484cff0831962fcf60557d0fdb0d80631
|
File details
Details for the file pylaunches-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pylaunches-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed302bb4b9834a379f94bc87dff8e96465472781cb676cf2498d82f5a4c729e9
|
|
| MD5 |
3d2c887415fcc8e321fed5311825893c
|
|
| BLAKE2b-256 |
43a818b713fac16440251a6a026cca7a5937c80dc5e4e4d88c833bc61d5cbccb
|