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.23" LAST_UPDATE="21/02/2026"

  • Remove unnecessary triples in the ontological framework.
  • Corrections on the prefixes and versioning.
  • Update in the class, obj, data properties position in the document to make it more readable.

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.23.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.

ontologytoapi-0.0.23-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ontologytoapi-0.0.23.tar.gz
  • Upload date:
  • Size: 13.5 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.23.tar.gz
Algorithm Hash digest
SHA256 0455f01a34334e089acf9b2699c1bb5c2678461136a0a9af868b62eeb77cc975
MD5 e3fdd1992cc9fe25577e7bd09ea84dad
BLAKE2b-256 cacc096b48b2ca321dc9e4e870d29256dbb755b96b8999a355887a46d7134444

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ontologytoapi-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.23-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9eabf2a1f1db264a4e173d0986a909eefd1409230ed8529cd63b2e8f2b0f3e
MD5 29fab49ed33af7aa088b9196177fd27c
BLAKE2b-256 dbaec7362b29bcbf4d0ffdc987b4a7482701e635bfaa8ca0fe555c11baaa3db8

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