semvec/pypi-packages huggingface dataset:
beets-yearfixer 0.0.5
('A beets plugin for fixing `original_year` and `year` tags on audio items.',)
License: MIT
Requires Python: >=3.8

[![Test & Release & Deploy](https://github.com/adamjakab/BeetsPluginYearFixer/actions/workflows/test_release_deploy.yml/badge.svg)](https://github.com/adamjakab/BeetsPluginYearFixer/actions/workflows/test_release_deploy.yml)
[![Coverage Status](https://coveralls.io/repos/github/adamjakab/BeetsPluginYearFixer/badge.svg?branch=master)](https://coveralls.io/github/adamjakab/BeetsPluginYearFixer?branch=master)
[![PyPi](https://img.shields.io/pypi/v/beets-yearfixer.svg)](https://pypi.org/project/beets-yearfixer/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/beets-yearfixer.svg)](https://pypi.org/project/beets-yearfixer/)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.txt)

# YearFixer (Beets Plugin)

The _beets-yearfixer_ plugin finds the `original_year` for each of your songs by querying the MusicBrainz database and finding the first release date that is associated with it. If the MB database query is unsuccessful, it will then use the other songs in the same album as reference and calculate the mean `original_year` between them. If this does not yield any results then the same will be done for all songs of the artist. For the `year` attribute the same procedure will be used except that the MB database is not queried.

## Installation

The plugin can be installed via:

    $pip install beets-yearfixer

Activate the plugin in your configuration file by adding `yearfixer` to the plugins section:

```yaml
plugins:
  - yearfixer
```

## Usage

Invoke the plugin as:

    $ beet yearfixer [options] [QUERY...]

The following command line options are available:

**--force [-f]**: Force setting the values on items even if the value has been previously set.

**--version [-v]**: Display the version number of the plugin. Useful when you need to report some issue and you have to state the version of the plugin you are using.

## Configuration

The `force` options can also be set through the configuration like this:

```yaml
force: yes
```

## Issues

- If something is not working as expected please use the Issue tracker.
- If the documentation is not clear please use the Issue tracker.
- If you have a feature request please use the Issue tracker.
- In any other situation please use the Issue tracker.

## Other plugins by the same author

- [beets-goingrunning](https://github.com/adamjakab/BeetsPluginGoingRunning)
- [beets-xtractor](https://github.com/adamjakab/BeetsPluginXtractor)
- [beets-yearfixer](https://github.com/adamjakab/BeetsPluginYearFixer)
- [beets-autofix](https://github.com/adamjakab/BeetsPluginAutofix)
- [beets-describe](https://github.com/adamjakab/BeetsPluginDescribe)
- [beets-bpmanalyser](https://github.com/adamjakab/BeetsPluginBpmAnalyser)
- [beets-template](https://github.com/adamjakab/BeetsPluginTemplate)

## Final Remarks

Enjoy!
view.py 1.0.0a10
The Batteries-Detachable Web Framework.
License: MIT
Requires Python: >=3.8

<div align="center"><img src="https://raw.githubusercontent.com/ZeroIntensity/view.py/master/html/logo.png" alt="view.py logo" width=250 height=auto /></div>

<div align="center"><h2>The Batteries-Detachable Web Framework</h2></div>

> [!Warning]
> view.py is currently in alpha, and may be lacking some features.
> If you would like to follow development progress, be sure to join [the discord](https://discord.gg/tZAfuWAbm2).

<div align="center">
    <a href="https://clientarea.space-hosting.net/aff.php?aff=303"><img width=150 height=auto src="https://cdn-dennd.nitrocdn.com/fygsTSpFNuiCdXWNTtgOTVMRlPWNnIZx/assets/images/optimized/rev-758b0f8/www.space-hosting.net/wp-content/uploads/2023/02/cropped-Icon.png"></a>
    <h3>view.py is affiliated with <a href="https://clientarea.space-hosting.net/aff.php?aff=303">Space Hosting</a></h3>
</div>

-   [Docs](https://view.zintensity.dev)
-   [Source](https://github.com/ZeroIntensity/view.py)
-   [PyPI](https://pypi.org/project/view.py)
-   [Discord](https://discord.gg/tZAfuWAbm2)

## Features

-   Batteries Detachable: Don't like our approach to something? No problem! We aim to provide native support for all your favorite libraries, as well as provide APIs to let you reinvent the wheel as you wish.
-   Lightning Fast: Powered by [pyawaitable](https://github.com/ZeroIntensity/pyawaitable), view.py is the first web framework to implement ASGI in pure C, without the use of external transpilers.
-   Developer Oriented: view.py is developed with ease of use in mind, providing a rich documentation, docstrings, and type hints.

See [why I wrote it](https://view.zintensity.dev/#why-did-i-build-it) on the docs.

## Examples

```py
from view import new_app

app = new_app()

@app.get("/")
async def index():
    return await app.template("index.html", engine="jinja")

app.run()
```

```py
# routes/index.py
from view import get, HTML

# Build TypeScript Frontend
@get(steps=["typescript"], cache_rate=1000)
async def index():
    return await HTML.from_file("dist/index.html")
```

```py
from view import JSON, body, post

@post("/create")
@body("name", str)
@body("books", dict[str, str])
def create(name: str, books: dict[str, str]):
    # ...
    return JSON({"message": "Successfully created user!"}), 201
```

## Installation

**Python 3.8+ is required.**

### Development

```console
$ pip install git+https://github.com/ZeroIntensity/view.py
```

### PyPI

```console
$ pip install view.py
```

### Pipx

```console
$ pipx install view.py
```