Animenosekai / python-module-template

A template repository for Python modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module_name

Short description

Catchphrase!

PyPI version PyPI - Downloads PyPI - Python Version PyPI - Status GitHub - License GitHub top language CodeQL Checks Badge Pytest Code Size Repo Size Issues

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need Python 3 to use this module

# vermin output
Minimum required versions: 3.2
Incompatible versions:     2

According to Vermin (--backport typing), Python 3.2 is needed for the backport of typing but some may say that it is available for python versions higher than 3.0

Always check if your Python version works with module_name before using it in production

Installing

Option 1: From PyPI

pip install module_name

Option 2: From Git

pip install git+https://github.com/Animenosekai/module_name

You can check if you successfully installed it by printing out its version:

$ python -c "import module_name; print(module_name.__version__)"
# output:
module_name v1.0

or just:

$ module_name --version
# output:
module_name v2.0

Usage

You can use module_name in Python by importing it in your script:

import module_name

module_name.function()

CLI usage

You can use module_name in other apps by accessing it through the CLI version:

$ module_name
output

Interactive Shell (REPL)

An interactive version of the CLI is also available

$ module_name shell
>>> 

As a Python module

Class Name

Paragraph explaining the class

How to use

Paragraph to explain

Cache

Paragraph to explain

Example

Examples

from module_name import function

function()

Deployment

This module is currently in development and might contain bugs.

Feel free to use it in production if you feel like it is suitable for your production even if you may encounter issues.

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE file for more details

Acknowledgments

  • Thanks to someone for helping me with [...]

About

A template repository for Python modules

License:MIT License


Languages

Language:Python 100.0%