Skip to content

Commit 93bf62f

Browse files
committed
Preparing for v1.3.0
1 parent e5261c8 commit 93bf62f

42 files changed

Lines changed: 1139 additions & 938 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coveragerc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source = sqlite_rx
55
concurrency =
66
thread
77
multiprocessing
8-
debug =
8+
debug =
99
multiproc
1010
omit =
1111
/*/tests/*
@@ -14,8 +14,8 @@ omit =
1414
/home/travis/virtualenv/*
1515
./sqlite_rx/run_client.py
1616
./sqlite_rx/start_server.py
17-
# plugins =
17+
# plugins =
1818
# billiard_coverage_plugin
1919

2020
[html]
21-
directory = htmlcov
21+
directory = htmlcov

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ start_server.py
1818
run_client.py
1919
curve_client.py
2020
.github
21-

.github/workflows/sqlite_build.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [macos-latest, windows-latest, ubuntu-latest]
12-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.9', 'pypy3.10', 'pypy3.11',
13-
'3.13t']
12+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10', 'pypy3.11']
1413

1514
steps:
1615
- name: Checkout
17-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1817

1918
- name: Setup Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2120
with:
2221
python-version: ${{ matrix.python-version }}
2322

@@ -27,10 +26,9 @@ jobs:
2726
pip install pytest coverage
2827
pip install -e .
2928
pip install coverage
30-
29+
3130
- name: Run Unittests
3231
run: |
3332
coverage run -m pytest --verbose sqlite_rx/tests
3433
coverage combine
3534
coverage report -m
36-

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ start_server.py
1515
run_client.py
1616
curve_client.py
1717
.pypy3venv/
18-

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.4.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
args: ['--maxkb=2000']
10+
- repo: https://github.com/psf/black-pre-commit-mirror
11+
rev: 24.4.2
12+
hooks:
13+
- id: black
14+
- repo: https://github.com/astral-sh/ruff-pre-commit
15+
rev: v0.0.291
16+
hooks:
17+
- id: ruff
18+
args: ["check", "--select", "I", "--fix"]

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,3 @@ RUN pip install --no-index /svc/wheels/*.whl
4040

4141
USER ${USERNAME}
4242
WORKDIR ${HOME_DIR}
43-
44-
45-
46-

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sqlite_rx
1+
# sqlite_rx
22
[![PyPI version](https://badge.fury.io/py/sqlite-rx.svg)](https://pypi.python.org/pypi/sqlite-rx) [![sqlite-rx](https://github.com/aosingh/sqlite_rx/actions/workflows/sqlite_build.yaml/badge.svg)](https://github.com/aosingh/sqlite_rx/actions) [![Downloads](https://pepy.tech/badge/sqlite-rx)](https://pepy.tech/project/sqlite-rx)
33

44

@@ -17,7 +17,7 @@
1717

1818
# Introduction
1919

20-
[SQLite](https://www.sqlite.org/index.html) is a lightweight database written in C.
20+
[SQLite](https://www.sqlite.org/index.html) is a lightweight database written in C.
2121
Python has in-built support to interact with the database (locally) which is either stored on disk or in memory.
2222

2323
With `sqlite_rx`, clients should be able to communicate with an `SQLiteServer` in a fast, simple and secure manner and execute queries remotely.
@@ -47,10 +47,10 @@ from sqlite_rx.server import SQLiteServer
4747

4848
def main():
4949

50-
# database is a path-like object giving the pathname
51-
# of the database file to be opened.
52-
53-
# You can use ":memory:" to open a database connection to a database
50+
# database is a path-like object giving the pathname
51+
# of the database file to be opened.
52+
53+
# You can use ":memory:" to open a database connection to a database
5454
# that resides in RAM instead of on disk
5555

5656
server = SQLiteServer(database=":memory:",
@@ -85,4 +85,3 @@ with client:
8585
8686
{'error': None, 'items': []}
8787
```
88-

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ services:
1010
- data:/data
1111

1212
volumes:
13-
data: {}
13+
data: {}

docker_examples/docker-compose-curvezmq.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ services:
1111
- /Users/as/.curve:/root/.curve
1212

1313
volumes:
14-
data: {}
14+
data: {}

docker_examples/docker-compose-ondisk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ services:
1010
- data:/data
1111

1212
volumes:
13-
data: {}
13+
data: {}

0 commit comments

Comments
 (0)