-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (104 loc) · 3.11 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (104 loc) · 3.11 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pystardog"
version = "0.20.0"
authors = [
{name = "Stardog Union", email = "support@stardog.com"}
]
description = "Python client for Stardog Platform Endpoints and Stardog Cloud"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"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",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"requests>=2.31.0",
"requests-toolbelt>=1.0.0",
"rdflib>=6.0.0",
]
[project.urls]
Homepage = "https://github.com/stardog-union/pystardog"
Repository = "https://github.com/stardog-union/pystardog"
[project.optional-dependencies]
cloud = [
"httpx>=0.24.0",
"pydantic>=2.0.0",
]
dev = [
"pytest==8.4.1",
"pytest-asyncio==1.1.0",
"pytest-cov==6.2.1",
"black==22.3.0",
"requests-mock==1.10.0",
"respx==0.22.0",
"flake8==7.1.1",
"tox==4.2.6",
]
docs = [
"Sphinx==6.2.1",
"sphinx-rtd-theme==3.0.2",
"sphinx-autodoc-typehints==1.23.0",
"sphinx-autobuild==2021.3.14",
"recommonmark==0.5.0",
"autodoc_pydantic>=2.0.0",
]
build = [
"build>=1.0.0",
"twine>=6.1.0",
]
[tool.setuptools.packages.find]
include = ["stardog*"]
[tool.pytest.ini_options]
markers = [
"query_name: name of a stored query",
"dbname: name of a database to be created",
"options: db options",
"contents: contents to pass to the db",
"kwargs: allow extra options to database creation. (only used to add the copy_to_server flag)",
"ds_name: name of the datasource to be created",
"user_username: name of the username to be create",
"user_password: password for the user to create.",
"vgname: name of the virtual graph to be created",
"use_music_datasource: Whether we want to use the music datasource as default",
"virtual_graph_options: virtual graph options",
"mappings: mappings to be used in a VG creation",
"database_name: name of the DB to associate the VG with.",
"conn_dbname: database name to be used with the stardog client.",
]
[tool.black]
line-length = 88
target-version = ['py39']
[tool.coverage.run]
source = ["stardog"]
omit = ["*/tests/*", "*/test_*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3{13,12,11,10,9}
[testenv]
deps = -e {toxinidir}[dev]
commands = pytest -s test/test_import.py test/test_star_import.py test/test_admin_basic.py test/test_connection.py test/test_server_admin.py test/test_unit.py test/test_utils.py
[testenv:cluster]
deps = -e {toxinidir}[dev]
commands = pytest test/test_cluster.py -s
[testenv:single_node]
deps = -e {toxinidir}[dev]
commands = pytest test/test_single_node.py -s
"""