Skip to main content

A CLI tool to insert common Python syntax into files.

Project description

Python Syntax Helper CLI

Welcome to the Python Syntax Helper CLI tool! This tool allows you to quickly add commonly used Python syntax templates (such as lists, tuples, dictionaries, functions, and more) directly into your Python files. It's perfect for beginners and experienced developers alike, helping you speed up the coding process by providing quick code templates.

Project Structure

python_syntax/ ├── python_syntax/ │ ├── init.py # Initializes the module │ ├── main.py # Main logic for handling user input and syntax generation ├── setup.py # The setup script for packaging ├── pyproject.toml # Build system requirements ├── LICENSE # The project’s license (MIT License) ├── README.md # Project documentation └── MANIFEST.in # Specifies additional files to include in the distribution

Deployment

To install theb package run

  pip install python_syntax

To selct the syntax

  python_syntax

select the option according to the syntax you want to include

Welcome to Python Syntax Helper CLI!
Please select a Python syntax template to include in your file:
1. List Syntax
2. Tuple Syntax
3. Dictionary Syntax
4. Function Syntax
5. If-Else Syntax
Enter your choice (1-5): 2


Select the file you want to include the syntax

Enter the file path where you want to save this syntax (e.g., main.py): my_tuple_code.py

You can specify any valid file path to save the selected syntax template. If the file doesn't exist, it will be created. For example:

your_file.py – An existing file.
new_file.py – A new file will be created.


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

python_syntax-1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

python_syntax-1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file python_syntax-1.1.tar.gz.

File metadata

  • Download URL: python_syntax-1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.5

File hashes

Hashes for python_syntax-1.1.tar.gz
Algorithm Hash digest
SHA256 ea3ce094fe21ace59db7cf0de7b03c15ecb5f0f323f96d032b1e84ee151dd2c7
MD5 01523eded6a745b445bea9ad3ffb36a9
BLAKE2b-256 1c23ddac494e966d1c818c64d85cbb7bfa15ca11854009132ccb519e60ff1a65

See more details on using hashes here.

File details

Details for the file python_syntax-1.1-py3-none-any.whl.

File metadata

  • Download URL: python_syntax-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.5

File hashes

Hashes for python_syntax-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b94ff73b599faabe02de11dc0c1dc2bec43ae5cbe060de0a9b197e580f94caf8
MD5 4e2178161a2ba780092027956a6d3293
BLAKE2b-256 09fdcef0242030b6ff43b5887b440cdddcfdb91afa64a95556aba199e3080fd9

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