-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) · 2.19 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
[project]
name = "ibind"
version = "0.2.1"
authors = [
{ name="Voy Zan", email="voy1982@yahoo.co.uk" },
]
description = "IBind is a REST and WebSocket client library for Interactive Brokers Client Portal Web API."
readme = "README.md"
requires-python = ">=3.10"
license-files=["LICENSE"]
dependencies = [
"requests>=2.33",
"websocket-client>=1.9",
"pydantic>=2.13"
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Office/Business :: Financial :: Investment",
]
keywords=['interactive brokers', 'rest api', 'python api', 'ibkr python api', 'ibkr web api', 'ib api', 'ibkr api', 'algo trading', 'algorithmic trading', 'quant', 'trading']
[project.optional-dependencies]
oauth = [
'pycryptodome>=3.21',
'urllib3>=2.7',
]
[project.urls]
Homepage = "https://github.com/Voyz/ibind"
[tool.ruff.lint]
# Defined rules here:
# https://docs.astral.sh/ruff/rules/
select = [
"F", # pyflakes
"E", # pycodestyle - Errors
"W", # pycodestyle - Warnings
"S", # Security
"N", # pep8-naming
"PL", # pylint
]
ignore = [
"E501", # Ignore line length errors
"E712", # Ignore true-false-comparison
"PLR2004", # Ignore Pylint rule Magic Values
"PLW1508", # Ignore Environment variable default type
"PLR0913", # Too many arguments # TODO: Remove this once we have refactored the code
"PLR0915", # Too many statements # TODO: Remove this once we have refactored the code
"PLR0912", # Too many branches # TODO: Remove this once we have refactored the code
"PLW0603" # Global vars # TODO: Remove this once we have refactored the code
]
[tool.ruff]
line-length = 150
[tool.ruff.format]
quote-style = "single"
docstring-code-format = true
[tool.ruff.lint.per-file-ignores]
"test/**/*" = ["S101"] # allow plain `assert` in any test file
[build-system]
requires = [
"setuptools"
]
build-backend = "setuptools.build_meta"