Skip to main content

Spring Boot Code Generator

Project description

Spring Leaf

version license Supported Python Versions

🍃 Easy to use Spring Boot CLI 🍃

SpringLeaf CLI creates, manages, builds and test your SpringBoot Applications

Quickstart

To install springleaf, use pip:
$ pip install springleaf

Description

SpringLeaf is All In One CLI for your Spring Boot Applications
Some of the features are:

  • Generating DTOs, Repositories, Services, Request and Response classes out of Entity model
  • Initializing new Spring Boot project with SpringInitializr - Maven, Gradle (not yet supported)

Usage

Code generation

spring-code-generation-example-gif

SpringInitializr

spring-initializr-example-gif

  • @TODO (custom folder structures)

Changelog

Version: 0.4.1 Bug fixes in template files:
  • Fixed import bugs in templates.
Version: 0.4 Main functionality and bug fixes:
  • Main functionality of generator works.
  • Generate files with standard or basic folder structure.
  • Autowiring when all files are selected for generation.
  • Bugfixes*
Version: 0.3 Updates and bugfixes:
  • Handled KeyboardInterrupt Exceptions
  • Added more checks for checkboxes
  • Added controller-type key so user can choose between @Controller and @RestController
  • Bugfixes
Version: 0.2 Feature release:
  • Added SpringInitializr
  • Maven is only supported for now, Gradle support will come in future relases
Version: 0.1.2 Windows:
  • Moved from PyInquirer(not in development) to questionary , error was still appearing in CommandPrompt
  • Founded out that everything works in Cmder when started in bash
  • Should be tested more on Windows
  • changed prompt_toolkit version to 3.0.2
Version: 0.1.1 Windows:
  • Error in CommandPrompt with prompt_toolkit (Exception: NoConsoleScreenBufferError), tried with version <=2.0,
    error was still appearing

Packages

Package Link Description
questionary @tmbo/questionary An easy to use python library to build pretty command line user prompts
jinja2 @noirbizarre/jinja2 Jinja2 is a template engine written in pure Python.
javalang @c2nes/javalang javalang is a pure Python library for working with Java source code
rich @willmcgugan/rich Rich is a Python library for rich text and beautiful formatting in the terminal.
pyfiglet @pwaller/pyfiglet An implementation of figlet written in Python
pyyaml @yaml/pyyaml YAML parser and emitter for Python

License

Licensed under the MIT License. Copyright 2020 Omar Iriskic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

springleaf-0.4.1.tar.gz (392.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

springleaf-0.4.1-py3-none-any.whl (194.8 kB view details)

Uploaded Python 3

File details

Details for the file springleaf-0.4.1.tar.gz.

File metadata

  • Download URL: springleaf-0.4.1.tar.gz
  • Upload date:
  • Size: 392.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for springleaf-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4478f62c296d586376dd553261a994587d878ec45fd686187f8c89f004fe7e17
MD5 0978390320b233d907067d38d304bbac
BLAKE2b-256 f88721c9e02fe33079865f4c0186c264b1ef41962ff3dda6b7dbbcd702b9d8fb

See more details on using hashes here.

File details

Details for the file springleaf-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: springleaf-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 194.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for springleaf-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 237dc5819c198d28ce8456310880e37f21c0f19c1c92f52e28f77a9a6e17e1ae
MD5 c0690fc505b71b8b95e9aff13d57bcbf
BLAKE2b-256 df797c3a636f843c788d74063735863d03919abf6579446e74a6829cef8564cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page