Skip to main content

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.

License: AGPL v3

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

  • control
  • control_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.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openimis-be-controls 1.3.0
File Size Uploaded Provenance Actions
openimis_be_controls-1.3.0.tar.gz 14.4 kB Without provenance Details for openimis_be_controls-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openimis-be-controls 1.3.0
File Interpreter ABI Platform Actions
openimis_be_controls-1.3.0-py3-none-any.whl Python 3 none any Details for openimis_be_controls-1.3.0-py3-none-any.whl

Total release size: 31.6 kB

Release files / openimis_be_controls-1.3.0.tar.gz

Download URL openimis_be_controls-1.3.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e3709f49c61e44c2760478d03f4a51e9728e94b68ad1c0c7f95c1b5ada0fa930
BLAKE2b-256 checksum
How to use checksums
c3aca2b2d7e5db51faf7ef164b02a1332e583ac6b15a6a97d52b9eddd999cffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / openimis_be_controls-1.3.0-py3-none-any.whl

Download URL openimis_be_controls-1.3.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
781edd3a5ad04cd1f09c30eb750a736847fd62dd7a274acb8446e1a7b61f7b00
BLAKE2b-256 checksum
How to use checksums
42534f516631723f2d65e640f39dfe603b27c9c012b4c820a03e3e8e3386489f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Security for openimis-be-controls 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page