Skip to main content

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:

  1. 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.

  2. Clone your fork: Use git clone to clone the repository to your local machine:

    git clone https://github.com/kimonk0299/python-template.git
    
  3. Set up virtual environment:

    python -m venv .venv
    source .venv/bin/activate
    
  4. Install Dependencies:

    pip install -r requirements.txt
    
  5. Add your files to src/ and unit tests to tests/

  6. Format code:

    black .
    
  7. Run static analysis:

    flake8
    
  8. Run tests:

    python -m unittest discover -s tests
    
  9. Push code on GitHub to run CI tests on GitHub Actions

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

py_gitignore_2-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

py_gitignore_2-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for py_gitignore_2-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2616f693ecf014ac59764eeccc748335d4f84552fe01e31ffe93dd6a44963b28
MD5 3509716b9fde8c39883c9abb5fca2f80
BLAKE2b-256 239766a1e22daa1f3af0dd828c4eafb8061d30318f8e93b4590bd177f40036c6

See more details on using hashes here.

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

Hashes for py_gitignore_2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 644bcf3a377a6adf77fffb71e652f68115920103b8a28a7efe6273c228dce298
MD5 8c2636e4574ab3893185f90c518349ea
BLAKE2b-256 e175e6706e9e3988cd21dd70db0eb2d86353b559259471129270c06b27fa6870

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