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.10
  • Build date: 2025-05-13T12:46:39.592539654Z[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.10.tar.gz (13.5 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.10-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mod_dlm_server-1.0.10.tar.gz
  • Upload date:
  • Size: 13.5 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.10.tar.gz
Algorithm Hash digest
SHA256 5b74e10d74b5554289628661ed7de92c35fec18050f6b2c34feb895fd4888681
MD5 2e56d56b7d82abcd629025295be8eb4f
BLAKE2b-256 970d60869c9d093e33e0870c8448e09b01a2a01ecd1cb762bb3abd73fd2b001a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mod_dlm_server-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 409a33b1471797dc9fc53a26d788b41b64e41d56c1ed07dc6aa4bae2b17c9be2
MD5 0484371a3d30211bfff77bda125acf49
BLAKE2b-256 55fb9a3b90ff9edbc2c059d81164de5f699bceb5ee4da3ce573a28f028c65177

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