Skip to main content

Client library for the Affinda API

Project description

Affinda API - Python Client Library

affinda logo

pypi ver pypi pyver pypi dlm license

codestyle

Open in Visual Studio Code

Generated using autorest and autorest.python.

Installation

pip install affinda

Or latest dev from github

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

Quickstart

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.

API reference

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

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.

Project details


Release history Release notifications | RSS feed

This version

0.1.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

affinda-0.1.8.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

affinda-0.1.8-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file affinda-0.1.8.tar.gz.

File metadata

  • Download URL: affinda-0.1.8.tar.gz
  • Upload date:
  • Size: 63.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for affinda-0.1.8.tar.gz
Algorithm Hash digest
SHA256 65362c56ceeb9eb3edcae036b6038db83da58c0946c2e115b7447f19732ea6eb
MD5 1ca04d3d29c1f72102a1d1deacbe72f7
BLAKE2b-256 12a9e11a26936556d576b0674eec39914737ca35b22a802978edf8400e0f3113

See more details on using hashes here.

File details

Details for the file affinda-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: affinda-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for affinda-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bea0e290ae516c4200a429b740d788f3b4ce3ce1df424ecec9eecff29be8e719
MD5 8b13935fef91976596784e4450624028
BLAKE2b-256 fe78edba9da552b68f3c4a19ae735ee8aacae7aea5703cb18b1fd8ac4e5743df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page