This is the name parser and standardizer for the datacommons project. It now supports politician, individual and organization names.
Installation
Installation is easy:
pip install -e git+http://github.com/sunlightlabs/name-cleaver.git#egg=name-cleaver
Usage
Basic usage is the same for each type of name, just import the relevant NameCleaver class from one of:
PoliticianNameCleaver
IndividualNameCleaver
OrganizationNameCleaver
Example:
from name_cleaver import PolicitianNameCleaver smith = PoliticianNameCleaver(‘Smith, Robert J’).parse()
print str(smith) => “Robert J Smith”
Metadata
Release files for name-cleaver 0.2.9
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 | Actions |
|---|---|---|---|---|
| name-cleaver-0.2.9.tar.gz | 5.6 kB | Without provenance | Details for name-cleaver-0.2.9.tar.gz |
Release files / name-cleaver-0.2.9.tar.gz
| Download URL | name-cleaver-0.2.9.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a65b55c25b5591db236ed4955b506ca11833db8e5118b48a1ae5932cbe0be19
|
|
BLAKE2b-256 checksum How to use checksums |
15e4eff1420f360b9732f11605cae3a41a744234927f33de03a1c7f89813109b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for name-cleaver 0.2.9
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.