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.3.0.tar.gz (5.7 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.3.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylaunches-1.3.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for pylaunches-1.3.0.tar.gz
Algorithm Hash digest
SHA256 74f0e65f7dc307c99ff2043c8f9aa5339850e5d50a8b7f8917b58f2779826179
MD5 ac6d40a70b680a0fd53698650d11b850
BLAKE2b-256 39faa16fa3e0e285987c7312f3a9bad4607bae4045f546c0f31d32c100f58795

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylaunches-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for pylaunches-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152a73a9f8119170b4854bb2b8442cf4114e93087d96ef095ecf625ef90ebc94
MD5 35e0c0a8f0ab9238c62802419355b664
BLAKE2b-256 d437bd3dbae025948aaa5d65f6324a35405b4af7f450f40b550430c3f6774eb7

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