Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/portfoliome/cenaming
Company legal name normalization and shortening
https://github.com/portfoliome/cenaming
Last synced: about 2 months ago
JSON representation
Company legal name normalization and shortening
- Host: GitHub
- URL: https://github.com/portfoliome/cenaming
- Owner: portfoliome
- License: mit
- Created: 2016-11-25T23:51:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-27T18:30:05.000Z (about 8 years ago)
- Last Synced: 2024-11-03T03:39:15.213Z (2 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 4
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/portfoliome/cenaming.svg?branch=master)](https://travis-ci.com/portfoliome/cenaming)
[![codecov.io](http://codecov.io/github/portfoliome/cenaming/coverage.svg?branch=master)](http://codecov.io/github/portfoliome/cenaming?branch=master)
[![Code Health](https://landscape.io/github/portfoliome/cenaming/master/landscape.svg?style=flat)](https://landscape.io/github/portfoliome/cenaming/master)# cenaming
Company legal name normalization and shortening# Description
Censible believes simplifying finance helps promote greater financial literacy, enabling investors to strive for sustainable, long-term investment objectives and goals. In our [company profile lookup](https://esg.censible.co/companies), we were dissatisfied with the typical jargon associated with company legal names.While cenaming unfortunately can't contain our whole simplification and normalization process of company legal names we get from Factset, this micro-package of code can be used as a cornerstone to removing the typical jargon. The remaining steps we undertake are some algorithmic comparisons to Factset's defined short company names, and these simplified names. We then compare potential name duplication to avoid url clashes, run a tie-breaking algorithm incorporating things like company size and locality and voila: simplified company names.
## Example
```python
from cenaming import remove_org_descriptorssimple_name = remove_org_descriptors('The Priceline Group, Inc.')
simple_name = remove_org_descriptors('Vodafone Group Plc)
```## Package Installation
There are no external dependencies, and we would expect the code to run for most Python versions, but 3.5 or greater is recommended.```bash
pip install cenaming
```