Skip to content

PillarTechnology/pynonymizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relies on Python packages flask, flask-wtf, pygit2. These can be install with pip.

to set up virtual environment, assuming python 3:

  • pyvenv flask
  • flask/bin/pip3 install -r requirements.txt

Installing pygit2 requires a C library, it can be installed on a mac using Homebrew: brew install libgit2 and on Debian using apt: apt-get install libgit2-dev libffi

To run: python3 run.py will start the server.

(For Python 2, it should work with virtualenv flask, and then the rest of it with the 3's taken out.)

With the server running, navigate in your browser to localhost:5000. The webpage should be ready for use.

A handy github repo you can use for testing is: https://github.com/github/testrepo.git

A new version of the anonymizer module with unit tests is planned.

The anonymizer module can be run as a standalone. use python3 anonyizer.py <url-to-anonymize> <kata-description>

The anonymizer relies on the three following environment variables: pynonymizer_username pynonymizer_password pynonymizer_token Which are the username, password, and OAuth token of the github repo you want the anonymous katas uploaded to. These can be set using the syntax export example='data' in the terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.9%
  • HTML 16.1%