-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Huge edits, removed nearly 1,000 lines and it works the same with more efficient code.
- Loading branch information
Showing
6 changed files
with
432 additions
and
1,473 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
from cleanco import cleanco | ||
|
||
companyname = "GlaxoSmithKline plc." | ||
cleanco = cleanco(companyname) | ||
business_name = "Merck Pharmaceutials - Corporate (formerly Not Merck) LLC" | ||
|
||
bustype = cleanco.type() | ||
busind = cleanco.industry() | ||
cleanname = cleanco.cleanname() | ||
short = cleanco.shortname() | ||
country = cleanco.country() | ||
processing = cleanco(business_name) | ||
x = processing.cleaner() | ||
|
||
print("String: %s") % companyname | ||
print business_name | ||
print("Clean Name: %s") % cleanname | ||
print("Short Name: %s") % short | ||
print("Possible Business Types: %s") % bustype | ||
print("Possible Industry: %s") % busind | ||
print("Possible Country: %s") % country | ||
print("Clean Name: %s") % (x.clean_name) | ||
print("Possible Industries: %s") % (x.industry) | ||
print("Possible Business Types: %s") % (x.type) | ||
print("Possible Countries: %s") % (x.country) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
from distutils.core import setup | ||
setup(name='cleanco', | ||
version='0.4', | ||
version='1.0', | ||
py_modules=['cleanco'], | ||
) |