Skip to content

Commit

Permalink
#39: Renamed project to pganonymize
Browse files Browse the repository at this point in the history
  • Loading branch information
hkage committed Dec 13, 2021
1 parent 3be5365 commit 2a171c2
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ line_length=120
multi_line_output=0
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,PGA,LOCALFOLDER
default_section=THIRDPARTY
known_pga=pganonymizer
known_pga=pganonymize
no_lines_before=LOCALFOLDER

2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ include LICENSE.rst
include README.rst
include CHANGELOG.md

recursive-include pganonymizer *.html *.js *.css *.png *.gif*.jpg *.jpeg *.svg *.po
recursive-include pganonymize *.html *.js *.css *.png *.gif*.jpg *.jpeg *.svg *.po
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BROWSER ?= xdg-open
PYTHON_PACKAGE = pganonymizer
PYTHON_PACKAGE = pganonymize
TESTS_PACKAGE = tests

.PHONY: clean clean-test clean-pyc clean-build docs help
Expand Down Expand Up @@ -61,4 +61,4 @@ test:
@poetry run pytest --cov=poetry --cov-config .coveragerc tests/ -sq

test-all: ## run tests on every Python version with tox
@tox
@tox
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ If you want to run the anonymizer within a Docker container you first have to bu
.. code-block:: sh
$ docker build -t pganonymizer .
$ docker build -t pganonymize .
After that you can pass a schema file to the container, using Docker volumes, and call the anonymizer:
.. code-block:: sh
$ docker run \
-v <path to your schema>:/schema.yml \
-it pganonymizer \
-it pganonymize \
/usr/local/bin/pganonymize \
--schema=/schema.yml \
--dbname=<database> \
Expand Down
8 changes: 4 additions & 4 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pganonymizer.qhcp"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pganonymize.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pganonymizer.qhc"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pganonymize.qhc"

devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/pganonymizer"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pganonymizer"
@echo "# mkdir -p $$HOME/.local/share/devhelp/pganonymize"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pganonymize"
@echo "# devhelp"

epub:
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ API
.. toctree::
:maxdepth: 4

pganonymizer
pganonymize
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
#html_file_suffix = None

# Output file base name for HTML help builder.
htmlhelp_basename = 'pganonymizerdoc'
htmlhelp_basename = 'pganonymizedoc'


# -- Options for LaTeX output ------------------------------------------
Expand Down
28 changes: 14 additions & 14 deletions docs/pganonymizer.rst → docs/pganonymize.rst
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
pganonymizer package
pganonymize package
====================

Submodules
----------

pganonymizer.cli module
pganonymize.cli module
-----------------------

.. automodule:: pganonymizer.cli
.. automodule:: pganonymize.cli
:members:
:undoc-members:
:show-inheritance:

pganonymizer.constants module
pganonymize.constants module
-----------------------------

.. automodule:: pganonymizer.constants
.. automodule:: pganonymize.constants
:members:
:undoc-members:
:show-inheritance:

pganonymizer.exceptions module
pganonymize.exceptions module
------------------------------

.. automodule:: pganonymizer.exceptions
.. automodule:: pganonymize.exceptions
:members:
:undoc-members:
:show-inheritance:

pganonymizer.providers module
pganonymize.providers module
-----------------------------

.. automodule:: pganonymizer.providers
.. automodule:: pganonymize.providers
:members:
:undoc-members:
:show-inheritance:

pganonymizer.utils module
pganonymize.utils module
-------------------------

.. automodule:: pganonymizer.utils
.. automodule:: pganonymize.utils
:members:
:undoc-members:
:show-inheritance:

pganonymizer.version module
pganonymize.version module
---------------------------

.. automodule:: pganonymizer.version
.. automodule:: pganonymize.version
:members:
:undoc-members:
:show-inheritance:
Expand All @@ -56,7 +56,7 @@ pganonymizer.version module
Module contents
---------------

.. automodule:: pganonymizer
.. automodule:: pganonymize
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion pganonymize/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def register(self, provider_class, provider_id):
"""
Register a provider class.
:param pganonymizer.providers.Provider provider_class: Provider class that should be registered
:param pganonymize.providers.Provider provider_class: Provider class that should be registered
:param str provider_id: A string id to register the provider for
:raises ProviderAlreadyRegistered: If another provider with the given id has been registered
"""
Expand Down

0 comments on commit 2a171c2

Please sign in to comment.