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.8+
  • A supported version of Django

Tox tests on Django versions 3.2, 4.1 and 4.2.

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.2.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

huscy.pseudonyms-1.2.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file huscy.pseudonyms-1.2.2.tar.gz.

File metadata

  • Download URL: huscy.pseudonyms-1.2.2.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for huscy.pseudonyms-1.2.2.tar.gz
Algorithm Hash digest
SHA256 85712c556149809bf2e6451e5cece91d51ef1dd6c09bad7947b11e8d33b516a3
MD5 4c8dd5f0a250aa315939430525263087
BLAKE2b-256 2f038042596e63259ce4da829b79dc5da7daa4f964a4ae2b2a1941bcc0b48099

See more details on using hashes here.

File details

Details for the file huscy.pseudonyms-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for huscy.pseudonyms-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ecc6cd96f562d2471c7745be4f095cfdf485c120d9475ef2fa45a01c37cf25
MD5 7c64dcf09cbb0ed678f99e4249b5407a
BLAKE2b-256 0739a75ac05eeaffc1191ef898d6cca48acc14a5cf81bdfb465f31670764c2ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page