Skip to content

A pytthon implementation to host a SQLite db as an odata service

License

Notifications You must be signed in to change notification settings

Faizaanahmed/Python-SQLite-Odata

Repository files navigation

Welcome to Python-SQLite-Odata

Version Documentation Maintenance License: GPL--3.0 In Progress

This project uses python runtime to create a oData service from a SQLite file.

Prerequisites

  • python >=3.7

Install

pip install -r 'requirments.txt'

Usage

python main.py

Author

👤 Faizaan Ahmed

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

✅ Completed

  • GET method in JSON

🚧 Work In Progress

  • POST , PUT, PATCH, DELETE methods.
  • JSON and XML format
  • Filters

Environment Setup

To easily set up the development environment, a Windows batch script is provided. This script will automatically locate your Conda installation, create a new environment named pythonOdata, and install the necessary dependencies from the requirements.txt file.

Using the Batch Script

Save the script as setup_pythonOdata.bat in the same directory as your requirements.txt file. Double-click on the setup_pythonOdata.bat file to run it. The script will handle the environment setup process. Author

📝 License

Copyright © 2021 Faizaan Ahmed.

Show your support

faizaan



Updates

Output Format Feature

  • The API now supports output in both JSON and XML formats.
  • Use the $format=json query parameter to receive responses in JSON.
  • If $format is not specified or set to any value other than json, responses will be in XML format.

About

A pytthon implementation to host a SQLite db as an odata service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published