semvec/pypi-packages huggingface dataset:
inventree-plugin-creator 1.13.4
InvenTree plugin creator
License: MIT
Requires Python: >=3.9
Keywords: inventree plugin scaffold

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/inventree-plugin-creator)](https://pypi.org/project/inventree-plugin-creator/)

# InvenTree Plugin Creator

Command line tool for scaffolding a new InvenTree plugin.

## Description

This is a command line tool which allows for rapid scaffolding of a new InvenTree plugin.

It uses the [cookiecutter project](https://cookiecutter.readthedocs.io/en/stable/) to generate a new project, based on a custom project template.

## InvenTree Version

The plugin creator tool is designed to target InvenTree version `1.0.0` (or newer). The code generated by this tool is not guaranteed to work for older versions of the InvenTree software. 

## Installation

To install the plugin creator, run:

```bash
pip install -U inventree-plugin-creator
```

## Usage

As a starting point, refer to the [plugin creator documentation](https://docs.inventree.org/en/latest/plugins/creator/)

To create a new plugin, run:

```bash
create-inventree-plugin
```

This will prompt you for required information about the plugin you wish to create.

To view the available options, run:

```bash
create-inventree-plugin --help
```

## Frontend Features

If you are developing a plugin which provides frontend (UI) features, after creating the initial plugin, run the following commands to install and build the initial version of the frontend code:

```bash
cd <myplugin>/frontend
npm install
npm run build
```

This will compile frontend code into the `<myplugin>/static` directory - ready to be packaged and distributed with the python plugin code.

*Note: You must run `npm run build` each time before building and distributing the plugin.*
libtvdb 0.15.0
A wrapper around the TVDB API.
License: MIT
Requires Python: <4.0,>=3.11
Keywords: tvdb, tv, tv database, tv show

# libtvdb

[![CI](https://github.com/dalemyers/libtvdb/workflows/CI/badge.svg)](https://github.com/dalemyers/libtvdb/actions)
[![PyPI version](https://badge.fury.io/py/libtvdb.svg)](https://badge.fury.io/py/libtvdb)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)

A wrapper around the [TVDB API](https://api.thetvdb.com/swagger).

## Installation

```bash
pip install libtvdb
```

## Examples

Searching for shows:

```python
import libtvdb

client = libtvdb.TVDBClient(api_key="...", pin="...")
shows = client.search_show("Doctor Who")

for show in shows:
    print(show.name)
```

## Development

This project uses [Poetry](https://python-poetry.org/) for dependency management.

```bash
# Install dependencies
poetry install

# Run tests
poetry run pytest

# Run linters and type checkers
poetry run ruff check libtvdb
poetry run black --check libtvdb tests
poetry run pylint libtvdb
poetry run mypy libtvdb
poetry run pyright libtvdb
```

## Advanced

You can set `libtvdb_api_key` and `libtvdb_pin` in your OS X keychain if you don't want to supply these every time. If any of the values supplied to the `TVDBClient` constructor are `None`, it will look into your keychain and load the appropriate value. If it can't find them, it will throw an exception.