| [build-system] |
| requires = ["setuptools", "setuptools-scm", "cython", "numpy>=1.24.0"] |
| build-backend = "setuptools.build_meta" |
|
|
| [project] |
| classifiers = [ |
| "Operating System :: POSIX :: Linux", |
| "Operating System :: Microsoft :: Windows", |
| "Operating System :: MacOS", |
| "License :: OSI Approved :: MIT License", |
| "Development Status :: 3 - Alpha", |
| "Programming Language :: Python", |
| "Programming Language :: Python :: 3", |
| "Programming Language :: Python :: 3.8", |
| "Programming Language :: Python :: 3.9", |
| "Programming Language :: Python :: 3.10", |
| "Programming Language :: Python :: 3.11", |
| "Programming Language :: Python :: 3.12", |
| ] |
| name = "pyqlib" |
| dynamic = ["version"] |
| description = "A Quantitative-research Platform" |
| requires-python = ">=3.8.0" |
| readme = {file = "README.md", content-type = "text/markdown"} |
| license = { text = "MIT" } |
|
|
| dependencies = [ |
| "pyyaml", |
| "numpy", |
| |
| |
| |
| "pandas>=1.1", |
| |
| |
| |
| "mlflow", |
| "filelock>=3.16.0", |
| "redis", |
| "dill", |
| "fire", |
| "ruamel.yaml>=0.17.38", |
| "python-redis-lock", |
| "tqdm", |
| "pymongo", |
| "loguru", |
| "lightgbm", |
| "gym", |
| "cvxpy", |
| "joblib", |
| "matplotlib", |
| "jupyter", |
| "nbconvert", |
| "pyarrow", |
| "pydantic-settings", |
| "setuptools-scm", |
| ] |
|
|
| [project.optional-dependencies] |
| dev = [ |
| "pytest", |
| "statsmodels", |
| ] |
| |
| |
| |
| rl = [ |
| "tianshou<=0.4.10", |
| "torch", |
| "numpy<2.0.0", |
| ] |
|
|
| lint = [ |
| "black", |
| "pylint", |
| "mypy<1.5.0", |
| "flake8", |
| "nbqa", |
| ] |
| |
| |
| docs = [ |
| |
| |
| |
| "scipy<=1.15.3", |
| "sphinx", |
| "sphinx_rtd_theme", |
| "readthedocs_sphinx_ext", |
| "snowballstemmer<3.0", |
| ] |
| package = [ |
| "twine", |
| "build", |
| ] |
| |
| test = [ |
| "yahooquery", |
| "baostock", |
| ] |
| analysis = [ |
| "plotly", |
| "statsmodels", |
| ] |
| client = [ |
| "python-socketio<6", |
| "tables", |
| ] |
|
|
| |
| |
| |
| [tool.setuptools] |
| packages = [ |
| "qlib", |
| ] |
| license-files = [] |
|
|
| [project.scripts] |
| qrun = "qlib.cli.run:run" |
|
|
| [tool.setuptools_scm] |
| local_scheme = "no-local-version" |
| version_scheme = "guess-next-dev" |
| write_to = "qlib/_version.py" |
|
|