Skip to main content

Multi purpose API Generator based on an Ontology Framework.

Project description

OntologyToAPI

This python package is an ontology-driven API generator designed for backend development by transforming structured domain knowledge, different data sources and implemented business models into fully functional APIs. The tool accepts ontologies specified in Turtle (.ttl), Resource Description Framework (.rdf) and Web Ontology Language (.owl).

Publish to PyPI and TestPyPI


Expected Results from a simple ontology specification

APIEndpoints

Supported communication technologies are (Currently):

Stateful Connections

  • "SOCKET" - For Socket connections using asyncio streams

Stateless Connections

  • "API" - For REST APIs using requests driver
  • "MYSQL" - For MySQL Databases using aiomysql driver
  • "SQLITE" - For SQLite Databases using aiosqlite driver
  • "POSTGRESQL" - For PostgreSQL Databases using asyncpg driver
  • "MONGODB" - For MongoDB Databases using motor driver
  • "UNQLITE" - For UnQLite Databases using unqlite+asyncio driver

Next Steps:

Next steps involve extending the support for new communication technologies.

  • "FILE" - For File operations using aiofiles driver
  • "WEBSOCKET" - For WebSocket connections using websockets driver
  • "MQTT" - For MQTT connections using asyncio-mqtt driver
  • "REDIS" - For Redis Databases using aioredis driver
  • "CASSANDRA" - For Cassandra Databases using cassandra-driver with asyncio support

Change Log

VERSION="0.0.22" LAST_UPDATE="11/02/2026"

  • Fixed the nested model automatically generation.

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

ontologytoapi-0.0.22.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.

ontologytoapi-0.0.22-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file ontologytoapi-0.0.22.tar.gz.

File metadata

  • Download URL: ontologytoapi-0.0.22.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ontologytoapi-0.0.22.tar.gz
Algorithm Hash digest
SHA256 4210c7ecdd224db3ac8242a63a610be6e6b222fda5331a36fe2d5fa9aa8b92fe
MD5 615f06233301af2be30755e23fa4b27c
BLAKE2b-256 a8c9ae8ab16ecd579023dfe82a472244df27ff3303b5786be0a6d25c86966c3d

See more details on using hashes here.

File details

Details for the file ontologytoapi-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: ontologytoapi-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ontologytoapi-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4e4eac2b85689d14b18637c2ea8a7cb7a241e948d08220fd166913de1062b4
MD5 8cadd76927abf7491ae54874fea2c69f
BLAKE2b-256 a3b335716bbcd18d2b7e2de13d2c0adc3b4b86a723665e98fd1a4f346c75f389

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