Skip to content

Updates before uploading to pip#4

Open
jchoi92k wants to merge 8 commits into
mainfrom
pip-upload
Open

Updates before uploading to pip#4
jchoi92k wants to merge 8 commits into
mainfrom
pip-upload

Conversation

@jchoi92k

Copy link
Copy Markdown
Collaborator

Added README

  • Feel free to make any changes

Added entry point

  • Keyword is 'obfuscate'
  • Arguments are as follows
  --dir DIR             Directory containing text files to anonymize; defaults to the current directory
  --entities [ENTITIES ...]
                        Entities to anonymize
  --language LANGUAGE   Language of the text files; currently only supports 'en'
  --file_format {csv,txt}
                        Output file format; currently supports 'csv' and 'txt'

Synced name obfuscation labels a bit

  • Will need to match Spacy labels to existing obfuscation methods, or just remove some Spacy labels.

Misc

  • Changed way config file is read into different locations in the package
  • Updated poetry.lock
  • Changed sample text into something generated by Chat GPT:
John Smith, living at 123 Elm Street, Springfield, IL 62704, was born on July 5, 1985. His Social Security Number is 123-45-6789. You can contact him via email at john.smith@example.com or by phone at (312) 555-1234.

His credit card number is 4111 1111 1111 1111, which expires on 08/25, and the CVV is 123. He also has a driver's license number D1234567 issued by the state of Illinois.

John's wife, Mary Ann Smith, was born on February 14, 1988. Her email address is mary.ann.smith@samplemail.com, and her phone number is (217) 555-9876. Mary's SSN is 987-65-4321. They have two children, Emma Smith (born April 2, 2010) and Michael Smith (born September 12, 2013).

John's employer, Acme Corp, is located at 456 Maple Ave, Chicago, IL 60601. You can reach the company at (312) 555-7890, or by email at hr@acmecorp.com. His employee ID is JSMITH1234.

John's bank account number with Big Bank is 000123456789, and the routing number is 026009593.

You can install and use the package with

$pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ piilo==0.1.9

Let me know what changes you want to make before uploading to pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants