GQueryBuilder v0.0.1
GQueryBuilder is a Python package that allows easy SQLite3 Queries building & executing.
This package helps developpers who do not master the SQLite syntax.
GQueryBuilder transforms GQuery objects into SQLite3 queries.
Summary
- Presentation
- Getting started
- Features
1. Presentation
GQueryBuilder is my very first published Python package. It is designed for developpers who did not, and do no want to, learn the full SQLite syntax, when only a few operations are needed in their projects.
It's 'Python friendly' :
You create an object with the request parameters, it has a run() method and tadam !
You have your SQLite operation.
This package is only meant to be used with SQLite3 databases only (for the moment)
2. Getting started
A bit of context : You're working on your Python project and you need to send a request to a SQLite3 database.
Installation
Open a terminal window and run pip install GQueryBuiler
Create your Query
In this case, you just need to read data from the database.
Let's just create a ReadQuery instance.
First, you need to import it :
from gquerybuilder.readquery import ReadQuery
and create an instance of the class (it requires a string argument : the path to your database)
my_request = ReadQuery("path_to_database")
Now, let's give the differents 'arguments' to this request.
You need to read the 'name' field in the 'users' table.
my_request.select('name')
my_request.where(('users',))
A builder translates your query into SQLite language :
my_request.build_query()
=> your request is ready to be submitted
Just run it
my_data = my_request.run()
3. Features
This library features basic CRUD operations:
The parent class -> GQuery
This is the parent class and should not be used directly.
It contains attributes and methods shared by children class (that
means common SQLite elements to different kinds of requests.)
Create -> CreateQuery
This class implements a INSERT query.
Read -> ReadQuery
This class implements a SELECT query.
Update -> UpdateQuery
This class implements an UPDATE query.
Delete -> DeleteQuery
This class implements a DELETE query.
Metadata
Release files for GQueryBuilder 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gquerybuilder-0.0.1.tar.gz | 6.2 kB | Without provenance | Details for gquerybuilder-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gquerybuilder-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for gquerybuilder-0.0.1-py3-none-any.whl |
Total release size: 13.2 kB
Release files / gquerybuilder-0.0.1.tar.gz
| Download URL | gquerybuilder-0.0.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
369212e04e3cf74dc2ce93693a79648eb9a3e9a7cef5dc14c4cb2ea97159d0ce
|
|
BLAKE2b-256 checksum How to use checksums |
ac3cb5fff49410f1084b46727c4f93bbbf16f9f5eb8f6f162e1d16cf7e2b45ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / gquerybuilder-0.0.1-py3-none-any.whl
| Download URL | gquerybuilder-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a89d7551e0cd70ef33f61e1c8b999284d188aa02dae067d075d609ef053e017a
|
|
BLAKE2b-256 checksum How to use checksums |
49b1f0791074d4e1a2eec4061d41130dd417f4f3986632a060efd187a72a20f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for GQueryBuilder 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.