huscy.attributes
======
![PyPi Version](https://img.shields.io/pypi/v/huscy-attributes.svg)
![Python Versions](https://img.shields.io/pypi/pyversions/huscy-attributes.svg)
![PyPi Status](https://img.shields.io/pypi/status/huscy-attributes)
![PyPI Downloads](https://img.shields.io/pypi/dm/huscy-attributes)
![PyPI License](https://img.shields.io/pypi/l/huscy-attributes?color=yellow)
![Django Versions](https://img.shields.io/pypi/djversions/huscy-attributes)
Huscy is a free open-source software solution for managing study participants in the context of human sciences.
The software is deliberately implemented in a generic manner to appeal to a wide user base, while considering all relevant aspects of data protection.
The strictly modular software architecture allows for easy integration of new requirements, enabling the software to be customized to individual needs at any time.
Requirements
------
- Python 3.8+
- A supported version of Django
In this project the Django versions 4.2 and 5.0 are tested with tox.
Installation
------
To install `husy.attributes` simply run:
pip install huscy.subjects
Add required apps to `INSTALLED_APPS` in your `settings.py`:
```python
INSTALLED_APPS = (
...
'guardian',
'rest_framework',
'reversion',
'huscy.attributes.apps.HuscyApp',
'huscy.pseudonyms.apps.HuscyApp',
'huscy.subjects.apps.HuscyApp',
)
```
Additional apps may need to be added (e.g., django_countries and phonenumber_field) if you want to fully utilize the huscy.subjects app.
Hook the urls from this app into your global `urls.py`:
```python
urlpatterns = [
...
path('', include('huscy.attributes.urls')),
]
```
Create database tables by running:
python manage.py migrate
Development
------
Install PostgreSQL and create a database user called `huscy` and a database called `huscy`.
sudo -u postgres createdb huscy
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';"
Check out the repository and start your virtual environment (if necessary).
Install dependencies:
make install
Create database tables:
make migrate
Run tests to see if everything works fine:
make test
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/huscy/attributes",
"name": "huscy.attributes",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Stefan Bunde",
"author_email": "stefanbunde+git@posteo.de",
"download_url": "https://files.pythonhosted.org/packages/6a/aa/9866d10aa4b4517229852fc3a28b56e6b37c74310640c3f5bed1f381123c/huscy.attributes-1.0.1.tar.gz",
"platform": null,
"description": "huscy.attributes\n======\n\n![PyPi Version](https://img.shields.io/pypi/v/huscy-attributes.svg)\n![Python Versions](https://img.shields.io/pypi/pyversions/huscy-attributes.svg)\n![PyPi Status](https://img.shields.io/pypi/status/huscy-attributes)\n![PyPI Downloads](https://img.shields.io/pypi/dm/huscy-attributes)\n![PyPI License](https://img.shields.io/pypi/l/huscy-attributes?color=yellow)\n![Django Versions](https://img.shields.io/pypi/djversions/huscy-attributes)\n\n\n\nHuscy is a free open-source software solution for managing study participants in the context of human sciences.\nThe software is deliberately implemented in a generic manner to appeal to a wide user base, while considering all relevant aspects of data protection.\nThe strictly modular software architecture allows for easy integration of new requirements, enabling the software to be customized to individual needs at any time.\n\n\n\nRequirements\n------\n\n- Python 3.8+\n- A supported version of Django\n\nIn this project the Django versions 4.2 and 5.0 are tested with tox.\n\n\n\nInstallation\n------\n\nTo install `husy.attributes` simply run:\n\n pip install huscy.subjects\n\nAdd required apps to `INSTALLED_APPS` in your `settings.py`:\n\n```python\nINSTALLED_APPS = (\n\t...\n\n 'guardian',\n 'rest_framework',\n 'reversion',\n\n 'huscy.attributes.apps.HuscyApp',\n 'huscy.pseudonyms.apps.HuscyApp',\n 'huscy.subjects.apps.HuscyApp',\n)\n```\n\nAdditional apps may need to be added (e.g., django_countries and phonenumber_field) if you want to fully utilize the huscy.subjects app.\n\nHook the urls from this app into your global `urls.py`:\n\n```python\nurlpatterns = [\n\t...\n\tpath('', include('huscy.attributes.urls')),\n]\n```\n\nCreate database tables by running:\n\n python manage.py migrate\n\n\n\nDevelopment\n------\n\nInstall PostgreSQL and create a database user called `huscy` and a database called `huscy`.\n\n sudo -u postgres createdb huscy\n sudo -u postgres createuser -d huscy\n sudo -u postgres psql -c \"GRANT ALL PRIVILEGES ON DATABASE huscy TO huscy;\"\n sudo -u postgres psql -c \"ALTER USER huscy WITH PASSWORD '123';\"\n\nCheck out the repository and start your virtual environment (if necessary).\n\nInstall dependencies:\n\n make install\n\nCreate database tables:\n\n make migrate\n\nRun tests to see if everything works fine:\n\n make test\n\n\n",
"bugtrack_url": null,
"license": "AGPLv3+",
"summary": "Managing attributes for subjects in a human research context.",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://bitbucket.org/huscy/attributes"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "951c6001e655a072045ab606aac9178b942f59cb49559e2626bc170fb93a99a9",
"md5": "26fe2f3648a0d93487d07ed479996628",
"sha256": "89f534d5cf8e47266d86f1c0275e8e4595b1b325e80c555fdd6563581d9ddc7f"
},
"downloads": -1,
"filename": "huscy.attributes-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26fe2f3648a0d93487d07ed479996628",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 20630,
"upload_time": "2024-03-22T12:30:53",
"upload_time_iso_8601": "2024-03-22T12:30:53.597220Z",
"url": "https://files.pythonhosted.org/packages/95/1c/6001e655a072045ab606aac9178b942f59cb49559e2626bc170fb93a99a9/huscy.attributes-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6aaa9866d10aa4b4517229852fc3a28b56e6b37c74310640c3f5bed1f381123c",
"md5": "edee843e15e6a7046ff6b32d7ddb2cf2",
"sha256": "5300131e2a38e40baee354cf341915735d19f2a4bfb0d43d64e89bc084127e9a"
},
"downloads": -1,
"filename": "huscy.attributes-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "edee843e15e6a7046ff6b32d7ddb2cf2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7888,
"upload_time": "2024-03-22T12:30:55",
"upload_time_iso_8601": "2024-03-22T12:30:55.457843Z",
"url": "https://files.pythonhosted.org/packages/6a/aa/9866d10aa4b4517229852fc3a28b56e6b37c74310640c3f5bed1f381123c/huscy.attributes-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-22 12:30:55",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "huscy",
"bitbucket_project": "attributes",
"lcname": "huscy.attributes"
}