diff --git a/README.md b/README.md index 15005a6..d60d4b5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # plantuml2freemind [![Downloads](https://pepy.tech/badge/plantuml2freemind)](https://pepy.tech/project/plantuml2freemind) -Converts plantuml mindmaps to FreeMind .mm files. +Converts plantuml mindmaps to FreeMind .mm files (and few other formats). Created especially for [Teamlead Roadmap](https://github.com/tlbootcamp/tlroadmap) project, which stores and maintains a big community-driven roadmap in a mindmap. It's very convenient to have text plantuml as a source @@ -19,6 +19,10 @@ format and generate other required formats from it. `plantuml2freemind --help` or `python -m plantuml2freemind --help` +Convert example in one command: + +`plantuml2freemind convert examples/small_teamlead_roadmap.puml output.mm` + ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. diff --git a/poetry.lock b/poetry.lock index 9cbc050..f2d1415 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,61 +1,61 @@ [[package]] -category = "main" -description = "Classes Without Boilerplate" name = "attrs" +version = "19.3.0" +description = "Classes Without Boilerplate" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "19.3.0" [package.extras] -azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"] -dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"] docs = ["sphinx", "zope.interface"] tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"] +azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"] +dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"] [[package]] -category = "main" -description = "Cleo allows you to create beautiful and testable command-line interfaces." name = "cleo" +version = "0.7.6" +description = "Cleo allows you to create beautiful and testable command-line interfaces." +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "0.7.6" [package.dependencies] clikit = ">=0.4.0,<0.5.0" [[package]] -category = "main" -description = "CliKit is a group of utilities to build beautiful and testable command line interfaces." name = "clikit" +version = "0.4.1" +description = "CliKit is a group of utilities to build beautiful and testable command line interfaces." +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "0.4.1" [package.dependencies] pastel = ">=0.1.0,<0.2.0" pylev = ">=1.3,<2.0" [[package]] -category = "dev" -description = "A Python utility / library to sort Python imports." name = "isort" +version = "4.3.21" +description = "A Python utility / library to sort Python imports." +category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "4.3.21" [package.extras] -pipfile = ["pipreqs", "requirementslib"] pyproject = ["toml"] +pipfile = ["pipreqs", "requirementslib"] requirements = ["pipreqs", "pip-api"] xdg_home = ["appdirs (>=1.4.0)"] [[package]] -category = "dev" -description = "Optional static typing for Python" name = "mypy" +version = "0.761" +description = "Optional static typing for Python" +category = "dev" optional = false python-versions = ">=3.5" -version = "0.761" [package.dependencies] mypy-extensions = ">=0.4.3,<0.5.0" @@ -66,56 +66,57 @@ typing-extensions = ">=3.7.4" dmypy = ["psutil (>=4.0)"] [[package]] -category = "dev" -description = "Experimental type system extensions for programs checked with the mypy typechecker." name = "mypy-extensions" +version = "0.4.3" +description = "Experimental type system extensions for programs checked with the mypy typechecker." +category = "dev" optional = false python-versions = "*" -version = "0.4.3" [[package]] -category = "main" -description = "Bring colors to your terminal." name = "pastel" +version = "0.1.1" +description = "Bring colors to your terminal." +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "0.1.1" [[package]] -category = "main" -description = "A pure Python Levenshtein implementation that's not freaking GPL'd." name = "pylev" +version = "1.3.0" +description = "A pure Python Levenshtein implementation that's not freaking GPL'd." +category = "main" optional = false python-versions = "*" -version = "1.3.0" [[package]] -category = "main" -description = "YAML parser and emitter for Python" name = "pyyaml" +version = "5.3" +description = "YAML parser and emitter for Python" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -version = "5.3" [[package]] -category = "dev" -description = "a fork of Python 2 and 3 ast modules with type comment support" name = "typed-ast" +version = "1.4.1" +description = "a fork of Python 2 and 3 ast modules with type comment support" +category = "dev" optional = false python-versions = "*" -version = "1.4.1" [[package]] -category = "dev" -description = "Backported and Experimental Type Hints for Python 3.5+" name = "typing-extensions" +version = "3.7.4.3" +description = "Backported and Experimental Type Hints for Python 3.5+" +category = "main" optional = false python-versions = "*" -version = "3.7.4.1" [metadata] -content-hash = "fb0492cb94d7d7d26f2cd9b0e8f1cf9ffcb87e976bf146263fd1cefde105fa7f" +lock-version = "1.1" python-versions = "^3.7" +content-hash = "190ce71aab6daefcfcf78dee8b26e12dc6910e42fa0205bb4585edf2bec3820f" [metadata.files] attrs = [ @@ -199,7 +200,7 @@ typed-ast = [ {file = "typed_ast-1.4.1.tar.gz", hash = "sha256:8c8aaad94455178e3187ab22c8b01a3837f8ee50e09cf31f1ba129eb293ec30b"}, ] typing-extensions = [ - {file = "typing_extensions-3.7.4.1-py2-none-any.whl", hash = "sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d"}, - {file = "typing_extensions-3.7.4.1-py3-none-any.whl", hash = "sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575"}, - {file = "typing_extensions-3.7.4.1.tar.gz", hash = "sha256:091ecc894d5e908ac75209f10d5b4f118fbdb2eb1ede6a63544054bb1edb41f2"}, + {file = "typing_extensions-3.7.4.3-py2-none-any.whl", hash = "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"}, + {file = "typing_extensions-3.7.4.3-py3-none-any.whl", hash = "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918"}, + {file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"}, ] diff --git a/pyproject.toml b/pyproject.toml index 3bcefaa..df6f8cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "plantuml2freemind" -version = "0.8.0" +version = "0.8.1" description = "Converts plantuml mindmaps to freemind .mm files" authors = ["Boger "] license = "MIT" @@ -15,6 +15,7 @@ python = "^3.7" attrs = "^19.3.0" pyyaml = "^5.3" cleo = "^0.7.6" +typing-extensions = "^3.7.4" [tool.poetry.dev-dependencies] mypy = "^0.761"