Skip to main content

mod-dlm-server is an open-source REST server for storing and querying element data described using the mod-dlm domain-specific language (DSL).

Project description

mod-dlm-logo

mod-dlm-fastapi-server

build status PyPI - Version License

mod-dlm-server is an open-source REST server for storing and querying element data described using the mod-dlm domain-specific language (DSL). This project provides tools for defining entity models and automatically generating CRUD APIs, enabling suppliers to create and manage catalogs of their products easily.

You can always find the most up-to-date API documentation here: mod-dlm API Docs

The server is generated automatically using the OpenAPI Generator.

  • API version: 1.1.1
  • Build date: 2026-03-04T15:05:11.227592151Z[Etc/UTC]
  • Generator version: 7.21.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements.

Python >= 3.10

Installation & Usage

To run the server, please execute the following from the root directory:

pip install -r requirements.txt
PYTHONPATH=src uvicorn mod_dlm_server.main:app --host 0.0.0.0 --port 8080

and open your browser at http://localhost:8080/docs/ to see the docs.

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

docker-compose up --build

Tests

To run the tests:

pip install pytest
PYTHONPATH=src pytest tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mod_dlm_server-1.1.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mod_dlm_server-1.1.1-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

Details for the file mod_dlm_server-1.1.1.tar.gz.

File metadata

  • Download URL: mod_dlm_server-1.1.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mod_dlm_server-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4493fee7fd123f1e6814851830c5d11170dd6e94230fe9a07b67f0302a9b0c41
MD5 56485df0295c54c71b3ced1f2f07c31a
BLAKE2b-256 de736b74585e5fa501d4278ad50cb6cf329bf401f0513dcb6f75a75824a83967

See more details on using hashes here.

File details

Details for the file mod_dlm_server-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: mod_dlm_server-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 54.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mod_dlm_server-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 29fc674a7924f8e1f76412de59739d8b396b7f39fcdd7694db595cf4721c2f95
MD5 8febc5069361015739310347b144e4d2
BLAKE2b-256 87dcf2bae813b4f6c57ce28073e7d311d2fb14eea67176c820752a09889dbd5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page