openIMIS Backend controls reference module
This repository holds the files of the OpenIMIS Backend Controls reference module. It is dedicated to be deployed as a module of openimis-be_py.
Requirements
pip install -r requirements.txt
For development, you also need to run the following:
pip install -r requirements-dev.txt
Installation
pip install -e .
with the development requirements
pip install -e .[dev]
Tests
The tests can be run either with a standard pytest test harness or with the one of the core module. In the first case, it's isolated and doesn't require anything else that the present repo:
pytest
In the second one, you need to download the core project (and prepare the test
database), install the controls module in it pip install -e <path to the controls module>, then you can run the tests:
python manage.py test --keep controls
ORM mapping
| Database table name | Django Model |
|---|---|
tblControls |
Control |
Listened Django Signals
None
Services
None
Reports (template can be overloaded via report.ReportDefinition)
None
GraphQL Queries
controlcontrol_str: full text search on Control name, usage, and adjustability
An example:
{
control{
edges{
node{
name
}
}
}
}
GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
None
Configuration options (can be changed via core.ModuleConfiguration)
None
openIMIS Modules Dependencies
None
Metadata
Release files for openimis-be-controls 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openimis_be_controls-1.2.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openimis_be_controls-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / openimis_be_controls-1.2.0.tar.gz
| Download URL | openimis_be_controls-1.2.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38d061c3f8bd608b68726ec8e37cfeff5fd8ffbb28e8f01833dd79055a7e2a13
|
|
BLAKE2b-256 checksum How to use checksums |
a7f7a4da18fca7f3a675baec86af3d0b697fedf3b326d0f55de8f4d42ff0cf07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / openimis_be_controls-1.2.0-py3-none-any.whl
| Download URL | openimis_be_controls-1.2.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
449d8334ae2f02a2d18c2e47459864c277f99406bb94ceacdfff08c7841f6aea
|
|
BLAKE2b-256 checksum How to use checksums |
d29af1cbbdf1d37a55723ac94db6742c8eb74602cdde4aaadebe8d1932be30fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|