Skip to main content

goli

Build status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions

License

A sophisticated boilerplate generator based on best practices modern templates

NOTE: The project is heavily inspired by cookiecutter and aim to make a good collection of modern boilerplate templates that proven useful in the last years.

Installation

pip install -U goli

or install with Poetry

poetry add goli

Then you can run goli --help to show the help message on how to use the package

Usage: goli [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  languages  Show all supported programming languages
  new        Generate new boilerplate code for your project
  topics     Show all supported topics.

As you can see, goli provides three commands. The languages and topics commands are additional to get more information about how to use the package. The new command is the most important and it is used to start a new project. More on that in the next section.

Usage

goli provides the new command, which is used to create a new boilerplate depending on two optional parameters that you need to provide.

  • The language parameter, which indicates the programming language you want to use or you will use for your project. You can check supported languages if you run goli languages

  • The topic parameter, which should indicate the topic of your project. You can check the topics supported by goli if you run goli topics

goli new --language python --topic data-science

or the short version

goli new -l python -t data-science

This will pull the modern cookiecutter-data-science template (https://github.com/drivendata/cookiecutter-data-science) and execute it in your current working directory. So you don't have to search for templates since best practices are already built-in and being updated regularly.

Download files

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

Source Distribution

goli-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

goli-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file goli-0.1.0.tar.gz.

File metadata

  • Download URL: goli-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.8.0-50-generic

File hashes

Hashes for goli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f7a41f2535f5c5d91ad4c3d69988c3901e457d8a78c0cdba0dac7d4f787b5e9
MD5 79646c9e27ff987115a90f9320349b55
BLAKE2b-256 e89a68854e3e3ee020d00e8b100b25eb1593fc4fca2c1a144b2f0ada0475b77e

See more details on using hashes here.

File details

Details for the file goli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: goli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.8.0-50-generic

File hashes

Hashes for goli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc0a14abe311df868b6429f4beb83334885e88f5bd8a8c9abbbc0ecd691406d
MD5 b8fb8b90b9c3ae358bf44ef92bd8c408
BLAKE2b-256 79c8e1364846c93d7b36ae67c3ff0aef93ef00dbd310a6df9b62abc12b5468fe

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