Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylaunches-1.2.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pylaunches-1.2.0.tar.gz.

File metadata

  • Download URL: pylaunches-1.2.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

Hashes for pylaunches-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3f6225dc60f9db4369cd54065147aab7260545ce65d348410129425d52574689
MD5 eecfeeca08577127ed09d44e963d9235
BLAKE2b-256 7da069a19e8e00a0ffdcf7911bdafcf444936963223210c260e39d020eb5e9c9

See more details on using hashes here.

File details

Details for the file pylaunches-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pylaunches-1.2.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

Hashes for pylaunches-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02a793cce810e54a3656897027df260dbdac8c89b66159b91d4ef492f0375b3c
MD5 d3fb9bc3f66f129aa408360f8685f613
BLAKE2b-256 6adb5ac6470384252675a1fdc499f7515eaa9c9ec597c08a6482c50e07d3c28a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page