Lccnorm
Installation
pip install lccnorm
Usage
Import the package
>>> import lccnorm
Get a normalized version of an LCCN:
>>> lccnorm.normalize("75-425165//r75")
'75425165'
Check that an LCCN is valid:
>>> Lccnorm.is_valid("75425165")
True
>>> lccnorm.is_valid("not even a number")
False
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/seanredmond/lccnorm-py. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Lccnorm project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Metadata
Release files for lccnorm 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lccnorm-1.0.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lccnorm-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.5 kB
Release files / lccnorm-1.0.0.tar.gz
| Download URL | lccnorm-1.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a09663dcf3f9f95c38c609796a6298084006031a9b34c0c39d47a59bb0bfe63
|
|
BLAKE2b-256 checksum How to use checksums |
c4eed198d01b11bf14572928967ffe599eefa56816e628c03f4c8e04b4a8c236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / lccnorm-1.0.0-py2.py3-none-any.whl
| Download URL | lccnorm-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4142a51ee850564e9ea014e0d3a6259f394bed427ebe02bac0f93f26f81c8b95
|
|
BLAKE2b-256 checksum How to use checksums |
b12896ff8bc3c8ead278cd67e58280abd280f3eed881bd6ea0f33dd12daff89c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for lccnorm 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.