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
import aiohttp
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.2.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pylaunches-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cf8caa472170fc475cac256671a3ebc17e501874272ea8d63489f93c9104beed
MD5 ceb4898191c26d0e9059ee83ead33a18
BLAKE2b-256 e097d6c0c5f333667b728a4b77e0c1bbe8468b16c668991cbd1c1840b4b3bda8

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