cleanco
Python library to process company names
What it is and what it does
Cleanco is a Python library for standardizing and analyzing company names. It removes legal suffixes and organizational type indicators (such as "Ltd.", "Corp", "LLC") from company names to produce a clean base name, and uses a built-in database of organization type terms to classify the business entity type (e.g., "limited liability company") and infer possible jurisdictions of establishment.
The package is designed for data cleaning and enrichment workflows where you need to normalize company names across datasets or deduce organizational structure from name alone. It has no external runtime dependencies, making it lightweight to integrate. The library supports custom term databases if you need to extend or override the default classifications.
Use it for:
- Normalize company names in CRM or database records by removing legal suffixes for consistent matching and deduplication.
- Classify business entity types from company names in bulk data imports or company research workflows.
- Infer possible countries of incorporation from company name suffixes to enrich company metadata.
- Clean company names in financial or procurement datasets before aggregation or reporting.
- Deduplicate company records by comparing cleaned base names across multiple data sources.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Cleanco strips legal suffixes (Ltd, Corp, LLC, etc.) from company names and classifies organization types and possible jurisdictions based on those terms.
Yes. Cleanco is actively maintained, has no dependencies, installs easily, carries a permissive MIT license, and solves a real data-cleaning problem for anyone working with company names. The library is well-established (first released in 2015) and popular (top 5000 on PyPI). No known security vulnerabilities. Install it if you need to normalize or classify company names in bulk.
Install
cleanco on PyPI
pip
pip install cleancouv
uv add cleancopoetry
poetry add cleancoInstalling cleanco
Before you install
Low friction installation with no runtime dependencies. Actively maintained with recent commits; last release was 2024-05-15 and the repository shows ongoing activity.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install cleanco
from cleanco import basename, typesources, matches
business_name = "Some Big Pharma, LLC"
clean_name = basename(business_name) # 'Some Big Pharma'
classification_sources = typesources()
org_types = matches(business_name, classification_sources) # ['Limited Liability Company']
Verify before relying
- Whether the organization type and country classification databases are regularly updated to reflect new or changed legal entity terms.
- Performance characteristics when processing large batches of company names.
- Coverage of non-English or non-Western business entity types beyond US/UK classifications.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 821 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,869,129/month — #2,471 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cleanco-2.3-py3-none-any.whl
Tags
More Office/Business packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
slack-sdkProvides Python bindings for Slack's Web API,…
permissive · top 1,000 on PyPI
xlrdxlrd reads data and formatting information from…
permissive · top 1,000 on PyPI
progressbar2progressbar2 renders text-based progress bars…
permissive · top 5,000 on PyPI
bokehBokeh is an interactive visualization library…
permissive · top 5,000 on PyPI
slackclientProvides Python interfaces to Slack's Web API…
permissive · top 5,000 on PyPI
fingerprintsGenerates simplified entity identifiers…
permissive · top 15,000 on PyPI
courts-dbProvides a searchable database of current and…
permissive · top 15,000 on PyPI
strip-hintsStrips type hints from Python source code while…
unclear · top 5,000 on PyPI
country-converterConverts and matches country names across…
copyleft · top 5,000 on PyPI
glinerGLiNER is a lightweight framework for named…
permissive · top 15,000 on PyPI
tldextractAccurately extracts subdomain, domain, and…
permissive · top 1,000 on PyPI
pycountry-convertConverts between ISO country codes (alpha-2,…
permissive · top 15,000 on PyPI
jaraco.textProvides utility functions for common text…
permissive · top 5,000 on PyPI
isocodesisocodes provides programmatic access to ISO…
permissive · top 15,000 on PyPI
eyeciteExtracts legal citations from text, recognizing…
permissive · top 15,000 on PyPI