Skip to main content

Managing ethics and ethics files for projects in a human research context.

Project description

huscy.project-ethics

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

Requirements

  • Python 3.8+
  • A supported version of Django

Tox tests on Django version 4.2 and 5.0.

Installation

To install husy.project-ethics simply run:

pip install huscy.project-ethics

Configuration

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

  1. Add huscy.project_ethics and further required apps to INSTALLED_APPS in settings module:
INSTALLED_APPS = (
    ...
    'guardian',
    'rest_framework',

    'huscy.project_ethics',
    'huscy.projects',
)
  1. Create huscy.project-ethics 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 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.project_ethics-2.0.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

huscy.project_ethics-2.0.1-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file huscy.project_ethics-2.0.1.tar.gz.

File metadata

  • Download URL: huscy.project_ethics-2.0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.15

File hashes

Hashes for huscy.project_ethics-2.0.1.tar.gz
Algorithm Hash digest
SHA256 29ed620e463e2fb3920d2573f2be7b930210d064dbea9eb2304aa1c52a0be68c
MD5 22d63680bf84e434acb6040cb2da6778
BLAKE2b-256 0817150ff1f5f6f79377b0d3f174609e792bd5174226930e1e93cd96e8b36beb

See more details on using hashes here.

File details

Details for the file huscy.project_ethics-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for huscy.project_ethics-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a7f2ca91771c45d828b5e73aab430e88b25074e5842ed6c0c7df6ddc605ee67
MD5 7be04b6a42abfabc83d88ca8fa69da59
BLAKE2b-256 1559519a6ef455fcacedadce573f3515bac7de091210bf8fd5aeb82b1a3dee84

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