Skip to main content

# cleanco - 1.1

## What is it / what does it do? This is a Python module that processes company names, in terms of US/UK business entity types.

## How do I install it? Download it from this site and unzip the directory.

  • Mac: cd into it, and enter sudo python setup.py install along with your system password.

  • Windows: Same thing but without sudo.

## How does it work? Let’s look at some sample code. First, create an instance of the module:

>>> from cleanco import cleanco

Prepare a string of a company name that you want to process:

>>> business_name = "Some Big Pharma, LLC"

Throw it into the instance:

>>> x = cleanco(business_name)

You can now get the company types:

>>> x.type()
['Limited Liability Company']

…the possible countries…

>>> x.country()
['United States of America', 'Philippines']

…and a clean version of the company name.

>>> x.clean_name()
'Some Big Pharma'

## Are there bugs? You better believe it. Please let me know or fork this project. I’m sure some of the company suffixes are way incorrect and I’m missing a lot more information.

## Special thanks to:

Metadata

Release files for cleanco 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cleanco 1.1
File Size Uploaded
cleanco-1.1.zip 8.4 kB Details

Release files / cleanco-1.1.zip

Download URL cleanco-1.1.zip
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
92ba8b9a6c9d76020d852790fb4e1e3c88bda8ede5e485b3deabdc27735b146b
BLAKE2b-256 checksum
How to use checksums
2acef5a3ced63ceb368c0525c85afa374b50e61434a6f8dfaf51d686bf888852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0.1

3 release files

2.0.0

2 release files

1.3

1 release file

1.2.1

1 release file

This release

1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page