Skip to main content

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”

Download files

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

Source Distribution

name-cleaver-0.2.9.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file name-cleaver-0.2.9.tar.gz.

File metadata

  • Download URL: name-cleaver-0.2.9.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for name-cleaver-0.2.9.tar.gz
Algorithm Hash digest
SHA256 1a65b55c25b5591db236ed4955b506ca11833db8e5118b48a1ae5932cbe0be19
MD5 85c5c5d0b8863ea04d05e94d82f17f89
BLAKE2b-256 15e4eff1420f360b9732f11605cae3a41a744234927f33de03a1c7f89813109b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.0

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.15

1 file

0.4.14

1 file

0.4.13

1 file

0.4.12

1 file

0.4.11

1 file

0.4.10

1 file

0.4.9

1 file

0.4.8

1 file

0.4.7

1 file

0.4.6

1 file

0.4.5

1 file

0.4.4

1 file

0.4.2

1 file

0.4.1

1 file

0.4

1 file

0.3.1

1 file

0.3.0

1 file

0.2.13

1 file

0.2.12

1 file

0.2.11

1 file

0.2.10

1 file

This release

0.2.9 This release

1 file

0.2.8

1 file

0.2.7

1 file

0.2.6

1 file

0.2.5

Supported by

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