Contributors • Forks • Stargazers • Issues • MIT License • Documentation • Contact Us •
An Omnivector initiative
License Manager Simulator
A License management simulator project for testing license integration in user applications.
About The Project
The License Manager Simulator APIis an REST API that simulates a license server data for use in the development of applications which interface to the license servers.
License servers supported:
- FlexLM
- RLM
- LS-Dyna
- LM-X
- OLicense
Installation
To install this project, clone the repository and use docker-compose to run it in containers:
$ cd lm-simulator-api
$ docker-compose up
This will create a container for the API, and also a PostgreSQL container for the database.
The API will be available at http://localhost:8000/lm-sim.
Prerequisites
To use the License Manager Simulator API you must have License Manager Simulator scripts deployed together with a running License Manager Agent.
Instructions for this can be found at the License Manager documentation.
Usage
You can add/remove licenses from the license server API using the online interface at http://localhost:8000/lm-sim/docs. This helps you to make requests directly with the browser into the API, with examples.
Make sure the license name in the API matches the feature name of your license in Slurm and in the License Manager API configuration.
For example:
License Manager Simulator API:
{
"name": "abaqus",
"type": "flexlm",
"total": 1000
}
Slurm:
LicenseName=abaqus.abaqus@flexlm
Total=1000 Used=0 Free=1000 Reserved=0 Remote=yes
License Manager API configuration:
{
"id": 1,
"name": "Abaqus",
"cluster_client_id": "client_id",
"features": [
{
"id": 1,
"name": "abaqus",
"product": {
"id": 1,
"name": "abaqus"
},
"config_id": 1,
"reserved": 0,
"total": 0,
"used": 0,
"booked_total": 0
}
],
"license_servers": [
{
"id": 1,
"config_id": 1,
"host": "localhost",
"port": 8000
}
],
"grace_time": 300,
"type": "flexlm"
}
The API IP address should go into the license server section of the configuration to ensure the scripts can communicate with the API.
License
Distributed under the MIT License. See the LICENSE file for details.
Contact
Email us: Omnivector Solutions
Metadata
Release files for license-manager-simulator-api 5.0.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 | Provenance | |
|---|---|---|---|---|
| license_manager_simulator_api-5.0.0.tar.gz | 120.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| license_manager_simulator_api-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 129.3 kB
Release files / license_manager_simulator_api-5.0.0.tar.gz
| Download URL | license_manager_simulator_api-5.0.0.tar.gz |
|---|---|
| Size | 120.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb728d9d75c4f99f3ec04293296f66f0b585c09138d30ead097e45205a64af27
|
|
BLAKE2b-256 checksum How to use checksums |
48dd7f62576f201db87b4ad54b4830f4a49d1521bd13d832728b32490a9ad624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / license_manager_simulator_api-5.0.0-py3-none-any.whl
| Download URL | license_manager_simulator_api-5.0.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a332e9d3b892eab04c49f04adbf84acdec57a81fa07b9ad31be4c656d1cd70b
|
|
BLAKE2b-256 checksum How to use checksums |
742fa21a46dc3c68377d2c3c06dc33c40d072fee97f3232fc726bf84fba73c78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for license-manager-simulator-api 5.0.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.