OS2mo Init
OS2mo Initialiser.
Build
docker build . -t os2mo-init
Which yields:
...
Successfully built ...
Successfully tagged os2mo-init:latest
After which you can run:
docker run --rm os2mo-init --help
Which yields:
Usage: __main__.py [OPTIONS]
Options:
--lora-url TEXT Address of the LoRa host [env var: LORA_URL;
default: http://localhost:8080]
--root-org-name TEXT Name of the root organisation [env var:
ROOT_ORG_NAME; default: Magenta Aps]
--municipality-code INTEGER Municipality code of the root organisation
[default: 1234]
--help Show this message and exit.
In addition to the listed environment variables, the program accepts
parameters from environment variables using the format
'OS2MO_INIT_<OPTION>'; for example 'OS2MO_INIT_MUNICIPALITY_CODE'.
Furthermore, the following environment variables are used to establish a
connection to LoRa:
CLIENT_ID [default: mo]
CLIENT_SECRET [required]
AUTH_REALM [default: lora]
AUTH_SERVER [default: http://localhost:8080/auth]
Usage
The primary usage of the tool is to initialise OS2mo's LoRa database.
docker run --rm os2mo-init --client-secret='hunter2'
Versioning
This project uses Semantic Versioning with the following strategy:
- MAJOR: Incompatible changes to existing commandline interface
- MINOR: Backwards compatible updates to commandline interface
- PATCH: Backwards compatible bug fixes
The fileformat is versioned directly, and the version is exported in the file itself.
License
- This project: MPL-2.0
This project uses REUSE for licensing. All licenses can be found in the LICENSES folder of the project.
Metadata
Release files for os2mo-init 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| os2mo-init-0.0.3.tar.gz | 4.9 kB | Without provenance | Details for os2mo-init-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| os2mo_init-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for os2mo_init-0.0.3-py3-none-any.whl |
Total release size: 16.3 kB
Release files / os2mo-init-0.0.3.tar.gz
| Download URL | os2mo-init-0.0.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
350dcfc597d7606befb65bf63d9a604c917aa68af79e5bf86ec80efdda4a7d39
|
|
BLAKE2b-256 checksum How to use checksums |
4f75ede8c5f556384e3783bbe74607ae131133553a115aba2d1270966cb36077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.9 CPython/3.9.7 Linux/5.4.0-1049-gcp
|
Release files / os2mo_init-0.0.3-py3-none-any.whl
| Download URL | os2mo_init-0.0.3-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bcf7a16f0cbe20d1dea812cf6937d618025b09849154c5690e72f8832b0cc76
|
|
BLAKE2b-256 checksum How to use checksums |
b9c2e5d3a0af7483b87f06c619f845271cf36363fef11bf93596185e1cfc8f88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.9 CPython/3.9.7 Linux/5.4.0-1049-gcp
|
Security for os2mo-init 0.0.3
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.