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.0.12
  • Build date: 2025-06-03T12:38:02.959048618Z[Etc/UTC]
  • Generator version: 7.14.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements.

Python >= 3.7

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.0.12.tar.gz (19.2 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.0.12-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mod_dlm_server-1.0.12.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for mod_dlm_server-1.0.12.tar.gz
Algorithm Hash digest
SHA256 97dcc1974632eca215757c1ec93c17541489b9a3da5081c99bb3b997043a9421
MD5 ab55d937e7cea12eb52527f17abef761
BLAKE2b-256 fa2673786adb144c1c0ca0706e6e087fcef79466bbc00c6f416098b4f89a3da4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mod_dlm_server-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e93ce1770b609ab4bd4c9b3d1c45dd8b7c71ea95fa4d572da902724d17f97fde
MD5 6a5b8c4c4a224cff35e7434dba4df9e2
BLAKE2b-256 72766c6ec36e96c920d1b33b03afc9db60ab373e72777c5215ffd4f9f1ed0d16

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