Skip to main content

Init project python

Project description

Piewuita

This is a library to init a python projects.

Features

  • Automatically create a project directory with:
    • main.py
    • readme.md
    • .gitignore
  • Initializes a virtual environment (venv) in the project.
  • Installs specified python modules and generates a requirements.txt file.
  • Sets up Git in the project directory.

Installation

Install the library

pip install piewuita

Install to development

git clone git@github.com:Fuan200/piewuita.git
cd piewuita
# optional create a virtual environment
pip install -e .

Pip with repo

pip install git+https://github.com/Fuan200/piewuita.git

Usage

The piewuita CLI simplifies project initialization. Use the following command to create a new project:

piewuita -n <project_name> [-m <module1> <module2> ...]
  • -n, --name (required): The name of the project.
  • -m, --modules (optional): A space-separated list of Python modules/libraries to install in the venv.

Examples

piewuita -n new_project
piewuita -n new_project -m Flask requests pandas

Requirements

  • Python 3
  • Git

OS

  • Linux
  • MacOS ?

Author

:blue_heart: Juan Díaz - Fuan200

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

piewuita-0.1.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

piewuita-0.1.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file piewuita-0.1.1.tar.gz.

File metadata

  • Download URL: piewuita-0.1.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for piewuita-0.1.1.tar.gz
Algorithm Hash digest
SHA256 82ae59a5e2a3d1d503938bc345b234bbefa61925598a785d64bdcc91dca43a8c
MD5 d56eb1407c7f87257806640fc863a950
BLAKE2b-256 c6ed26b5a982b8b6e6eed91e1f604837268f750381e260534fc0e5b91fb0459c

See more details on using hashes here.

File details

Details for the file piewuita-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: piewuita-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for piewuita-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8408afab3c02eb074fba1635ab1471258e1b4077ac0059520c78a77055cacb0a
MD5 fd501cbf76c55415593705800f94e69c
BLAKE2b-256 bd89d5c6be28b34a6e9aca093797e63435cf84967fca263b22f3821ff2949ee5

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