huscy.pseudonyms


Namehuscy.pseudonyms JSON
Version 1.2.2 PyPI version JSON
download
home_pagehttps://bitbucket.org/huscy/pseudonyms
SummaryManaging pseudonyms for subjects.
upload_time2023-04-17 10:10:48
maintainer
docs_urlNone
authorAlexander Tyapkov, Mathias Goldau, Stefan Bunde
requires_python
licenseAGPLv3+
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            huscy.pseudonyms
======

![PyPi Version](https://img.shields.io/pypi/v/huscy-pseudonyms.svg)
![PyPi Status](https://img.shields.io/pypi/status/huscy-pseudonyms)
![PyPI Downloads](https://img.shields.io/pypi/dm/huscy-pseudonyms)
![PyPI License](https://img.shields.io/pypi/l/huscy-pseudonyms?color=yellow)
![Python Versions](https://img.shields.io/pypi/pyversions/huscy-pseudonyms.svg)
![Django Versions](https://img.shields.io/pypi/djversions/huscy-pseudonyms)
[![Coverage Status](https://coveralls.io/repos/bitbucket/huscy/pseudonyms/badge.svg)](https://coveralls.io/bitbucket/huscy/pseudonyms)


Requirements
------

- Python 3.8+
- A supported version of Django

Tox tests on Django versions 3.2, 4.1 and 4.2.


Installation
------

To install `husy.pseudonyms` simply run:
```
pip install huscy.pseudonyms
```



Configuration
------

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

1. Add `huscy.pseudonyms` and further required apps to `INSTALLED_APPS` in settings module:

```python
INSTALLED_APPS = (
	...

	'huscy.pseudonyms',
	'huscy.subjects',
)
```

2. Create 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 migration files and 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';"
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://bitbucket.org/huscy/pseudonyms",
    "name": "huscy.pseudonyms",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Alexander Tyapkov, Mathias Goldau, Stefan Bunde",
    "author_email": "tyapkov@gmail.com, goldau@cbs.mpg.de, stefanbunde+git@posteo.de",
    "download_url": "https://files.pythonhosted.org/packages/2f/03/8042596e63259ce4da829b79dc5da7daa4f964a4ae2b2a1941bcc0b48099/huscy.pseudonyms-1.2.2.tar.gz",
    "platform": null,
    "description": "huscy.pseudonyms\n======\n\n![PyPi Version](https://img.shields.io/pypi/v/huscy-pseudonyms.svg)\n![PyPi Status](https://img.shields.io/pypi/status/huscy-pseudonyms)\n![PyPI Downloads](https://img.shields.io/pypi/dm/huscy-pseudonyms)\n![PyPI License](https://img.shields.io/pypi/l/huscy-pseudonyms?color=yellow)\n![Python Versions](https://img.shields.io/pypi/pyversions/huscy-pseudonyms.svg)\n![Django Versions](https://img.shields.io/pypi/djversions/huscy-pseudonyms)\n[![Coverage Status](https://coveralls.io/repos/bitbucket/huscy/pseudonyms/badge.svg)](https://coveralls.io/bitbucket/huscy/pseudonyms)\n\n\nRequirements\n------\n\n- Python 3.8+\n- A supported version of Django\n\nTox tests on Django versions 3.2, 4.1 and 4.2.\n\n\nInstallation\n------\n\nTo install `husy.pseudonyms` simply run:\n```\npip install huscy.pseudonyms\n```\n\n\n\nConfiguration\n------\n\nFirst of all, the `huscy.pseudonyms` application has to be hooked into the project.\n\n1. Add `huscy.pseudonyms` and further required apps to `INSTALLED_APPS` in settings module:\n\n```python\nINSTALLED_APPS = (\n\t...\n\n\t'huscy.pseudonyms',\n\t'huscy.subjects',\n)\n```\n\n2. Create database tables by running:\n\n```\npython manage.py migrate\n```\n\n\nDevelopment\n------\n\nAfter checking out the repository you should activate any virtual environment.\nInstall all development and test dependencies:\n\n```\nmake install\n```\n\nCreate migration files and database tables:\n\n```\nmake migrate\n```\n\nWe assume you're having a running postgres database with a user `huscy` and a database also called `huscy`.\nYou can easily create them by running\n\n```\nsudo -u postgres createuser -d huscy\nsudo -u postgres createdb huscy\nsudo -u postgres psql -c \";ALTER DATABASE huscy OWNER TO huscy\"\nsudo -u postgres psql -c \"ALTER USER huscy WITH PASSWORD '123';\"\n```\n",
    "bugtrack_url": null,
    "license": "AGPLv3+",
    "summary": "Managing pseudonyms for subjects.",
    "version": "1.2.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0739a75ac05eeaffc1191ef898d6cca48acc14a5cf81bdfb465f31670764c2ab",
                "md5": "7c64dcf09cbb0ed678f99e4249b5407a",
                "sha256": "d2ecc6cd96f562d2471c7745be4f095cfdf485c120d9475ef2fa45a01c37cf25"
            },
            "downloads": -1,
            "filename": "huscy.pseudonyms-1.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7c64dcf09cbb0ed678f99e4249b5407a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16615,
            "upload_time": "2023-04-17T10:10:46",
            "upload_time_iso_8601": "2023-04-17T10:10:46.994429Z",
            "url": "https://files.pythonhosted.org/packages/07/39/a75ac05eeaffc1191ef898d6cca48acc14a5cf81bdfb465f31670764c2ab/huscy.pseudonyms-1.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f038042596e63259ce4da829b79dc5da7daa4f964a4ae2b2a1941bcc0b48099",
                "md5": "4c8dd5f0a250aa315939430525263087",
                "sha256": "85712c556149809bf2e6451e5cece91d51ef1dd6c09bad7947b11e8d33b516a3"
            },
            "downloads": -1,
            "filename": "huscy.pseudonyms-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4c8dd5f0a250aa315939430525263087",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15610,
            "upload_time": "2023-04-17T10:10:48",
            "upload_time_iso_8601": "2023-04-17T10:10:48.514380Z",
            "url": "https://files.pythonhosted.org/packages/2f/03/8042596e63259ce4da829b79dc5da7daa4f964a4ae2b2a1941bcc0b48099/huscy.pseudonyms-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-17 10:10:48",
    "github": false,
    "gitlab": false,
    "bitbucket": true,
    "bitbucket_user": "huscy",
    "bitbucket_project": "pseudonyms",
    "lcname": "huscy.pseudonyms"
}
        
Elapsed time: 0.05633s