1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
edgedb-python is the official EdgeDB driver for Python. It provides both blocking IO and asyncio implementations.
The library requires Python 3.7 or later.
Documentation
The project documentation can be found here.
Installation
The library is available on PyPI. Use pip to install it:
$ pip install edgedb
Basic Usage
import datetime
import edgedb
def main():
client = edgedb.create_client()
# Create a User object type
client.execute('''
CREATE TYPE User {
CREATE REQUIRED PROPERTY name -> str;
CREATE PROPERTY dob -> cal::local_date;
}
''')
# Insert a new User object
client.query('''
INSERT User {
name := <str>$name,
dob := <cal::local_date>$dob
}
''', name='Bob', dob=datetime.date(1984, 3, 1))
# Select User objects.
user_set = client.query(
'SELECT User {name, dob} FILTER .name = <str>$name', name='Bob')
# *user_set* now contains
# Set{Object{name := 'Bob', dob := datetime.date(1984, 3, 1)}}
# Close the client.
client.close()
if __name__ == '__main__':
main()
Development
Instructions for installing EdgeDB and edgedb-python locally can be found at edgedb.com/docs/reference/dev.
To run the test suite, run $ python setup.py test.
License
edgedb-python is developed and distributed under the Apache 2.0 license.
Release files for deepfos-edgedb 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Built distributions (wheels)
Total release size: 25.0 MB
Release files / deepfos_edgedb-1.4.0-cp312-cp312-win_amd64.whl
| Download URL | deepfos_edgedb-1.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d0c56c428406282d6b0650802d437c983bc5fef0168831e214e32cd6de157a26
|
|
BLAKE2b-256 checksum How to use checksums |
21d820f4959355618bc1cd266bb6c35d94e6e156993560a71b6d83a78385de92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp311-cp311-win_amd64.whl
| Download URL | deepfos_edgedb-1.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4a8569b3c877ddf01bd91f6df10bc8709df6a482b9ce842c60bac750b19168ea
|
|
BLAKE2b-256 checksum How to use checksums |
bc680d660a8c52bad4993bda7a1f73cc6ae242b0165954ff82ac1430ac013c30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | deepfos_edgedb-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2edea5a7dd62317795bddaf615425e62702e015b02f70dca5866871c24c1fff4
|
|
BLAKE2b-256 checksum How to use checksums |
69a57830c729d50f17f4352f8da2142c169060e00c03ca374e4fa36ad1fcaef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | deepfos_edgedb-1.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
387fa705520c75b4e4613df375176b2540858ab4876975f339a2735588a93d40
|
|
BLAKE2b-256 checksum How to use checksums |
caa983a2903ecca7a4f3e4348ab99e2965970a28e3163a7cd5bc51c5fc709a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / deepfos_edgedb-1.4.0-cp310-cp310-win_amd64.whl
| Download URL | deepfos_edgedb-1.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
13e09143ac149718ec69bfbfbb40fd7d5ccd483a04fabef589bf422112bc43f5
|
|
BLAKE2b-256 checksum How to use checksums |
a187ded6d7595b9de0cd47444bb3faf4b892ff606d4cad0733dee7de51524b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | deepfos_edgedb-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2ecb8f93383880ca86af6a1032aff066ca301f7babab29c626d2a0466fc3575e
|
|
BLAKE2b-256 checksum How to use checksums |
cb81e87e99d3ee18f3801292b87b7c2c7c5a697ff002f68020ee8c3c6bb063f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp39-cp39-win_amd64.whl
| Download URL | deepfos_edgedb-1.4.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cf7efb271f0fb38e0ca1d3cc48495d2eb00c72f8b93218879d5bd98f08360216
|
|
BLAKE2b-256 checksum How to use checksums |
c7b706f538542a626a15bf527bf4f53b26a0ccabd60bc5169b57c6d028490d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|
Release files / deepfos_edgedb-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | deepfos_edgedb-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a227e395ba381bd1f4cb90f146ee84eea86ee39272dae7859fe98351e9680ac3
|
|
BLAKE2b-256 checksum How to use checksums |
e678ffdb8a3ae17331bba5943e3c31d68806cf494973b54cc98d1d47e76a66d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.8
|