8000 GitHub - cicerohr/python_template: Template for Python projects. · GitHub
[go: up one dir, main page]

Skip to content

cicerohr/python_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for Python projects

Model for new projects in Python aiming to facilitate and standardize the creation of projects with the PyCharm IDE.

Features

  • Project configuration file setup.py.
  • Compressed file of IDE settings (settings.zip) File -> Manage IDE Settings -> Import Settings...
  • Folder for documentation using MkDocs. Configuration file mkdocs.yml.
  • Log folder using Loguru for logging. Configuration file (loguru_conf.py).
  • Folder for testing using unittest.
  • .gitignore file generated by Toptal with python and pycharm+all tags.
  • Prospector configuration file to improve code quality (.prospector.yaml).
  • Installation of the Blue library to format the code according to PEP8.
  • Installation of the isort library to sort the imports, of the codes, in alphabetical order.

Installing libraries and settings

  • pip install mkdocs - Install MKDocs
  • mkdocs new . - Create a new site
  • mkdocs serve - Serve the site
  • mkdocs build - Build the site
    • pip install mkdocs-material - Install the theme material
  • pip install loguru - Install Loguru
  • loguru_conf.py - Configuration file for Loguru
  • logs - Folder for logs
  • pip install prospector - Install Prospector
  • .prospector.yaml - Configuration file for Prospector
  • prospector - Command to run Prospector
  • pip install blue - Install Blue
  • blue . - Command to run Blue on the current folder
  • pip install isort - Install isort
  • isort . - Command to run isort on the current folder

About

Template for Python projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0