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 build status npm 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.7
  • Build date: 2024-07-29T09:41:05.228014866Z[Etc/UTC]
  • Generator version: 7.8.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:

pip3 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.6.tar.gz (13.4 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.6-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mod_dlm_server-1.0.6.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for mod_dlm_server-1.0.6.tar.gz
Algorithm Hash digest
SHA256 13268033bc39a3afaf6c9dd61b0cf88878deeb58a2a0a5845560ad853bf5026c
MD5 773be881e090e9fa50d558bb9bd3ff13
BLAKE2b-256 c90e09660fe040433559e19f71e8ee0fe6090b337e5c3ac7ded2363e130f0dbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mod_dlm_server-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for mod_dlm_server-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6916a907c9cdcada424d18952771e96b9b5b14594eb4ec49bfc9ec829d4b7312
MD5 4c21fba055249f0a8f051c47db414f5b
BLAKE2b-256 24601760c93381e7e18709b92f28eef838a88e34f03ac9f5368af9b0d1e8dc96

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