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.4.0.tar.gz (5.8 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.4.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylaunches-1.4.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pylaunches-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3362a080c574c8346baed05daa3b1f9f5a63d83eba25eab2c71db389664c2ae1
MD5 fd44ec31a447bf1d7089ea936bd30293
BLAKE2b-256 6941c783494c777820fc8f3cf6c7229b4d001eeb2ed70a328e9ef9842f3f85ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylaunches-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pylaunches-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 711842d3e28fdcb798e372e4b9323eec3766afb886c47f6d6a486aa7c04f0ee5
MD5 b0d21a6dd1289053758061cc866cc444
BLAKE2b-256 5037493910fb4b99167878080413f26220364a790ae4a464cb739aad024c88c8

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