Socket
Book a DemoInstallSign in
Socket

pygraphile

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pygraphile

A Python library inspired by PostGraphile - automatically generates GraphQL APIs from databases. Currently supports SQLite with plans for additional database support.

pipPyPI
Version
0.1.0
Maintainers
1

PyGraphile

Python Version License: MIT

A Python library inspired by PostGraphile - automatically generates GraphQL APIs from your database schema.

🚧 Project Status

This project is in early development. Currently supporting SQLite with plans to add support for PostgreSQL, MySQL, and other databases in the future.

✨ Features

  • 🗄️ Database Introspection: Automatically analyzes your database schema
  • 🔄 GraphQL API Generation: Creates a GraphQL API based on your database structure
  • 🎯 SQLite Support: Initial support for SQLite databases (more databases coming soon)
  • 🐍 Python Native: Built for Python with modern best practices
  • 📦 Easy to Use: Simple setup and configuration

🚀 Installation

Using pip

pip install pygraphile

Using uv

uv pip install pygraphile

From source

git clone https://github.com/dshaw0004/pygraphile.git
cd pygraphile
uv pip install -e .

📖 Quick Start

from pygraphile import Pygraphile

# Coming soon! Basic usage example will be:
# api = Pygraphile('path/to/database.db')
# api.serve()

🗺️ Roadmap

  • Project setup and structure
  • SQLite schema introspection
  • GraphQL schema generation
  • Query resolver implementation
  • Mutation support
  • PostgreSQL support
  • MySQL support
  • Advanced filtering and pagination
  • Authentication and authorization
  • Plugin system

🤝 Contributing

Contributions are welcome! This project is in early stages, so there's plenty of opportunity to shape its direction.

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Inspired by PostGraphile - An amazing tool for PostgreSQL
  • Built with modern Python tooling including uv

📬 Contact

Note: This project is under active development. APIs and features are subject to change.

Keywords

api

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts