Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gvatsal60/pythontemplate
Quickly starting Python applications with a structured, reusable setup
https://github.com/gvatsal60/pythontemplate
pip pip3 project-template python python-3 python-script python-template python3 template
Last synced: 13 days ago
JSON representation
Quickly starting Python applications with a structured, reusable setup
- Host: GitHub
- URL: https://github.com/gvatsal60/pythontemplate
- Owner: gvatsal60
- License: apache-2.0
- Created: 2024-12-20T11:10:09.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-01-07T00:08:54.000Z (26 days ago)
- Last Synced: 2025-01-07T01:18:51.709Z (26 days ago)
- Topics: pip, pip3, project-template, python, python-3, python-script, python-template, python3, template
- Language: Makefile
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# PythonTemplate
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://img.shields.io/github/license/gvatsal60/PythonTemplate)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/gvatsal60/PythonTemplate/master.svg)](https://results.pre-commit.ci/latest/github/gvatsal60/PythonTemplate/HEAD)
[![CodeFactor](https://www.codefactor.io/repository/github/gvatsal60/PythonTemplate/badge)](https://www.codefactor.io/repository/github/gvatsal60/PythonTemplate)
![GitHub pull-requests](https://img.shields.io/github/issues-pr/gvatsal60/PythonTemplate)
![GitHub Issues](https://img.shields.io/github/issues/gvatsal60/PythonTemplate)
![GitHub forks](https://img.shields.io/github/forks/gvatsal60/PythonTemplate)
![GitHub stars](https://img.shields.io/github/stars/gvatsal60/PythonTemplate)This repository serves as a foundational template for new python projects,
equipped with essential tools for maintaining code quality and documentation consistency.
It includes:1. README.md
2. LICENSE
3. .gitignore
4. CODE_OF_CONDUCT.md
5. CONTRIBUTING.md
6. FUNDING.yml
7. CHANGELOG.md## Table of Contents
1. [Getting Started](#getting-started)
2. [Build](#build)
3. [Run](#run)
4. [Testing](#testing)
5. [Cleaning](#cleaning)## Getting Started
To get started with the project, ensure you have `Python 3` installed on your system.
## Build
To create virtualenv and install requirements for the project, run the following command:
```sh
make build
```## Run
To run the main file, use the following command:
```sh
make run
```You can also specify a particular file to run by adding the FILE variable:
Note: Path need to be mentioned if it's in a directory
```sh
make run FILE=file_name.py
or
make run FILE=app/app.py
```## Testing
To run the tests, use the following command:
```sh
make test
```You can also specify a particular file to test by adding the FILE variable:
Note: Path need to be mentioned if it's in a directory
```sh
make test FILE=file_name.py
```## Cleaning
To clean the project directory, removing all compiled Python files, use the following command:
```sh
make clean
```## Contributing
Contributions are welcome! Please read our
[Contribution Guidelines](https://github.com/gvatsal60/PythonTemplate/blob/HEAD/CONTRIBUTING.md)
before submitting pull requests.## License
This project is licensed under the Apache License 2.0 License -
see the [LICENSE](https://github.com/gvatsal60/PythonTemplate/blob/HEAD/LICENSE)
file for details.