Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1473 commits
Select commit Hold shift + click to select a range
3f9245a
Merge pull request #1111 from phenobarbital/dependabot/pip/oracledb-2…
phenobarbital Jun 5, 2024
6912057
Merge pull request #1109 from phenobarbital/dependabot/pip/elasticsea…
phenobarbital Jun 5, 2024
5db14bc
Bump connectorx from 0.2.3 to 0.3.3
dependabot[bot] Jun 5, 2024
4990c81
Bump hazelcast-python-client from 5.3.0 to 5.4.0
dependabot[bot] Jun 5, 2024
0268c20
checked "write" methods of scylladb, bigquery, rethinkdb and influxdb
phenobarbital Jun 5, 2024
b8f20a2
Merge pull request #1124 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jun 5, 2024
2805b44
Merge pull request #1085 from phenobarbital/dependabot/pip/tqdm-4.66.4
phenobarbital Jun 5, 2024
e982de9
Merge pull request #1045 from phenobarbital/dependabot/pip/pytest-cyt…
phenobarbital Jun 5, 2024
5a86d11
Merge pull request #1115 from phenobarbital/dependabot/pip/coverage-t…
phenobarbital Jun 5, 2024
6c952b3
Merge pull request #1121 from phenobarbital/dependabot/pip/connectorx…
phenobarbital Jun 5, 2024
3e4e7ce
Merge pull request #1123 from phenobarbital/dependabot/pip/hazelcast-…
phenobarbital Jun 5, 2024
0f55581
Bump build from 1.0.3 to 1.2.1
dependabot[bot] Jun 6, 2024
8add907
removed useless debug logging
phenobarbital Jun 8, 2024
c3b9534
Merge pull request #1133 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jun 8, 2024
42b00c0
fix on _insert_ method of model
phenobarbital Jul 2, 2024
f9d40aa
Merge pull request #1155 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jul 2, 2024
ce9261c
added enum on scylladb inserts
phenobarbital Jul 3, 2024
a59ab93
support for non-closing scylladb connections
phenobarbital Jul 5, 2024
a2c0e84
Merge pull request #1159 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jul 5, 2024
b9b17a0
add missing 'f' to error message f-strings
roymanigley Jul 6, 2024
2205c2e
working on: bigquery models
phenobarbital Jul 8, 2024
edf6ef0
method _all_ for bigquery models
phenobarbital Jul 8, 2024
44e4767
upgrade version of bigquery
phenobarbital Jul 8, 2024
41c68cb
lower timeout for connections on scylladb
phenobarbital Jul 8, 2024
75304aa
wip: bigqueru model
phenobarbital Jul 8, 2024
66ce03c
Merge pull request #1161 from roymanigley/fix-error-message-f-strings
phenobarbital Jul 8, 2024
c57029d
Merge branch 'master' of github.com:phenobarbital/asyncdb into refact…
phenobarbital Jul 8, 2024
8b5e9b6
wip: bigquery model
phenobarbital Jul 8, 2024
8636e9b
Merge pull request #1163 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jul 8, 2024
9020ab7
working version of BigQuery Model
phenobarbital Jul 10, 2024
3a21a04
fixes over bulk updating method for Model
phenobarbital Jul 10, 2024
3db4c23
Merge pull request #1165 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jul 10, 2024
3383680
Bump pyarrow from 16.0.0 to 17.0.0
dependabot[bot] Jul 16, 2024
e2140d1
removing tpc_keepidle by default in pg connector
phenobarbital Jul 23, 2024
16f0858
Merge pull request #1177 from phenobarbital/refactor-2.7-scylladb
phenobarbital Jul 23, 2024
4ad025d
fixing dependencies and some tests
phenobarbital Aug 7, 2024
2414c80
Merge pull request #1191 from phenobarbital/refactor-2.7-scylladb
phenobarbital Aug 7, 2024
753f4ec
remove bigquery dependency on Recordset
phenobarbital Aug 7, 2024
b544c7e
Merge pull request #1192 from phenobarbital/refactor-2.7-scylladb
phenobarbital Aug 7, 2024
090b95e
Bump tox from 4.6.4 to 4.18.0
dependabot[bot] Aug 14, 2024
a818436
Bump pymssql from 2.2.11 to 2.3.1
dependabot[bot] Aug 26, 2024
4264aa1
testing version
phenobarbital Aug 30, 2024
24fec96
Merge pull request #1224 from phenobarbital/refactor-2.7-scylladb
phenobarbital Aug 30, 2024
cf7abf9
Merge pull request #1216 from phenobarbital/dependabot/pip/pymssql-2.3.1
phenobarbital Aug 30, 2024
db57172
Merge pull request #1127 from phenobarbital/dependabot/pip/build-1.2.1
phenobarbital Aug 30, 2024
55765b5
upgrading libraries
phenobarbital Aug 30, 2024
4d93e3f
Merge branch 'master' of github.com:phenobarbital/asyncdb into refact…
phenobarbital Aug 30, 2024
6414ff0
Merge pull request #1171 from phenobarbital/dependabot/pip/pyarrow-17…
phenobarbital Aug 30, 2024
1ac2106
Bump black from 24.3.0 to 24.8.0
dependabot[bot] Aug 30, 2024
3cfde57
Merge pull request #1186 from phenobarbital/dependabot/pip/black-24.8.0
phenobarbital Aug 30, 2024
f51fe12
Merge branch 'master' of github.com:phenobarbital/asyncdb into refact…
phenobarbital Aug 30, 2024
de4aa80
Merge pull request #1203 from phenobarbital/dependabot/pip/tox-4.18.0
phenobarbital Aug 30, 2024
5a91838
wip: upgrades and new drivers
phenobarbital Aug 30, 2024
85aa92c
removed
phenobarbital Aug 30, 2024
721fdd1
test
phenobarbital Aug 30, 2024
7dcfda5
fix a f-string on default exception handler
phenobarbital Aug 30, 2024
021a0c2
fix handler
phenobarbital Aug 30, 2024
dc1d6bb
Merge pull request #1225 from phenobarbital/new-drivers
phenobarbital Aug 30, 2024
ceb54b3
Bump ipython from 8.24.0 to 8.27.0
dependabot[bot] Sep 2, 2024
df3e136
Bump pytest-asyncio from 0.21.1 to 0.24.0
dependabot[bot] Sep 2, 2024
78fbed0
upgrade aiomcache
phenobarbital Sep 3, 2024
f09767e
Merge pull request #1234 from phenobarbital/phenobarbital-patch-1
phenobarbital Sep 3, 2024
b8a98a6
bump version
phenobarbital Sep 3, 2024
2751490
Merge pull request #1235 from phenobarbital/phenobarbital-patch-1
phenobarbital Sep 3, 2024
a2c186b
fixing redis + aiomcache version
phenobarbital Sep 3, 2024
7e6dce0
Merge pull request #1236 from phenobarbital/new-drivers
phenobarbital Sep 3, 2024
6439860
Bump influxdb-client[async] from 1.39.0 to 1.45.0
dependabot[bot] Sep 3, 2024
c0fa1c7
Update setup.py
phenobarbital Sep 3, 2024
d0a133e
Merge pull request #1237 from phenobarbital/phenobarbital-patch-1
phenobarbital Sep 3, 2024
5e22fe7
Merge pull request #1230 from phenobarbital/dependabot/pip/influxdb-c…
phenobarbital Sep 3, 2024
2b244de
Merge pull request #1228 from phenobarbital/dependabot/pip/ipython-8.…
phenobarbital Sep 3, 2024
5575339
fixing version of libraries
phenobarbital Sep 3, 2024
0d7de05
Merge pull request #1238 from phenobarbital/new-drivers
phenobarbital Sep 3, 2024
1ac3f0e
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
dependabot[bot] Sep 3, 2024
a75895c
fix scylladb driver support
phenobarbital Sep 4, 2024
ab2a672
Merge pull request #1243 from phenobarbital/new-drivers
phenobarbital Sep 4, 2024
c6b8e5d
Merge pull request #1232 from phenobarbital/dependabot/pip/pytest-asy…
phenobarbital Sep 4, 2024
716fbcf
Bump pytest-xdist from 3.3.1 to 3.6.1
dependabot[bot] Sep 4, 2024
673e987
Bump scylla-driver from 3.26.8 to 3.26.9
dependabot[bot] Sep 4, 2024
4700dd7
Bump pyperf from 2.6.3 to 2.7.0
dependabot[bot] Sep 4, 2024
525626b
removing uvloop support
phenobarbital Sep 6, 2024
66f200f
Merge pull request #1239 from phenobarbital/dependabot/github_actions…
phenobarbital Sep 7, 2024
b50bcba
fix some libraries
phenobarbital Sep 7, 2024
c2b7484
removing uvloop from hard dependencies
phenobarbital Sep 7, 2024
31682fb
Merge pull request #1248 from phenobarbital/new-drivers
phenobarbital Sep 7, 2024
8d68a7f
downgrade release
phenobarbital Sep 7, 2024
546d243
Merge pull request #1250 from phenobarbital/phenobarbital-patch-1
phenobarbital Sep 7, 2024
5022bee
Bump aiofiles from 23.2.1 to 24.1.0
dependabot[bot] Sep 9, 2024
3b3fc0a
re-organizing the interfaces
phenobarbital Sep 9, 2024
0ac6ad2
re-organizing interfaces
phenobarbital Sep 9, 2024
546969e
fix AbstractDriver base interface
phenobarbital Sep 9, 2024
df99323
wip: interface rebuild
phenobarbital Sep 9, 2024
ed6b2b0
BasePool and BaseDriver
phenobarbital Sep 9, 2024
4ab5a89
first driver fixed: asyncpg
phenobarbital Sep 9, 2024
ece5f49
migrated memcache and redis
phenobarbital Sep 9, 2024
e3392c6
mongo and memcache
phenobarbital Sep 9, 2024
adbab90
fixing mcache
phenobarbital Sep 9, 2024
9fb9b40
mredis migration
phenobarbital Sep 9, 2024
209b407
Merge branch 'master' of github.com:phenobarbital/asyncdb into new-dr…
phenobarbital Sep 9, 2024
3d42f94
Merge pull request #1231 from phenobarbital/dependabot/pip/pytest-xdi…
phenobarbital Sep 9, 2024
286afc1
Merge pull request #1251 from phenobarbital/dependabot/pip/aiofiles-2…
phenobarbital Sep 9, 2024
50c142d
Merge pull request #1241 from phenobarbital/dependabot/pip/pyperf-2.7.0
phenobarbital Sep 9, 2024
fe17cf5
scylladb and bigquery
phenobarbital Sep 9, 2024
6b25aab
Merge pull request #1226 from phenobarbital/dependabot/pip/scylla-dri…
phenobarbital Sep 9, 2024
226e4f4
Merge branch 'master' of github.com:phenobarbital/asyncdb into new-dr…
phenobarbital Sep 9, 2024
2370731
rethinkdb
phenobarbital Sep 9, 2024
b36c21f
mysql drivers
phenobarbital Sep 9, 2024
9dde0ea
deltatables and hazelcast
phenobarbital Sep 9, 2024
2cab4f9
cassandra driver
phenobarbital Sep 9, 2024
f545a81
Merge pull request #1252 from phenobarbital/new-drivers
phenobarbital Sep 9, 2024
56df89b
fix sqlalchemy driver
phenobarbital Sep 9, 2024
a622cdf
reviewed duckdb, oracle and ms sql server drivers
phenobarbital Sep 9, 2024
daae3c3
test bigquery
phenobarbital Sep 9, 2024
02192c4
update redis driver
phenobarbital Sep 9, 2024
790d3d3
fix release github action to v4
phenobarbital Sep 10, 2024
d1153f8
checking mysql drivers
phenobarbital Sep 11, 2024
e1305ef
SQLAlchemy + MySQL Drivers fixed
phenobarbital Sep 11, 2024
be79592
testing delta-rs driver for deltatables interaction
phenobarbital Sep 11, 2024
fcb7642
clickhouse wip driver
phenobarbital Sep 12, 2024
8af8b04
Merge pull request #1260 from phenobarbital/new-drivers
phenobarbital Sep 12, 2024
1a2a69c
Bump elasticsearch[async] from 8.13.2 to 8.15.1
dependabot[bot] Sep 12, 2024
29b2c10
fix some syntax issues
phenobarbital Sep 12, 2024
97b08c4
Bump cassandra-driver from 3.29.1 to 3.29.2
dependabot[bot] Sep 12, 2024
43938dd
new drivers: elasticsearch, aioch, clickhouse
phenobarbital Sep 15, 2024
1413ee1
Merge pull request #1254 from phenobarbital/dependabot/pip/elasticsea…
phenobarbital Sep 15, 2024
05dee97
Bump motor from 3.4.0 to 3.5.1
dependabot[bot] Sep 15, 2024
334fc18
Merge pull request #1267 from phenobarbital/new-drivers
phenobarbital Sep 15, 2024
33a5bc4
bump version for fix dependencies
phenobarbital Sep 17, 2024
310529d
Merge pull request #1271 from phenobarbital/new-drivers
phenobarbital Sep 17, 2024
6b962f4
Merge pull request #1256 from phenobarbital/dependabot/pip/motor-3.5.1
phenobarbital Sep 17, 2024
08d2798
Merge pull request #1263 from phenobarbital/dependabot/pip/cassandra-…
phenobarbital Sep 17, 2024
223482e
fix blocking JVM issues on JDBC driver
phenobarbital Sep 23, 2024
74c26e3
fix dependencies on JDBC driver
phenobarbital Sep 23, 2024
d5dbcd2
MongoDB driver
phenobarbital Sep 23, 2024
20f9276
Oracle Driver
phenobarbital Sep 23, 2024
7f800a9
Oracle Driver using oracledb
phenobarbital Sep 23, 2024
ac2905e
Merge pull request #1279 from phenobarbital/new-drivers
phenobarbital Sep 23, 2024
5b877eb
Update README.md
phenobarbital Sep 23, 2024
027ec41
Bump pymongo from 4.6.1 to 4.10.1
dependabot[bot] Oct 2, 2024
dffac1f
aplying format with black
phenobarbital Oct 12, 2024
fcc51bb
upgraded version of boto3
phenobarbital Oct 14, 2024
5e7ee6f
Merge pull request #1310 from phenobarbital/new-drivers
phenobarbital Oct 14, 2024
0ba3a83
Merge pull request #1292 from phenobarbital/dependabot/pip/pymongo-4.…
phenobarbital Oct 14, 2024
e422c87
fix error on setup
phenobarbital Oct 14, 2024
6eb8c49
Merge pull request #1311 from phenobarbital/new-drivers
phenobarbital Oct 14, 2024
4cbdb53
return exceptions on Execute commands for postgresql (asyncpg driver)
phenobarbital Oct 24, 2024
17f48c0
Merge pull request #1320 from phenobarbital/new-drivers
phenobarbital Oct 24, 2024
f55b899
added exceptions to Copy into table method for asyncpg
phenobarbital Oct 24, 2024
9ae076c
Merge pull request #1321 from phenobarbital/new-drivers
phenobarbital Oct 24, 2024
a3e8ab3
test copy into table methods for asyncpg
phenobarbital Oct 24, 2024
bb0a447
fix on rethinkdb
phenobarbital Oct 24, 2024
3c70420
Merge branch 'master' into new-drivers
phenobarbital Oct 24, 2024
0d657ad
Update asyncdb/drivers/pg.py
phenobarbital Oct 24, 2024
ce18ef0
Merge pull request #1324 from phenobarbital/new-drivers
phenobarbital Oct 24, 2024
0712d3e
bump version
phenobarbital Nov 2, 2024
1a588f2
Merge pull request #1331 from phenobarbital/new-drivers
phenobarbital Nov 2, 2024
f747329
preparing new versions for 3.13 support
phenobarbital Nov 2, 2024
1e8d7b8
fix version of pypolars
phenobarbital Nov 11, 2024
fd19461
Merge pull request #1336 from phenobarbital/py313-support
phenobarbital Nov 11, 2024
930eea2
requirements for bigquery
phenobarbital Dec 9, 2024
baa5628
adding conversion of enum on postgresql data types
phenobarbital Dec 19, 2024
335524c
Merge pull request #1360 from phenobarbital/py313-support
phenobarbital Dec 19, 2024
11583c4
fix datamodel imports
phenobarbital Jan 2, 2025
190660a
Merge pull request #1367 from phenobarbital/py313-support
phenobarbital Jan 2, 2025
1c7bf11
Update version.py
phenobarbital Jan 2, 2025
889b872
Merge pull request #1368 from phenobarbital/bump-version
phenobarbital Jan 2, 2025
22ed0ab
Bump clickhouse-connect from 0.7.19 to 0.8.13
dependabot[bot] Jan 8, 2025
9a0a288
new MongoDB driver using Motor
phenobarbital Jan 10, 2025
e014c8b
added support for documentDB
phenobarbital Jan 10, 2025
eaa8211
Merge branch 'master' into py313-support
phenobarbital Jan 10, 2025
2481828
Merge pull request #1374 from phenobarbital/py313-support
phenobarbital Jan 10, 2025
3200403
Bump mysqlclient from 2.2.0 to 2.2.7
dependabot[bot] Jan 10, 2025
a7b44ea
repair _dsn_template on some drivers
phenobarbital Jan 10, 2025
1beb67c
new stream_query from using copy_from_query to create a dataframe in …
phenobarbital Jan 24, 2025
4a32c24
wip: test converters
phenobarbital Jan 27, 2025
997772c
tests using Motor and AWS DocumentDB
phenobarbital Feb 4, 2025
1c69587
small fix to work with arrow tables in mongo.write()
phenobarbital Feb 14, 2025
dc87f43
added support for python 3.13
phenobarbital Feb 19, 2025
3a10b65
postgres
phenobarbital Feb 19, 2025
cb6ea9c
fix versions related to python +3.13
phenobarbital Feb 19, 2025
461bb0b
added support for custom json decoder on rethinkdb driver
phenobarbital Feb 25, 2025
b70dbe6
capture error on bigquery write()
phenobarbital Feb 25, 2025
cb8f3ea
testing saving data into documentdb
phenobarbital Feb 26, 2025
82afac4
mongodb write, query and fetch
phenobarbital Feb 26, 2025
e3cec29
working on mongodb
phenobarbital Feb 26, 2025
5356971
fix on bigquery to support append or replace on write()
phenobarbital Mar 4, 2025
8eedeb4
avoid building pypy on windows
phenobarbital Mar 5, 2025
17fa75b
test release
phenobarbital Mar 5, 2025
9a8454e
test
phenobarbital Mar 5, 2025
1d9d7e0
fix some tests
phenobarbital Mar 21, 2025
0248813
fix output formats to be compatible with bigquery row iterator
phenobarbital Mar 21, 2025
7bfab00
fix dependencies
phenobarbital Apr 10, 2025
b6a92e6
fix google dependencies
phenobarbital Apr 15, 2025
990d9d0
fix polars dependency
phenobarbital Apr 15, 2025
f4868f5
transform None and datetime type to valid SQL values
willicab Apr 24, 2025
5970aa7
Add parametric query
willicab Apr 25, 2025
a7e00d8
Merge pull request #1378 from willicab/fix-bigquery-sql-update
phenobarbital Apr 25, 2025
75eb7ea
changes on bigquery driver
phenobarbital Apr 25, 2025
5fbb297
Merge pull request #1372 from phenobarbital/dependabot/pip/clickhouse…
phenobarbital May 19, 2025
d75e270
Merge pull request #1375 from phenobarbital/dependabot/pip/mysqlclien…
phenobarbital May 19, 2025
76934c6
upgrade libraries
phenobarbital May 19, 2025
b45fccb
upgraded
phenobarbital May 19, 2025
ba2ba4e
Merge branch 'master' of github.com:phenobarbital/asyncdb
phenobarbital May 19, 2025
3cb1d11
bump version
phenobarbital May 19, 2025
4d628b5
upgraded version of pandas-gbq
phenobarbital May 19, 2025
f70fdbe
supporting or conditions on models
phenobarbital Aug 11, 2025
45a1e11
Merge pull request #1434 from phenobarbital/or_conditions
phenobarbital Aug 11, 2025
6aae646
Update release.yml
phenobarbital Aug 11, 2025
36fb8e7
Merge pull request #1435 from phenobarbital/phenobarbital-patch-1
phenobarbital Aug 11, 2025
7490f6d
Bump black from 24.8.0 to 25.9.0
dependabot[bot] Sep 19, 2025
1e7d467
arangodb driver
phenobarbital Oct 5, 2025
4f6c847
new arangodb driver
phenobarbital Oct 5, 2025
e48470f
test for full-text and vector search on arangodb
phenobarbital Oct 5, 2025
b6082e9
Merge pull request #1462 from phenobarbital/or_conditions
phenobarbital Oct 5, 2025
b8473fc
added support to opensearch to elastic driver
phenobarbital Nov 27, 2025
0017c2a
Merge pull request #1476 from phenobarbital/or_conditions
phenobarbital Nov 27, 2025
7e1d8da
wip
phenobarbital Dec 8, 2025
8c10b63
Merge pull request #1477 from phenobarbital/or_conditions
phenobarbital Dec 8, 2025
3092412
asyncdb migrated to "uv"
phenobarbital Dec 8, 2025
f1e6593
added new async-context manager for asyncdb
phenobarbital Dec 9, 2025
bc3ac0b
fixing tests removing datatable from dependencies
phenobarbital Dec 9, 2025
19daa0d
fixing some tests
phenobarbital Dec 9, 2025
ed0294b
Merge pull request #1478 from phenobarbital/or_conditions
phenobarbital Dec 9, 2025
73abe54
added fix on sa driver
phenobarbital Dec 9, 2025
0732b58
Merge pull request #1479 from phenobarbital/or_conditions
phenobarbital Dec 9, 2025
979ed88
add limit support to mongodb driver
phenobarbital Dec 10, 2025
88275b5
Update asyncdb/drivers/mongo.py
phenobarbital Dec 10, 2025
5c8a702
Merge pull request #1480 from phenobarbital/or_conditions
phenobarbital Dec 10, 2025
66672f0
fixes on arango to support jwt auth
phenobarbital Dec 11, 2025
011b7a3
changes on arangodb
phenobarbital Dec 11, 2025
4cd8669
Merge pull request #1481 from phenobarbital/or_conditions
phenobarbital Dec 11, 2025
526728f
Handle empty pandas output without error
phenobarbital Dec 16, 2025
a12c39f
Merge pull request #1482 from phenobarbital/codex/investigate-empty-d…
phenobarbital Dec 16, 2025
e61fc2c
Bump version: 2.13.2 -> 2.14.0
phenobarbital Feb 12, 2026
d861993
migrated arangodb to async pure version
phenobarbital Feb 13, 2026
15ff7bc
Merge pull request #1483 from phenobarbital/or_conditions
phenobarbital Feb 13, 2026
1a89c07
bump version
phenobarbital Feb 13, 2026
228dbba
Merge pull request #1484 from phenobarbital/or_conditions
phenobarbital Feb 13, 2026
0dae110
feat(redpanda): add async Redpanda driver with aiokafka
phenobarbital Feb 21, 2026
3e43ed5
Initial plan
Copilot Feb 21, 2026
0cb0eee
Initial plan
Copilot Feb 21, 2026
70dac6d
Update tests/test_redpanda.py
phenobarbital Feb 21, 2026
9866cbd
Merge pull request #1487 from phenobarbital/copilot/sub-pr-1485-again
phenobarbital Feb 21, 2026
8ab795e
Merge pull request #1486 from phenobarbital/copilot/sub-pr-1485
phenobarbital Feb 21, 2026
69d60bb
Merge pull request #1485 from phenobarbital/codex/add-async-driver-fo…
phenobarbital Feb 21, 2026
263aea2
fix issues on elastic driver
phenobarbital Feb 21, 2026
e178f13
Merge pull request #1488 from phenobarbital/or_conditions
phenobarbital Feb 21, 2026
088732e
Merge pull request #1458 from phenobarbital/dependabot/pip/black-25.9.0
phenobarbital Feb 21, 2026
df06f63
Delete libraries directory
phenobarbital Feb 22, 2026
73682ab
Bump black from 25.9.0 to 26.3.1 in /docs
dependabot[bot] Mar 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[bumpversion]
current_version = 2.14.0
commit = True
tag = True

[bumpversion:file:setup.py]

[bumpversion:file:asyncdb/version.py]
8 changes: 8 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
max-line-length = 120
max-complexity = 22
select = B,C,E,F,W,T4,B9
ignore = E203, E302, E261, E266, E501, W503, F403, F401, F811
per-file-ignores =
# imported but unused
__init__.py: F401
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
80 changes: 80 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
# ******** NOTE ********

name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '42 16 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'python', 'nim', 'rust', 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
python-version: [3.9]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
sudo -H apt-get install python3.8-dev build-essential libssl-dev libffi-dev unixodbc unixodbc-dev -y
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
setup-python-dependencies: true

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Python style check
run: |
sudo -H apt-get install python3.9-dev build-essential libssl-dev libffi-dev unixodbc unixodbc-dev -y
uses: bulv1ne/python-style-check@v0.3
105 changes: 105 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: Python package build and publish

on:
release:
types: [created]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine cibuildwheel

- name: Build wheels
env:
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_LINUX: "auto64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_SKIP: "pp* *-win32 *i686 *musllinux*"
CIBW_PRERELEASE_PYTHONS: "0"
run: |
cibuildwheel --output-dir dist

- name: Upload wheel artifacts
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: dist/*.whl

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v4.1.7
with:
path: dist

- name: Move wheel files to 'dist' directory
run: |
find dist -name '*.whl' -exec mv {} dist \;

- name: Check for wheel types
id: check_wheels
run: |
echo "Checking for wheel types..."
if ls dist/*-manylinux*.whl 1> /dev/null 2>&1; then
echo "Found manylinux wheels."
echo "HAS_MANYLINUX_WHEELS=true" >> $GITHUB_ENV
fi
if ls dist/*-win_*.whl 1> /dev/null 2>&1; then
echo "Found Windows wheels."
echo "HAS_WINDOWS_WHEELS=true" >> $GITHUB_ENV
fi
if ls dist/*-macosx_*.whl 1> /dev/null 2>&1; then
echo "Found macOS wheels."
echo "HAS_MACOS_WHEELS=true" >> $GITHUB_ENV
fi

- name: List files in dist
run: ls -l dist

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'

- name: Install twine
run: pip install twine

- name: Publish manylinux wheels to Production PyPI
if: env.HAS_MANYLINUX_WHEELS == 'true'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.ASYNCDB_PYPI_API_TOKEN }}
run: twine upload dist/*-manylinux*.whl

- name: Publish Windows wheels to Production PyPI
if: env.HAS_WINDOWS_WHEELS == 'true'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.ASYNCDB_PYPI_API_TOKEN }}
run: twine upload dist/*-win_*.whl

- name: Publish macOS wheels to Production PyPI
if: env.HAS_MACOS_WHEELS == 'true'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.ASYNCDB_PYPI_API_TOKEN }}
run: twine upload dist/*-macosx_*.whl
30 changes: 23 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,36 @@ __pycache__
# C extensions
*.so
*.pyc
# External Extensions


# Migrations Folder
migrations/
migrations/*
apps/troc/migrations/
apps/troc/migrations/__init__.py

bin/
bin/jar/
# Distribution / packaging
.Python
env/
.venv/
.venv/*
.venv12/
.venv12/*
.troc/
develop-eggs/
#dist/
dist/
dist/*
downloads/
eggs/
.eggs/
#lib/
lib64/
parts/
sdist/
dist/
build/
var/
wheels/
*.egg-info/
Expand Down Expand Up @@ -109,11 +118,6 @@ ENV/
# Rope project settings
.ropeproject

# Docker
docker/
db-docker/
docker-compose.yml
Dockerfile

#tmp files
files/
Expand All @@ -122,6 +126,7 @@ files/
# dumps de bd
*.backup
*.dump
docs/

# Translations
*.mo
Expand All @@ -144,3 +149,14 @@ target/

# Mac
.DS_Store
etc/
env/
*.cpp
*.c
asyncdb/utils/types.cpp
asyncdb/exceptions/exceptions.c
docs/nyc_taxi/*

# uv-related
uv.lock
asyncdb/_version.py
5 changes: 5 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[settings]
line_length = 120
multi_line_output = 3
include_trailing_comma = True
known_third_party = aiohttp,environ,pytz,redis,requests,asyncpg
Loading