Metadata-Version: 2.1
Name: bandersnatch-updated-plugin
Version: 0.1.0
Summary: A bandersnatch plugin to filter out old packages
Author: Ryan Burmeister-Morrison
Author-email: rburmeistermorrison@gmail.com
License: GPL-3.0-or-later
Project-URL: Source Code, https://github.com/rburmorrison/bandersnatch-updated-plugin
Keywords: bandersnatch
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Environment :: Plugins
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: bandersnatch
Requires-Dist: python-dateutil

# Bandersnatch Updated Plugin

A [bandersnatch](https://pypi.org/project/bandersnatch/) plugin to filter out
old packages.

This plugin works by checking if the `upload_time` field in a package's release
file is older than a given number of days, and filtering it out if it is.

## Configuration

To use, install this package and add the following to your `bandersnatch.conf`:

```cfg
[plugins]
enabled =
    ...
    updated

[updated]
maximum_days_old = 1095
```

Change `maximum_days_old` to your desired age.
