semvec/pypi-packages huggingface dataset:
freecurrencyapi 0.1.0
Freecurrencyapi Python Client
License: MIT
Keywords: free currency api,exchange rates,rates api,freecurrencyapi,currency api

# freecurrencyapi Python Client #

Freecurrencyapi Python Client is the official Python Wrapper around the freecurrencyapi [API](https://freecurrencyapi.com/).

## Installation

Install from pip:
````sh
pip install freecurrencyapi
````

Install from code:
````sh
pip install git+https://github.com/everapihq/freecurrencyapi-python.git
````

## Usage

All freecurrencyapi API requests are made using the `Client` class. This class must be initialized with your API access key string. [Where is my API access key?](https://app.freecurrencyapi.com/dashboard)

In your Python application, import `freecurrencyapi` and pass authentication information to initialize it:

````python
import freecurrencyapi
client = freecurrencyapi.Client('API_KEY')
````

### Retrieve Status

```python

print(client.status())

```

### Retrieve Currencies
[https://freecurrencyapi.com/docs/currencies](https://freecurrencyapi.com/docs/currencies)
```python

result = client.currencies(currencies=['EUR', 'CAD'])
print(result)

```

### Retrieve Latest Exchange Rates
[https://freecurrencyapi.com/docs/latest](https://freecurrencyapi.com/docs/latest)

```python

result = client.latest()
print(result)

```

### Retrieve Historical Exchange Rates
[https://freecurrencyapi.com/docs/historical](https://freecurrencyapi.com/docs/historical)

```python

result = client.historical('2022-02-02')
print(result)

```

### Contact us
Any feedback? Please feel free to [contact our team](mailto:office@everapi.com).
transkribus-client 0.3.4rc1
Unofficial API client for the Transkribus project
License: MIT
Requires Python: >=3.8
Keywords: api client transkribus

# Transkribus API Client

`transkribus-client` provides a Python 3.6+ API client to interact with Transkribus.

## Authentication

Most of the API requires an authentication with a Transkribus account.
To authenticate, you can give your email and password to the client:

```python
from getpass import getpass
from transkribus import TranskribusAPI
api = TranskribusAPI()
TranskribusAPI.login('user@example.com', getpass())
```

Alternatively, you can use the `options_from_env` helper and some environment variables:

```python
from transkribus import TranskribusAPI, options_from_env
api = TranskribusAPI(**options_from_env())
```

You can define the following environment variables:

`TRANSKRIBUS_API_URL`
: Base URL of the Transkribus API. Defaults to `https://transkribus.eu/TrpServer/rest`.

`TRANSKRIBUS_EMAIL`
: Email address of the user to authenticate with.

`TRANSKRIBUS_PASSWORD`
: Password of the user to authenticate with.

## Usage

### Browsing from collections to transcripts

```python
from transkribus.api import TranskribusAPI, options_from_env
from transkribus.models import Collection
api = TranskribusAPI(**options_from_env())
for collection_data in api.list_collections():
    for document in Collection(collection_data).get_documents(api):
        for page in document.get_pages(api):
            print(str(page.get_transcript()))
```

### Exporting a collection

```python
collection = Collection(COLLECTION_ID)
export_job = collection.export(api)
export_job.wait_for_result(api)
export_job.download_result('path/to/export.zip')
```

### Parsing a PageXML file

```python
from transkribus.pagexml import PageXmlPage
for region in PageXmlPage('/path/to/transcript.xml').page.text_regions:
    for line in region.lines:
        print(line.text)
```

## Contributing

Issues and patches are welcome! Here are some tips to help you get started coding.

### Unit tests

We use [tox](https://tox.wiki) for unit tests. You can install and run it like so:

```
pip install tox
tox
```

### Linting

We use [pre-commit](https://pre-commit.com/) with [black](https://github.com/psf/black) to automatically format the Python source code of this project.

To be efficient, you should run pre-commit before committing (hence the name…).

To do that, run once:

```
pip install pre-commit
pre-commit install
```

The linting workflow will now run on modified files before committing, and will fix issues for you.

If you want to run the full workflow on all the files: `pre-commit run -a`.
aeroapi-python 1.1.4
FlightAware AeroAPI Caller for Python
License: MIT
Requires Python: >=3.5
Keywords: python aeroapi flightaware flightaware-api flightaware-aeroapi flightaware-aeroapi-python flightaware-aeroapi-python3 flightaware-aeroapi-python3.5 flightaware-aeroapi-python3.6 flightaware-aeroapi-python3.7 flightaware-aeroapi-python3.8 flightaware-aeroapi-python3.9


# AeroApi Python

Python wrapper for the FlightAware's AeroAPI

## Description

AeroAPI (formerly FlightXML) is FlightAware's live flight data API that provides powerful, reliable information about real-time and historical flight information. This Python wrapper allows for easier interaction with the AeroAPI from Python applications.

## FlightAware AeroAPI Reference
[AeroAPI](https://flightaware.com/aeroapi)

## Installation

```bash
pip install aeroapi-python
```
    
### Using test pypi, install with this command.
```bash
pip install --index-url https://pypi.org/simple/ --extra-index-url https://test.pypi.org/simple/ aeroapi-python
```

## Usage

### AeroAPI Class
The AeroAPI class is the main class for interacting with the FlightAware AeroAPI. It provides access to various resources such as airports, operators, flights, and more.

#### Initialization
To use the AeroAPI class, you need to create an instance of it by passing your API key as an argument to the constructor:

```python
from AeroAPI import AeroAPI

api_key = 'your-api-key'
aeroapi = AeroAPI(api_key)
```

### Airports
The Airports class provides methods for retrieving information about airports. You can access an instance of the Airports class through the airports attribute of the AeroAPI instance:

```python
airports = aeroapi.airports
```

#### Methods

- get_airport_info(airport_code: str) -> dict: Returns information about the specified airport.
    
    ```python
    airport_info = airports.get_airport_info('KLAX')
    ```

- search_airports(query: str) -> list: Searches for airports that match the specified query.
    
    ```python
    airport_list = airports.search_airports('Los Angeles')
    ```

- get_nearby_airports(latitude: float, longitude: float, radius: int) -> list: Returns a list of airports near the specified latitude and longitude within the specified radius.
    
    ```python
    airport_list = airports.get_nearby_airports(33.9425, -118.408056, 10)
    ```

#### Example Usage

```python 
from AeroAPI import AeroAPI

api_key = 'your-api-key'
aeroapi = AeroAPI(api_key)

airports = aeroapi.airports
airport_info = airports.get_airport_info('KLAX')

print(airport_info)
```

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Authors

- [@derens99](https://www.github.com/derens99)