pygraphile 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pygraphile/__init__.py ADDED
@@ -0,0 +1,13 @@
1
+ """
2
+ PyGraphile - A Python library for automatically generating GraphQL APIs from databases.
3
+
4
+ Inspired by PostGraphile, this library introspects your database schema and
5
+ creates a GraphQL API with queries, mutations, and subscriptions.
6
+
7
+ Currently supports SQLite with plans for PostgreSQL, MySQL, and other databases.
8
+ """
9
+
10
+ __version__ = "0.1.0"
11
+ __author__ = "dshaw0004"
12
+ __all__ = ["__version__"]
13
+
pygraphile/py.typed ADDED
File without changes
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.4
2
+ Name: pygraphile
3
+ Version: 0.1.0
4
+ Summary: A Python library inspired by PostGraphile - automatically generates GraphQL APIs from databases. Currently supports SQLite with plans for additional database support.
5
+ Project-URL: Homepage, https://github.com/dshaw0004/pygraphile
6
+ Project-URL: Repository, https://github.com/dshaw0004/pygraphile
7
+ Project-URL: Issues, https://github.com/dshaw0004/pygraphile/issues
8
+ Author: dshaw0004
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: api,database,graphql,postgraphile,sqlite
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Database
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+
26
+ # PyGraphile
27
+
28
+ [![Python Version](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
29
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
30
+
31
+ A Python library inspired by [PostGraphile](https://www.graphile.org/postgraphile/) - automatically generates GraphQL APIs from your database schema.
32
+
33
+ ## 🚧 Project Status
34
+
35
+ This project is in early development. Currently supporting SQLite with plans to add support for PostgreSQL, MySQL, and other databases in the future.
36
+
37
+ ## ✨ Features
38
+
39
+ - πŸ—„οΈ **Database Introspection**: Automatically analyzes your database schema
40
+ - πŸ”„ **GraphQL API Generation**: Creates a GraphQL API based on your database structure
41
+ - 🎯 **SQLite Support**: Initial support for SQLite databases (more databases coming soon)
42
+ - 🐍 **Python Native**: Built for Python with modern best practices
43
+ - πŸ“¦ **Easy to Use**: Simple setup and configuration
44
+
45
+ ## πŸš€ Installation
46
+
47
+ ### Using pip
48
+
49
+ ```bash
50
+ pip install pygraphile
51
+ ```
52
+
53
+ ### Using uv
54
+
55
+ ```bash
56
+ uv pip install pygraphile
57
+ ```
58
+
59
+ ### From source
60
+
61
+ ```bash
62
+ git clone https://github.com/dshaw0004/pygraphile.git
63
+ cd pygraphile
64
+ uv pip install -e .
65
+ ```
66
+
67
+ ## πŸ“– Quick Start
68
+
69
+ ```python
70
+ from pygraphile import Pygraphile
71
+
72
+ # Coming soon! Basic usage example will be:
73
+ # api = Pygraphile('path/to/database.db')
74
+ # api.serve()
75
+ ```
76
+
77
+ ## πŸ—ΊοΈ Roadmap
78
+
79
+ - [x] Project setup and structure
80
+ - [ ] SQLite schema introspection
81
+ - [ ] GraphQL schema generation
82
+ - [ ] Query resolver implementation
83
+ - [ ] Mutation support
84
+ - [ ] PostgreSQL support
85
+ - [ ] MySQL support
86
+ - [ ] Advanced filtering and pagination
87
+ - [ ] Authentication and authorization
88
+ - [ ] Plugin system
89
+
90
+ ## 🀝 Contributing
91
+
92
+ Contributions are welcome! This project is in early stages, so there's plenty of opportunity to shape its direction.
93
+
94
+ 1. Fork the repository
95
+ 2. Create your feature branch (`git checkout -b feature/amazing-feature`)
96
+ 3. Commit your changes (`git commit -m 'Add some amazing feature'`)
97
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
98
+ 5. Open a Pull Request
99
+
100
+ ## πŸ“„ License
101
+
102
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
103
+
104
+ ## πŸ™ Acknowledgments
105
+
106
+ - Inspired by [PostGraphile](https://www.graphile.org/postgraphile/) - An amazing tool for PostgreSQL
107
+ - Built with modern Python tooling including [uv](https://github.com/astral-sh/uv)
108
+
109
+ ## πŸ“¬ Contact
110
+
111
+ - GitHub: [@dshaw0004](https://github.com/dshaw0004)
112
+ - Project Link: [https://github.com/dshaw0004/pygraphile](https://github.com/dshaw0004/pygraphile)
113
+
114
+ ---
115
+
116
+ **Note**: This project is under active development. APIs and features are subject to change.
@@ -0,0 +1,6 @@
1
+ pygraphile/__init__.py,sha256=msG9Gk85OdZSNmagnLYUi3IlBee31jVk03sHPwWxSyo,396
2
+ pygraphile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pygraphile-0.1.0.dist-info/METADATA,sha256=ON7YiKLbMJtWTyirin7Zib4GV_EEodsy2P-MoVhIprU,3826
4
+ pygraphile-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ pygraphile-0.1.0.dist-info/licenses/LICENSE,sha256=xCryTPmTQOxnLj0IIlXit2zUTSC7v4BpScsn7JEXwrQ,1066
6
+ pygraphile-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 dshaw0004
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.