Python implementation of a gitignore parser and checker
Project description
Python Template Repository
This is a template repository for Python projects that provides a starting point for designing and developing Python applications. It includes a basic project structure, configuration for continuous integration, static analysis, code formatting, and more. You can use this template as a foundation for your Python projects.
Features
- Programming Language: Python
- Runtime environment: Python v3.11.x
- Testing Framework: unittest
- Continuous Integration: GitHub Actions
- Static Analysis: Flake8
- Code Formatting: Black
- Package Manager: pip
- License: MIT License
Getting Started
To use this template for your Python project, follow these steps:
-
Fork this repository: Click the "Fork" button at the top right of this page to create a copy of this template repository in your GitHub account.
-
Clone your fork: Use
git cloneto clone the repository to your local machine:git clone https://github.com/kimonk0299/python-template.git
-
Set up virtual environment:
python -m venv .venv source .venv/bin/activate
-
Install Dependencies:
pip install -r requirements.txt
-
Add your files to
src/and unit tests totests/ -
Format code:
black . -
Run static analysis:
flake8
-
Run tests:
python -m unittest discover -s tests
-
Push code on GitHub to run CI tests on GitHub Actions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_gitignore_2-0.0.1.tar.gz.
File metadata
- Download URL: py_gitignore_2-0.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2616f693ecf014ac59764eeccc748335d4f84552fe01e31ffe93dd6a44963b28
|
|
| MD5 |
3509716b9fde8c39883c9abb5fca2f80
|
|
| BLAKE2b-256 |
239766a1e22daa1f3af0dd828c4eafb8061d30318f8e93b4590bd177f40036c6
|
File details
Details for the file py_gitignore_2-0.0.1-py3-none-any.whl.
File metadata
- Download URL: py_gitignore_2-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644bcf3a377a6adf77fffb71e652f68115920103b8a28a7efe6273c228dce298
|
|
| MD5 |
8c2636e4574ab3893185f90c518349ea
|
|
| BLAKE2b-256 |
e175e6706e9e3988cd21dd70db0eb2d86353b559259471129270c06b27fa6870
|