Skip to main content

Create Python Script CLI

Project description

My logo

in development

PyPlater is a Python CLI Tool to generate, build, and create boilerplate code for python projects Including linting, formatting, unit testing, and package managing from prebuilt and your own custom templates

Get Setup

Install PyPlater

$ pip install pyplater-cli

Commands

PyPlater Create

PyPlater Create

Options

  • --name: Project Name
  • --template: Project Template

Example

$ pyplater create --name your_project --type starter

Pyplater Save

Save project directorys as snippets or templates

PyPlater Save

Options

  • [Directory]: the directory you with to copy
  • [Name]: the name of the new template/snippet
  • --type: (template, snippet)

Example

$ pyplater save ./your_project newTemplate --type template

PyPlater Add

Add snippet files to existing projects

PyPlater Create

Options

  • --snippet: Library for the chosen content

Example

$ pyplater add --snippet pytest

Starter Snippets

  • pytest
  • unittest
  • pip
  • poetry
  • sqlalchemy

PyPlater View

View all saved snippets/templates or view a specific snippet's/template's file structure

PyPlater View

Options

  • [Type]: (snippets, templates)
  • --name: specific tamplate or snippet

Examples

$ pyplater view snippets

$ pyplater view templates --name your_project

PyPlater Run

Define commands in the pyproject.toml to run your custom scripts with pyplater

$ pyplater run script
$ pyplater run test

pyproject.toml

[pyplater.scripts]
script = "python ./main/script/main.py"
test = "python -m unittest:discover tests/"

PyPlater Remove

Remove Templates and/or Snippets from your device

Options

  • [Name]: name of the template/snippet
  • --type: (template, snippet)

Example

$ pyplater remove your_project --type template

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

pyplater_cli-0.0.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

pyplater_cli-0.0.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file pyplater_cli-0.0.1.tar.gz.

File metadata

  • Download URL: pyplater_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.5 Windows/10

File hashes

Hashes for pyplater_cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3a5c1cc054381c92ad1213a90793159f97dcd5277aea57a91a4668053dce9557
MD5 a35dee37eb9351df5d1ef1eaac64e48d
BLAKE2b-256 b4e8e1840336151d1c6f8175bd2424a78c23b4926f979c88ad65024709511333

See more details on using hashes here.

File details

Details for the file pyplater_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyplater_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.5 Windows/10

File hashes

Hashes for pyplater_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 faba6a27c502534cbd0452edd49738220e1c5f9a14f535f56d7e2ad395db9f8e
MD5 a10657e6c1baacad0a35921269322cf2
BLAKE2b-256 76cd1710782084bbae4f7204e59f8f3d6206d40593ab86e03d4aa1239720b198

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