-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv is an altermative to pip and offer better performance as well as being written in Rust it makes dora ecosystem in python with ruff fully rust based which increase the overall security and deployability of dora.
- Loading branch information
Showing
36 changed files
with
425 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 8 additions & 19 deletions
27
binaries/cli/src/template/python/__node-name__/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "__node-name__" | ||
version = "0.0.0" | ||
authors = ["author"] | ||
authors = [{ name = "Your Name", email = "[email protected]" }] | ||
description = "Node Name" | ||
license = "MIT License" | ||
homepage = "https://github.com/dora-rs/dora.git" | ||
documentation = "https://github.com/dora-rs/dora/blob/main/node-hub/__node-name__/README.md" | ||
license = { text = "MIT" } | ||
readme = "README.md" | ||
packages = [{ include = "__node_name__" }] | ||
requires-python = ">=3.8" | ||
|
||
[tool.poetry.dependencies] | ||
dora-rs = "^0.3.6" | ||
numpy = "< 2.0.0" | ||
pyarrow = ">= 15.0.0" | ||
python = "^3.7" | ||
dependencies = ["dora-rs >= 0.3.6"] | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = ">= 6.3.4" | ||
ruff = ">= 0.9.1" | ||
[dependency-groups] | ||
dev = ["pytest >=8.1.1", "ruff >=0.9.1"] | ||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
__node-name__ = "__node_name__.main:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.8.0"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "dora-argotranslate" | ||
version = "0.3.8" | ||
description = "Dora Node for Text translating using Argostranslate" | ||
readme = "README.md" | ||
authors = [ | ||
"Haixuan Xavier Tao <[email protected]>", | ||
"Enzo Le Van <[email protected]>", | ||
"Félix Huang <[email protected]>", | ||
{ name = "Haixuan Xavier Tao", email = "[email protected]" }, | ||
{ name = "Enzo Le Van", email = "[email protected]" }, | ||
{ name = "Félix Huang", email = "[email protected]" }, | ||
] | ||
license = { text = "MIT" } | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
|
||
packages = [{ include = "dora_argotranslate" }] | ||
dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "argostranslate >= 1.9.6"] | ||
|
||
[tool.poetry.dependencies] | ||
dora-rs = "^0.3.6" | ||
numpy = "< 2.0.0" | ||
python = "^3.7" | ||
argostranslate = "^1.9.6" | ||
[dependency-groups] | ||
dev = ["pytest >=8.1.1", "ruff >=0.9.1"] | ||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
dora-argotranslate = "dora_argotranslate.main:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.8.0"] | ||
build-backend = "poetry.core.masonry.api" |
Oops, something went wrong.