Metadata-Version: 2.1
Name: affinda
Version: 0.1.8
Summary: Client library for the Affinda API
Home-page: https://github.com/affinda/affinda-python
Author: Affinda
Author-email: contact@affinda.com
Maintainer: Affinda
Maintainer-email: contact@affinda.com
License: MIT
Project-URL: Changelog, https://github.com/affinda/affinda-python/blob/stable/CHANGELOG.md
Project-URL: Documentation, https://github.com/affinda/affinda-python/blob/stable/README.md
Project-URL: Source, https://github.com/affinda/affinda-python
Project-URL: Tracker, https://github.com/affinda/affinda-python/issues
Keywords: affinda,api
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Requires-Python: <4,>=3.6.*
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: azure-core
Requires-Dist: azure-identity
Requires-Dist: msrest
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: check-manifest ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: pylint ; extra == 'dev'
Requires-Dist: tox (>=3.3.0) ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: types-requests ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'

Affinda API - Python Client Library
===================================

![affinda logo](https://raw.githubusercontent.com/affinda/affinda-python/main/affinda_logo.png)

[![pypi ver](https://img.shields.io/pypi/v/affinda)](https://pypi.org/project/affinda/)
[![pypi pyver](https://img.shields.io/pypi/pyversions/affinda)](https://pypi.org/affinda/)
[![pypi dlm](https://img.shields.io/pypi/dm/affinda)](https://pypi.org/project/affinda/)
[![license](https://img.shields.io/github/license/affinda/affinda-python)](https://choosealicense.com/licenses/mit/)

[![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/affinda/affinda-python)

- [Installation](#installation)
- [Quickstart](#quickstart)
- [API reference](#api-reference)
- [Parser](#parser)
- [Redactor](#redactor)
- [Reformatter](#reformatter)

Generated using [autorest](https://github.com/Azure/autorest)
and [autorest.python](https://github.com/Azure/autorest.python).

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

```shell
pip install affinda
```

Or latest dev from github

```shell
git clone git@github.com:affinda/affinda-python.git
cd affinda-python
pip install -e .
```

Quickstart
----------

```python
from pathlib import Path
from affinda import AffindaAPI, TokenCredential

TOKEN = "YOUR_API_TOKEN"

file_pth = Path("path_to_file")
credential = TokenCredential(token=TOKEN)

client = AffindaAPI(credential=credential)
with open(file_pth, "rb") as f:
    resp = client.create_resume(file=f, file_name="test.pdf", wait=False)
```

Samples
-------

Samples for all operations using the client can be [found here.](./docs/samples_python.md)


API reference
-------------

- [API operations can be found here](./docs/sync_operations.md)
- [API models and objects](./docs/models.md)
- [Exceptions](./docs/exceptions.md)


## 0.1.8 - 2021-09-06

### Fixed

- wait=true in API spec
- 

## 0.1.7 - 2021-09-05

### Fixed

- Code samples naming conversion

## 0.1.6 - 2021-09-05

### Changed

- Description of some endpoints to match updats in API spec
- Moved samples to their own [./docs/samples_python.md](./docs/samples_python.md) file

## 0.1.5 - 2021-08-25

### Added

- Added flake, editorconfig, tox.ini etc files to match best practices for existing Draftable/Affinda projects (thanks
  @ralish!)

## 0.1.4 - 2021-08-18

### Fixed

- Update README.md to fix install instructions

## 0.1.3 - 2021-08-18

### Fixed

- Update README.md to hard link to github hosted logo to fix display on PyPi

## 0.1.2 - 2021-08-18

- Initial release

##### Follows the format from https://keepachangelog.com/en/1.0.0/

The MIT License (MIT)

Copyright (c) Affinda

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


