pyAIC 0.0.6
pip install pyAIC
Released:
A package to manipulate, convert and validate AIC codes
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: FabrizioMontanari
- Requires: Python >=2.7
Classifiers
- License
- Operating System
- Programming Language
Project description
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.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: FabrizioMontanari
- Requires: Python >=2.7
Classifiers
- License
- Operating System
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 074de5a9c7407ab4a7dfa75c89378fc44d27570cc827e447d6a5318d9f1e196d |
|
MD5 | dd3d7bfc1a324a21678a4c2f25147e65 |
|
BLAKE2b-256 | 54af7f3aee8a9089dc018825abdefb0d5eb543583f058c38acc67a5130583e30 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6256efec4ba500d0e3ae7e074e1843298b430ea065814a1e5844957c49ccfce6 |
|
MD5 | 628b3495d3af531f22d798814c8bf169 |
|
BLAKE2b-256 | 3f4ec61633dfb630bd2959bb377dc69af361b12fba24dc6ebaa81549d1501c96 |