Skip to main content

Managing ethics and ethic 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.6+
  • A supported version of Django

Tox tests on Django versions 3.2 and 4.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-1.2.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huscy.project_ethics-1.2.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: huscy.project_ethics-1.2.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.58.0 importlib-metadata/4.8.3 keyring/22.3.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for huscy.project_ethics-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d0871d6fb94d01d4afa6d03c8ba2a836989a0279e7423ceb59629ca3dd81a03a
MD5 b2417759c10ef692889355f35ddc09f4
BLAKE2b-256 b3f636d69abcaf3bcf025a989836c23635b5b2e21de4c613ed63bd7c5a6367eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huscy.project_ethics-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.58.0 importlib-metadata/4.8.3 keyring/22.3.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for huscy.project_ethics-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b131a8dd74edcd7e44fc78db1b95502d0dbd0b60922da9d692c2e65364472e0c
MD5 987e5d1dd5fb216e2d9bdce0c0769b21
BLAKE2b-256 89fc8731da3fa590c5cf6ed3ab92cb5ba134da0f317726d801f24578abd68dac

See more details on using hashes here.

Supported by

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