1- [tool . poetry ]
1+ [project ]
22name = " simvue"
3- version = " 1.1.4 "
3+ version = " 2.0.0a0 "
44description = " Simulation tracking and monitoring"
5- authors = [" Simvue Development Team <info@simvue.io>" ]
5+ authors = [
6+ {name = " Simvue Development Team" , email = " info@simvue.io" }
7+ ]
68license = " Apache v2"
9+ requires-python = " >=3.10,<3.14"
710readme = " README.md"
8- homepage = " https://simvue.io"
9- repository = " https://github.com/simvue-io/python-api"
10- documentation = " https://docs.simvue.io"
1111classifiers = [
1212 " Development Status :: 5 - Production/Stable" ,
1313 " Intended Audience :: Science/Research" ,
@@ -33,34 +33,37 @@ keywords = [
3333 " alerting" ,
3434 " metrics-gathering"
3535]
36+ dependencies = [
37+ " requests (>=2.32.3,<3.0.0)" ,
38+ " pydantic (>=2.10.6,<3.0.0)" ,
39+ " tabulate (>=0.9.0,<0.10.0)" ,
40+ " msgpack (>=1.1.0,<2.0.0)" ,
41+ " pyjwt (>=2.10.1,<3.0.0)" ,
42+ " pandas (>=2.2.3,<3.0.0)" ,
43+ " toml (>=0.10.2,<0.11.0)" ,
44+ " click (>=8.1.8,<9.0.0)" ,
45+ " gitpython (>=3.1.44,<4.0.0)" ,
46+ " humanfriendly (>=10.0,<11.0)" ,
47+ " randomname (>=0.2.1,<0.3.0)" ,
48+ " codecarbon (>=2.8.3,<3.0.0)" ,
49+ " numpy (>=2.2.2,<3.0.0)" ,
50+ " flatdict (>=4.0.1,<5.0.0)" ,
51+ " semver (>=3.0.4,<4.0.0)" ,
52+ " email-validator (>=2.2.0,<3.0.0)" ,
53+ " psutil (>=6.1.1,<7.0.0)" ,
54+ " tenacity (>=9.0.0,<10.0.0)" ,
55+ " typing-extensions (>=4.12.2,<5.0.0) ; python_version < \" 3.11\" " ,
56+ ]
3657
37- [tool .poetry .dependencies ]
38- python = " ^3.10,<3.14"
39- dill = " ^0.3.7"
40- requests = " ^2.31.0"
41- msgpack = " ^1.0.7"
42- tenacity = " >=8.2.3,<10.0.0"
43- PyJWT = " ^2.8.0"
44- psutil = " >=5.9.8,<7.0.0"
45- pydantic = " ^2.5.3"
46- pandas = " ^2.2.0"
47- plotly = {version = " >=5.18,<7.0" , optional = true }
48- matplotlib = {version = " ^3.8.2" , optional = true }
49- typing_extensions = { version = " ^4.11.0" , python = " <3.10" }
50- toml = " ^0.10.2"
51- click = " ^8.1.7"
52- gitpython = " ^3.1.43"
53- humanfriendly = " ^10.0"
54- tabulate = " ^0.9.0"
55- randomname = " ^0.2.1"
56- codecarbon = " ^2.7.1"
57- numpy = " ^2.1.2"
58- semver = " ^3.0.2"
58+ [project .urls ]
59+ homepage = " https://simvue.io"
60+ repository = " https://github.com/simvue-io/python-api"
61+ documentation = " https://docs.simvue.io"
5962
60- [tool . poetry . extras ]
61- plot = [" matplotlib " , " plotly " ]
63+ [project . optional-dependencies ]
64+ plot = [" plotly (>=6.0.0,<7.0.0) " , " matplotlib (>=3.10.0,<4.0.0) " ]
6265
63- [tool . poetry .scripts ]
66+ [project .scripts ]
6467simvue_sender = " simvue.bin.sender:run"
6568
6669[tool .poetry .group .dev .dependencies ]
@@ -72,16 +75,13 @@ pytest-mock = "^3.14.0"
7275pytest-sugar = " ^1.0.0"
7376pytest-xdist = " ^3.6.1"
7477jinja2 = " ^3.1.4"
78+ types-requests = " ^2.32.0.20241016"
79+ interrogate = " ^1.7.0"
7580
7681[build-system ]
7782requires = [" poetry-core" ]
7883build-backend = " poetry.core.masonry.api"
7984
80- [[tool .poetry .source ]]
81- name = " PyPI"
82- priority = " primary"
83-
84-
8585[tool .ruff ]
8686lint.extend-select = [" C901" , " T201" ]
8787lint.mccabe.max-complexity = 11
@@ -93,6 +93,7 @@ testpaths = [
9393 " tests"
9494]
9595markers = [
96+ " codecarbon: tests for emission metrics" ,
9697 " client: tests of Simvue client" ,
9798 " converters: tests for Simvue object converters" ,
9899 " dispatch: test data dispatcher" ,
@@ -104,11 +105,17 @@ markers = [
104105 " api: tests of RestAPI functionality" ,
105106 " unix: tests for UNIX systems only" ,
106107 " metadata: tests of metadata gathering functions" ,
107- " proxies: tests for remote/offline Simvue proxies"
108+ " proxies: tests for remote/offline Simvue proxies" ,
109+ " online: tests for online functionality" ,
110+ " offline: tests for offline functionality" ,
111+ " local: tests of functionality which do not involve a server or writing to an offline cache file"
108112]
109113
110114[tool .interrogate ]
111115ignore-init-method = true
112116fail-under = 95
113117verbose = 1
114118exclude = [" docs" , " tests" ]
119+
120+ [tool .mypy ]
121+ ignore_missing_imports = true
0 commit comments