Git Product home page Git Product logo

py-gitignore's Introduction

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

py-gitignore's People

Contributors

devonarp avatar thehanimo avatar

Watchers

 avatar

py-gitignore's Issues

Add GitignoreBuilder.build()

Parse all gitignore file contents and build an internal data structure optimised for matching an arbitrary path

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.