An open API service indexing awesome lists of open source software.

https://github.com/Animenosekai/python-module-template

A template repository for Python modules
https://github.com/Animenosekai/python-module-template

Last synced: 6 months ago
JSON representation

A template repository for Python modules

Awesome Lists containing this project

README

          

# `module_name`

> Short description

***Catchphrase!***

[![PyPI version](https://badge.fury.io/py/module_name.svg)](https://pypi.org/project/module_name/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/module_name)](https://pypistats.org/packages/module_name)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/module_name)](https://pypi.org/project/module_name/)
[![PyPI - Status](https://img.shields.io/pypi/status/module_name)](https://pypi.org/project/module_name/)
[![GitHub - License](https://img.shields.io/github/license/Animenosekai/module_name)](https://github.com/Animenosekai/module_name/blob/master/LICENSE)
[![GitHub top language](https://img.shields.io/github/languages/top/Animenosekai/module_name)](https://github.com/Animenosekai/module_name)
[![CodeQL Checks Badge](https://github.com/Animenosekai/module_name/workflows/CodeQL%20Python%20Analysis/badge.svg)](https://github.com/Animenosekai/module_name/actions?query=workflow%3ACodeQL)
[![Pytest](https://github.com/Animenosekai/module_name/actions/workflows/pytest.yml/badge.svg)](https://github.com/Animenosekai/module_name/actions/workflows/pytest.yml)
![Code Size](https://img.shields.io/github/languages/code-size/Animenosekai/module_name)
![Repo Size](https://img.shields.io/github/repo-size/Animenosekai/module_name)
![Issues](https://img.shields.io/github/issues/Animenosekai/module_name)

## 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

```bash
# 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

```bash
pip install module_name
```

### Option 2: From Git

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

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

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

or just:

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

## Usage

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

```python
import module_name

module_name.function()
```

### CLI usage

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

```bash
$ module_name
output
```

#### Interactive Shell (REPL)

An interactive version of the CLI is also available

```bash
$ 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

```python
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

- [dependency](https://dependency-home-page.com) - To do this
- [dependency](https://dependency-home-page.com) - To do this

## Authors

- **Anime no Sekai** - *Initial work* - [Animenosekai](https://github.com/Animenosekai)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for more details

## Acknowledgments

- Thanks to *someone* for helping me with [...]