Skip to main content

Managing subjects in a human research context.

Project description

huscy.subjects

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

Requirements

  • Python 3.6+
  • A supported version of Django

Tox tests on Django versions 2.1, 2.2, 3.0 and 3.1.

Installation

To install husy.subjects simply run:

pip install huscy.subjects

Configuration

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

  1. Add huscy.subjects and further required apps to INSTALLED_APPS in settings module:
INSTALLED_APPS = (
	...
	'django_countries',
	'phonenumber_field',
	'rest_framework',
	'rest_framework_nested',

	'huscy.subjects',
)
  1. Create huscy.subjects 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 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 psql -c "GRANT ALL PRIVILEGES ON DATABASE huscy TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
sudo -u postgres createdb huscy

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.subjects-1.0.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

huscy.subjects-1.0.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file huscy.subjects-1.0.0.tar.gz.

File metadata

  • Download URL: huscy.subjects-1.0.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for huscy.subjects-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f2d9a05fbd30c70badec9eb9a86e489e805344c5187effdc2d743f1f5a62fd41
MD5 37c45909237c2177030b41e4f641f149
BLAKE2b-256 43a6fa77ff09d24a35353acd7d4fed45f0614ef8a5c9f13f953e73a297354fe6

See more details on using hashes here.

File details

Details for the file huscy.subjects-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: huscy.subjects-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for huscy.subjects-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d561df6ec2a0a7eb9a9110abb81731cb049ca1ade6d140d9d631cf9280d3b988
MD5 7d77e8da76085c09baa550dfcf2e3176
BLAKE2b-256 cc61d82b0977244aa379bca5eb8e98112caf2c2d4f68ded770c0ddf613c10b5b

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