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 2.2, 3.1 and 3.2.

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.1.5.tar.gz (6.2 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.1.5-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: huscy.project_ethics-1.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.9

File hashes

Hashes for huscy.project_ethics-1.1.5.tar.gz
Algorithm Hash digest
SHA256 268cc184f70b886d0ed8e05bcd8591257f37946ee12c600f8875b88ac95f3ee8
MD5 c683bea10abc590cc89214578cbf5103
BLAKE2b-256 89b2fcba4d99b63454ef57667bdeff849ec9e5753a5123601bb14721446bf553

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huscy.project_ethics-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.9

File hashes

Hashes for huscy.project_ethics-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9c75d0b0d9f6936e421d0fa9721cb8521231bb61010590d709ba9a6a34ca2e97
MD5 4362c6155a830012d4484d82a5e0e0a1
BLAKE2b-256 4bc1f4f8b36ec5039da062dd21131d41f5d327a50fb21e845a50e7f49c15fb97

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