company-graph

Resolving Messy Company Names


License
MIT
Install
pip install company-graph==0.5.3

Documentation

CompanyGraph

Install

pip install company-graph

Build

python setup.py sdist bdist_wheel

twine upload dist/*

Usage

from company_graph.cg import CompanyGraph

cg = CompanyGraph()

# Generalize company ids
>>> cg.id2id(1697742)
1063

# Deterministic company id from string
>>> cg('Cisco')
1063
>>> cg('Talos Group at Cisco')
1063

# Deterministic company name from id
>>> cg(1063)
'cisco'