Skip to main content

No project description provided

Project description

pylaunches Build Status PyPI version

A python packages to get information form upcoming space launches.

Install

pip install pylaunches

Example usage

"""Example usage of pylaunches."""
import asyncio
from pylaunches.api import Launches

async def test_pylaunches():
    """Example usage of pylaunches."""
    custom_session = aiohttp.ClientSession()
    data = Launches(LOOP, custom_session)
    await data.get_launches()

    print("Launches:", data.launches)

LOOP = asyncio.get_event_loop()
LOOP.run_until_complete(test_pylaunches())

This package is using the launchlibrary.net 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-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pylaunches-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for pylaunches-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5b2235306cc7fa7573f8b8f03fe25271de86528b26c276e4ba6e3409a0af04fb
MD5 1f4c2027cb13f5fbe9bafbe6c689eec6
BLAKE2b-256 4458c802533bc4d22461313afb0bdfea83880b68e5fa11e48fa05e491ae0ac77

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