-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (67 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tinymongo"
version = "1.2.0"
description = "A flat file drop in replacement for mongodb. Requires TinyDB"
readme = "README.md"
requires-python = ">=3.9"
authors = [ { name = "Stephen Chapman", email = "schapman1974@gmail.com" } ]
license = "MIT"
license-files = ["LICENSE.txt"]
dependencies = [
"tinydb>=3.2.1,<4",
"portalocker>=2.7.0"
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
]
[project.urls]
Homepage = "https://github.com/schapman1974/tinymongo"
Source = "https://github.com/schapman1974/tinymongo"
Roadmap = "https://github.com/schapman1974/tinymongo/blob/master/ROADMAP.md"
[project.scripts]
tinymongo = "tinymongo.cli:main"
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
[tool.mypy]
python_version = "3.9"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-q -m 'not integration and not mongodb and not legacy_mongodb'"
markers = [
"contract: shared application-facing compatibility contracts",
"integration: opt-in integration and stress tests that may be slower or resource intensive",
"legacy_mongodb: quarantined MongoDB comparisons retained only during contract migration",
"mongodb: requires a real MongoDB server selected through TINYMONGO_MONGODB_URI",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["tinymongo*"]
[tool.setuptools]
include-package-data = true
[project.optional-dependencies]
serialization = ["tinydb-serialization>=1.0.4,<2"]
duckdb = ["duckdb>=1.0.0"]
parquet = ["duckdb>=1.0.0", "pyarrow>=10.0.0"]
postgres = ["psycopg[binary]>=3.1"]
mysql = ["PyMySQL>=1.1"]
mariadb = ["PyMySQL>=1.1"]
remote-sql = ["psycopg[binary]>=3.1", "PyMySQL>=1.1"]
all = [
"tinydb-serialization>=1.0.4,<2",
"duckdb>=1.0.0",
"pyarrow>=10.0.0",
"psycopg[binary]>=3.1",
"PyMySQL>=1.1",
]