[project] name = "pylingual" version = "0.1.0" description = "A Python bytecode decompilation tool, supporting versions 3.6 - 3.14" authors = [{ name = "syssec-utd" }] readme = "README.md" requires-python = ">= 3.12" license = "GPL-3.0-only" keywords = [ "python", "decompilation", "pylingual", "reversing", "decompiler", "bytecode", ] dependencies = [ "asttokens", "datasets", "huggingface-hub", "matplotlib", "networkx", "numpy", "pydot", "requests", "tokenizers", "torch", "tqdm", "rich", "seqeval", "transformers", "transformers[torch]", "xdis>=6.1.4", "click", "evaluate", "tensorboardx>=2.6.4", ] [project.urls] homepage = "https://pylingual.io" [project.scripts] pylingual = "pylingual.main:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.ruff] # Exclude commonly ignored directories. exclude = [ ".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".ipynb_checkpoints", ".mypy_cache", ".nox", ".pants.d", ".pytest_cache", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv", ".vscode", "__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", "site-packages", "venv", ] target-version = "py314" line-length = 240 indent-width = 4 [tool.ruff.lint] select = ["E4", "E7", "E9", "F"] ignore = [] [tool.ruff.format] quote-style = "double" indent-style = "space" line-ending = "auto" # Like Black, respect magic trailing commas. skip-magic-trailing-comma = false # Enable auto-formatting of code examples in docstrings. Markdown, # reStructuredText code/literal blocks and doctests are all supported. # # This is currently disabled by default, but it is planned for this # to be opt-out in the future. docstring-code-format = true docstring-code-line-length = "dynamic" [tool.uv.workspace] members = [ "pylingual/tools", ] [tool.uv.sources] xdis = { git = "https://github.com/jdw170000/python-xdis", rev = "python-3.14" }