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

Uploaded Source

File details

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

File metadata

  • Download URL: pylaunches-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3baeb84b3a9bb59940575bb63e545b94c07277d2fe0ec04dceea475bc6817689
MD5 5236da34feea1c10032cddacbbf79593
BLAKE2b-256 873727b4f719cc4cbf850379278ed3f40ffab4d3806cfccaa0702372a70a2c61

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