testudos 0.10.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
testudos/__init__.py ADDED
@@ -0,0 +1,101 @@
1
+ """Testudos - A testing harness for Python packages.
2
+
3
+ Testudos simplifies running your Python package's test suite across
4
+ multiple Python versions using uv's isolated environments.
5
+ """
6
+
7
+ __version__ = "0.9.0"
8
+
9
+ from testudos.config import ConfigValidationError, TestudosConfig, validate_config
10
+ from testudos.coverage import (
11
+ CoverageError,
12
+ CoverageNotAvailableError,
13
+ CoverageResult,
14
+ CoverageSummary,
15
+ check_coverage_available,
16
+ clean_coverage_data,
17
+ generate_coverage_report,
18
+ get_combined_coverage_path,
19
+ get_coverage_data_path,
20
+ list_coverage_data_files,
21
+ run_coverage_combine,
22
+ )
23
+ from testudos.executor import (
24
+ CommandValidationError,
25
+ ExecutorError,
26
+ TestResult,
27
+ TestStatus,
28
+ check_uv_available,
29
+ run_single_test,
30
+ run_tests_parallel_async,
31
+ run_tests_sequential,
32
+ validate_test_args,
33
+ validate_test_command,
34
+ validate_version,
35
+ )
36
+ from testudos.python_version import (
37
+ InvalidPythonVersionError,
38
+ PythonVersion,
39
+ )
40
+ from testudos.runner import (
41
+ RunOptions,
42
+ RunPlan,
43
+ TestRunner,
44
+ )
45
+ from testudos.versions import (
46
+ CacheConfig,
47
+ VersionResolutionError,
48
+ cache_config_context,
49
+ get_cache_config,
50
+ get_supported_python_versions,
51
+ parse_requires_python,
52
+ resolve_test_versions,
53
+ set_cache_config,
54
+ )
55
+
56
+ __all__ = [
57
+ # Config
58
+ "ConfigValidationError",
59
+ "TestudosConfig",
60
+ "validate_config",
61
+ # Coverage
62
+ "CoverageError",
63
+ "CoverageNotAvailableError",
64
+ "CoverageResult",
65
+ "CoverageSummary",
66
+ "check_coverage_available",
67
+ "clean_coverage_data",
68
+ "generate_coverage_report",
69
+ "get_combined_coverage_path",
70
+ "get_coverage_data_path",
71
+ "list_coverage_data_files",
72
+ "run_coverage_combine",
73
+ # Executor
74
+ "CommandValidationError",
75
+ "ExecutorError",
76
+ "TestResult",
77
+ "TestStatus",
78
+ "check_uv_available",
79
+ "run_single_test",
80
+ "run_tests_parallel_async",
81
+ "run_tests_sequential",
82
+ "validate_test_args",
83
+ "validate_test_command",
84
+ "validate_version",
85
+ # Python Version
86
+ "InvalidPythonVersionError",
87
+ "PythonVersion",
88
+ # Runner
89
+ "RunOptions",
90
+ "RunPlan",
91
+ "TestRunner",
92
+ # Versions
93
+ "CacheConfig",
94
+ "VersionResolutionError",
95
+ "cache_config_context",
96
+ "get_cache_config",
97
+ "get_supported_python_versions",
98
+ "parse_requires_python",
99
+ "resolve_test_versions",
100
+ "set_cache_config",
101
+ ]