Skip to main content

pyAIC

This package define a series of function to manipulate, convert and (syntactically) validate AIC codes as described in the italian "Gazzetta Ufficiale della Repubblica Italiana" Serie Generale n.165 del 18-07-2014, attachment A. The document describes two valid representation of an AIC code.

Functions

The functions to validate a code are is_base32_AIC and is_base32_AIC. Using strict=True will validate only real AIC codes (they must start with "0"), while strict=False will validate PARAF codes.

The functions to convert between base32 and base10 representation are from10to32 and from32to10.

The last char of a base10 code is a checksum, to check it use check_AIC_base10_checksum, to compute it use calc_AIC_base10_checksum.

Download files

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

Source Distribution

pyAIC-0.0.6.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyAIC-0.0.6-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pyAIC-0.0.6.tar.gz.

File metadata

  • Download URL: pyAIC-0.0.6.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for pyAIC-0.0.6.tar.gz
Algorithm Hash digest
SHA256 074de5a9c7407ab4a7dfa75c89378fc44d27570cc827e447d6a5318d9f1e196d
MD5 dd3d7bfc1a324a21678a4c2f25147e65
BLAKE2b-256 54af7f3aee8a9089dc018825abdefb0d5eb543583f058c38acc67a5130583e30

See more details on using hashes here.

File details

Details for the file pyAIC-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pyAIC-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for pyAIC-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6256efec4ba500d0e3ae7e074e1843298b430ea065814a1e5844957c49ccfce6
MD5 628b3495d3af531f22d798814c8bf169
BLAKE2b-256 3f4ec61633dfb630bd2959bb377dc69af361b12fba24dc6ebaa81549d1501c96

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page