pylaunches


Namepylaunches JSON
Version 1.4.0 PyPI version JSON
download
home_pagehttps://github.com/ludeeus/pylaunches
Summary
upload_time2023-04-16 20:02:34
maintainer
docs_urlNone
authorJoakim Sorensen
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyLaunches

_A python packages to get information form upcoming space launches._

## Install

```bash
python3 -m pip install pylaunches
```

### Example usage

```python
"""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][launchlibrary] to get the information.

[launchlibrary]: https://thespacedevs.com/llapi

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ludeeus/pylaunches",
    "name": "pylaunches",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Joakim Sorensen",
    "author_email": "hi@ludeeus.dev",
    "download_url": "https://files.pythonhosted.org/packages/69/41/c783494c777820fc8f3cf6c7229b4d001eeb2ed70a328e9ef9842f3f85ec/pylaunches-1.4.0.tar.gz",
    "platform": null,
    "description": "# PyLaunches\n\n_A python packages to get information form upcoming space launches._\n\n## Install\n\n```bash\npython3 -m pip install pylaunches\n```\n\n### Example usage\n\n```python\n\"\"\"Example usage of pylaunches.\"\"\"\nimport asyncio\n\nfrom pylaunches import PyLaunches, PyLaunchesException\n\n\nasync def example():\n    \"\"\"Example usage of pylaunches.\"\"\"\n    async with PyLaunches() as api:\n        try:\n            launches = await api.upcoming_launches()\n            for launch in launches:\n                print(launch.name)\n        except PyLaunchesException:\n            print(\":(\")\n\n\nasyncio.get_event_loop().run_until_complete(example())\n\n```\n\nThis package is using the [Launch Library 2 API][launchlibrary] to get the information.\n\n[launchlibrary]: https://thespacedevs.com/llapi\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "1.4.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5037493910fb4b99167878080413f26220364a790ae4a464cb739aad024c88c8",
                "md5": "b0d21a6dd1289053758061cc866cc444",
                "sha256": "711842d3e28fdcb798e372e4b9323eec3766afb886c47f6d6a486aa7c04f0ee5"
            },
            "downloads": -1,
            "filename": "pylaunches-1.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b0d21a6dd1289053758061cc866cc444",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7704,
            "upload_time": "2023-04-16T20:02:33",
            "upload_time_iso_8601": "2023-04-16T20:02:33.235932Z",
            "url": "https://files.pythonhosted.org/packages/50/37/493910fb4b99167878080413f26220364a790ae4a464cb739aad024c88c8/pylaunches-1.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6941c783494c777820fc8f3cf6c7229b4d001eeb2ed70a328e9ef9842f3f85ec",
                "md5": "fd44ec31a447bf1d7089ea936bd30293",
                "sha256": "3362a080c574c8346baed05daa3b1f9f5a63d83eba25eab2c71db389664c2ae1"
            },
            "downloads": -1,
            "filename": "pylaunches-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fd44ec31a447bf1d7089ea936bd30293",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5811,
            "upload_time": "2023-04-16T20:02:34",
            "upload_time_iso_8601": "2023-04-16T20:02:34.688209Z",
            "url": "https://files.pythonhosted.org/packages/69/41/c783494c777820fc8f3cf6c7229b4d001eeb2ed70a328e9ef9842f3f85ec/pylaunches-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-16 20:02:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "ludeeus",
    "github_project": "pylaunches",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pylaunches"
}
        
Elapsed time: 0.06230s