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

Uploaded Source

File details

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

File metadata

  • Download URL: pylaunches-0.1.1.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.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.1.tar.gz
Algorithm Hash digest
SHA256 6c446ad4c8d0d2c07bb44d676ea9a519aa05eb954aaca3279b4290e4e6b092ec
MD5 941aa628745457063f3a29998a8917b4
BLAKE2b-256 87e08fc797f06eb31e4b3292ad9517e3347d0616453719c6710d5485aeb840c2

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