Skip to main content

Managing pseudonyms for subjects.

Project description

huscy.pseudonyms

PyPi Version PyPi Status PyPI Downloads PyPI License Python Versions Django Versions Coverage Status

Requirements

  • Python 3.6+
  • A supported version of Django

Tox tests on Django versions 3.2 and 4.0.

Installation

To install husy.pseudonyms simply run:

pip install huscy.pseudonyms

Configuration

First of all, the huscy.pseudonyms application has to be hooked into the project.

  1. Add huscy.pseudonyms and further required apps to INSTALLED_APPS in settings module:
INSTALLED_APPS = (
	...

	'huscy.pseudonyms',
	'huscy.subjects',
)
  1. Create database tables by running:
python manage.py migrate

Development

After checking out the repository you should activate any virtual environment. Install all development and test dependencies:

make install

Create migration files and database tables:

make migrate

We assume you're having a running postgres database with a user huscy and a database also called huscy. You can easily create them by running

sudo -u postgres createuser -d huscy
sudo -u postgres createdb huscy
sudo -u postgres psql -c ";ALTER DATABASE huscy OWNER TO huscy"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huscy.pseudonyms-1.2.0.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

huscy.pseudonyms-1.2.0-py3-none-any.whl (16.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page