semvec/pypi-packages huggingface dataset:
vatspy-data 1.2.0
python representation of vatspy static data
License: MIT
Requires Python: >=3.11
Keywords: vatspy, vatsim

## python-vatspy-data

This module loads and parses data from https://github.com/vatsimnetwork/vatspy-data-project

The results are available as an easy-to-use `VatspyData` object containing
the countries, the airports, and the FIRs along with geodata available as a
`shapely` Geometry.


### Installation

```commandline
pip install vatspy-data
```

### Usage

```python
from vatspy_data import VatspyData

vd = VatspyData() # the data is loaded and parsed in the constructor

print(vd.countries.get("LI"))
# Country(name='Italy', codes=['LI'], radar_name='Radar')

print(vd.firs.get("EGGX"))
# FIR(icao='EGGX', name='Shanwick Oceanic', callsign_prefix='EGGX', geom=GeoItem(properties=GeoItemProperties(id='EGGX', oceanic=False, label_lon=-22.5, label_lat=53.0, region='EMEA', division='VATUK'), geom=<MULTIPOLYGON (((-30 61, -10 61, -10 57, -15 57, -15 49, -8 48.494, -8 45, -...>))
```
aiojenkins 0.8.0
Asynchronous library of Jenkins API based on aiohttp
License: MIT
Requires Python: >=3.8
Keywords: aiojenkins, async jenkins api

Async python client for `Jenkins <https://jenkins.io>`_
=======================================================

|Build status|
|Docs status|
|Coverage status|
|Version status|
|Downloads status|

.. |Build Status|
   image:: https://github.com/pbelskiy/aiojenkins/workflows/Tests/badge.svg
.. |Docs status|
   image:: https://readthedocs.org/projects/aiojenkins/badge/?version=latest
.. |Coverage status|
   image:: https://img.shields.io/coveralls/github/pbelskiy/aiojenkins?label=Coverage
.. |Version status|
   image:: https://img.shields.io/pypi/pyversions/aiojenkins?label=Python
.. |Downloads status|
   image:: https://img.shields.io/pypi/dm/aiojenkins?color=1&label=Downloads


Asynchronous python package of Jenkins API endpoints based on aiohttp.

----

Also pay attention to brand new package with same API set but with sync and async interfaces:

https://github.com/pbelskiy/ujenkins

Installation
------------

.. code:: shell

    pip3 install aiojenkins

Usage
-----

Start new build using `aiojenkins.Jenkins` as an async context manager (preferred):

.. code:: python

    import asyncio
    import aiojenkins

    async def example():
        async with aiojenkins.Jenkins('http://your_server/jenkins', 'user', 'password') as jenkins:
            await jenkins.builds.start('job_name', {'parameter': 'test'})

    asyncio.run(example())

Or without an async context manager:

.. code:: python

    import asyncio
    import aiojenkins

    jenkins = aiojenkins.Jenkins('http://your_server/jenkins', 'user', 'password')

    async def example():
        try:
            await jenkins.builds.start('job_name', {'parameter': 'test'})
        finally:
            jenkins.close()

    asyncio.run(example())

`Please look at tests directory for more examples. <https://github.com/pbelskiy/aiojenkins/tree/master/tests>`_

Documentation
-------------

`Read the Docs <https://aiojenkins.readthedocs.io/en/latest/>`_

Testing
-------

Currently tests aren't using any mocking.
I am testing locally with dockerized LTS Jenkins ver. 2.222.3

Prerequisites: `docker, tox`

::

    docker run -d --name jenkins --restart always -p 8080:8080 jenkins/jenkins:lts
    docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword
    chromium http://localhost:8080  # create admin:admin
    tox

Contributing
------------

Feel free to PR