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.1.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.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylaunches-1.2.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pylaunches-1.2.1.tar.gz
Algorithm Hash digest
SHA256 78fef251416fc771a6bdc7ef1b099ea3e4c003625ab65981cbe1ac0dcd0bd3a6
MD5 787bfa7d621f5d2ad7af918e1ca9a254
BLAKE2b-256 84defe82e5d1e302307635a5ab93eeb9c39053d34028f14f2eb407448b5999cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylaunches-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pylaunches-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 feeb0f82065d8698b0782399dc30dfd1cc1e6c7ec1b950003726f03006d12980
MD5 8d7c80a46814b01caa67901fd6c0eacd
BLAKE2b-256 4e3256a57af5cba8be6e73e97ffa1e9bc8ec048ea9035342042aa6770ae2056b

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