[tool.poetry] name = "radio_embed" version = "0.1.0-alpha.0" description = "radio_embed" authors = ["ffreemt"] license = "MIT" readme = "README1.md" repository = "https://github.com/ffreemt/radio-embed" [tool.poetry.dependencies] python = ">=3.8.3,<3.11" logzero = "^1.7.0" set-loglevel = "^0.1.2" icecream = "^2.1.1" install = "^1.3.5" nltk = "^3.7" scikit-learn = "^1.1.1" Pillow = "^9.1.1" huggingface-hub = "^0.5.1" sentencepiece = "^0.1.96" transformers = "^4.19.4" hf-model-s-cpu = "^0.1.1" ray = "^^1.13.0" more-itertools = "^8.13.0" about-time = "^3.1.1" protobuf = "^3.20.1" [tool.poe.executor] type = "poetry" [tool.poe.tasks] memo = "echo poe test or poetry run poe test" test = "pytest tests" pyright = "pyright radio_embed" flake8 = "flake8 radio_embed --ignore F401,E501,F841" check = ["pyright", "flake8"] export = "poetry export --without-hashes -f requirements.txt -o requirements.txt" build = "poetry build" publish = "poetry publish" release = ["test", "build", "publish"] lint = { cmd = "pylint radio_embed" } isort = "isort tests radio_embed" black = "black tests radio_embed" formt = ["isort", "black"] docstyle = "pydocstyle --convention=google tests radio_embed" prerelease = {cmd = "poetry version prerelease && sync-version"} tunnel = {cmd = "ssh -CN ip_or_hostname_defined_in_hosts -L 9091:127.0.0.1:9091"} [tool.poetry.dev-dependencies] pytest = "^7.1" flake8 = "^3.9.2" pydocstyle = "^6.1.1" toml = "^0.10.2" # tbump = "^6.3.2" poethepoet = "^0.10.0" isort = "^5.10.1" jedi-language-server = "^0.37.0" [tool.poetry.scripts] "radio-embed" = "radio_embed.__main__:app" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.pytest.ini_options] minversion = "6.0" addopts = "-ra -q --doctest-modules" log_cli = true testpaths = [ "tests", # "integration", ] [tool.black] skip-string-normalization = 0 [tool.isort] profile = "black" multi_line_output = 3