Metadata-Version: 2.4
Name: huscy.xml
Version: 1.5.2
Summary: Listing and creating users via REST API
Project-URL: homepage, https://bitbucket.org/huscy/xml
Author-email: Stefan Bunde <stefanbunde+git@posteo.de>
License-Expression: AGPL-3.0-or-later
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: django-xml>=4.0.1
Requires-Dist: mpi-cbs-huscy-subjects-wrapper
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: webdavclient3>=3.14.6
Provides-Extra: development
Requires-Dist: psycopg2-binary; extra == 'development'
Provides-Extra: testing
Requires-Dist: tox; extra == 'testing'
Requires-Dist: watchdog; extra == 'testing'
Description-Content-Type: text/markdown

# huscy.xml

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



## Requirements

- Python 3.8+
- A supported version of Django

Tox tests on Django versions 4.2, 5.0 and 5.1.



## Installation

To install `husy.xml` simply run:

	pip install huscy.xml



## Configuration

The `huscy.xml` application has to be hooked into the project.

Add `huscy.xml` to `INSTALLED_APPS` in settings module:

```python
INSTALLED_APPS = (
	...

	'huscy.xml',
)
```



## Development

After checking out the repository you should activate any virtual environment.
Install all development and test dependencies:

	make install

Create database tables:

	python manage.py 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 createdb huscy
	sudo -u postgres createuser -d huscy
	sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
	sudo -u postgres psql -c "ALTER DATABASE huscy OWNER TO huscy;"
