mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
Turso is no longer a work-in-progress: it runs in production at multiple organizations. Align the PyPI description with the README tagline and bump the development status classifier from Alpha to Beta.
96 lines
2.4 KiB
TOML
96 lines
2.4 KiB
TOML
[build-system]
|
|
requires = ['maturin>=1.12.6,<2', 'typing_extensions']
|
|
build-backend = 'maturin'
|
|
|
|
[project]
|
|
name = 'pyturso'
|
|
description = "Turso is an in-process SQL database written in Rust, compatible with SQLite."
|
|
requires-python = '>=3.10'
|
|
classifiers = [
|
|
'Development Status :: 4 - Beta',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
'Programming Language :: Python :: 3.10',
|
|
'Programming Language :: Python :: 3.11',
|
|
'Programming Language :: Python :: 3.12',
|
|
'Programming Language :: Python :: 3.13',
|
|
'Programming Language :: Python :: 3.14',
|
|
'Programming Language :: Rust',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Operating System :: Microsoft :: Windows',
|
|
'Operating System :: MacOS',
|
|
'Topic :: Database',
|
|
'Topic :: Software Development :: Libraries',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
'Topic :: Database :: Database Engines/Servers',
|
|
]
|
|
dependencies = ['typing-extensions >=4.6.0,!=4.7.0']
|
|
dynamic = ['readme', 'version']
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"mypy==1.11.0",
|
|
"pytest==9.0.3",
|
|
"pytest-cov==5.0.0",
|
|
"ruff==0.5.4",
|
|
"coverage==7.6.1",
|
|
"maturin==1.12.6",
|
|
]
|
|
sqlalchemy = [
|
|
"sqlalchemy>=2.0.45",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/tursodatabase/turso"
|
|
Source = "https://github.com/tursodatabase/turso"
|
|
|
|
[project.entry-points."sqlalchemy.dialects"]
|
|
"sqlite.turso" = "turso.sqlalchemy:TursoDialect"
|
|
"sqlite.aioturso" = "turso.sqlalchemy:AioTursoDialect"
|
|
"sqlite.turso_sync" = "turso.sqlalchemy:TursoSyncDialect"
|
|
|
|
[tool.maturin]
|
|
bindings = 'pyo3'
|
|
module-name = "turso._turso"
|
|
|
|
[tool.pip-tools]
|
|
strip-extras = true
|
|
header = false
|
|
upgrade = false
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = 'tests'
|
|
log_format = '%(name)s %(levelname)s: %(message)s'
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.coverage.run]
|
|
source = ['turso']
|
|
branch = true
|
|
|
|
[tool.coverage.report]
|
|
precision = 2
|
|
exclude_lines = [
|
|
'pragma: no cover',
|
|
'raise NotImplementedError',
|
|
'if TYPE_CHECKING:',
|
|
'@overload',
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"coverage>=7.6.1",
|
|
"iniconfig>=2.1.0",
|
|
"maturin>=1.12.6",
|
|
"mypy>=1.11.0",
|
|
"mypy-extensions>=1.1.0",
|
|
"pluggy>=1.6.0",
|
|
"pytest>=9.0.3",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-cov>=5.0.0",
|
|
"requests>=2.32.5",
|
|
"ruff>=0.5.4",
|
|
"typing-extensions>=4.13.0",
|
|
]
|