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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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