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.0.0.tar.gz (4.1 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.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylaunches-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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

Hashes for pylaunches-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f6c1b91541f4ac0052ea70e4e99f3840b728bd832d5bcf757aa2f58f129933b4
MD5 479d127c56cfd0bcd1805b04d6a39f3b
BLAKE2b-256 44155de5fb235374e6f0d1e6f5a16af32b0f5fc0f856fdb6a90229ce9f1b0244

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylaunches-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for pylaunches-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95f677f7f7552b76d5b57fbb1e47fe906328f0859508f170d68722d516db9d9f
MD5 92fcef89a164039fc3ce95ab683be5b5
BLAKE2b-256 c1f24566e384ac0d5a3726a2975c46e5ac071ab1e5de0be96d71f1d1d6d616be

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