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.24" LAST_UPDATE="18/04/2026"

  • Fixed a bug in which the type as it was a rdflib object was not recognized by the fastapi auto route 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.24.tar.gz (13.6 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.24-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ontologytoapi-0.0.24.tar.gz
Algorithm Hash digest
SHA256 0cb3a534ab9128c1af5de191d9855813ff110e4920034483c018ad0f0f493cf0
MD5 75079d9ab2502620cfdbb316ba0d3e37
BLAKE2b-256 2c5383ec1d5823af92fcbda0bd0c423cfb7508f45421fe80e582930f95dbfe0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ontologytoapi-0.0.24-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.12

File hashes

Hashes for ontologytoapi-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 195e72ff138e8953edaea28a8cf931ade168738aa5077e2342426481db301f86
MD5 7e5ca4010c9a67c4940534667a1685fe
BLAKE2b-256 b10164d3107f5e20570455ee640f8ad8d8fd9af369e0d7d7a143a773de1ac405

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