semvec/pypi-packages huggingface dataset:
yesserpackageupdater 1.8.1.1
A simple pip package updater
Requires Python: >=3.7

# yesserpackageupdater
## The pip package updater by yesseruser

**This package was renamed and moved to https://github.com/yesseruser/ypkgupgr, this repository is an archive of the old package. It will automatically upgrade to ypkgupgr since version 1.8.1.1.**

This is a package updater that updates all outdated packages when run.  

To install, follow the steps listed here:  
[Installation](https://github.com/yesseruser/YesserPackageUpdater/wiki/Installation)

Here's the wiki page:  
[Wiki](https://github.com/yesseruser/YesserPackageUpdater/wiki)

~This package only works on Windows.~  
This package works on any operating system since update 1.1.5

If you're running the package from a python file, please **use a subprocess** instead of importing and calling the `update_packages` function. This is because the package can update itself and it can result in an error because of the code changing.
Added upgrade to ypkgupgr functionality.

**Full Changelog**: https://github.com/yesseruser/yesserpackageupdater/compare/1.8.1...1.8.1.1
mongo-db-operator 0.0.3
Seriattrs extension compatible with MongoDb
Requires Python: >=3.11

# DbClass module for automatic serialization and deserialization

DbClass module is ment to be used in conjunction with databases or json which require serialization to save data to and deserialization to get data from.

## Installation

You can install the `db_class` package using pip:

```bash
pip install db_class
```

### Example

Here's an example of how to use the `simulate_game` function:

```python
import json
import sys
from dataclasses import dataclass
from datetime import datetime
from decimal import Decimal

from src import DbClass
from src import DbClassLiteral


def test_serialize_literal():
    @dataclass
    class Bar(DbClassLiteral):
        dictionary: dict
        date: datetime
        decimal: Decimal

    @dataclass
    class Foo(DbClass):
        dictionary: dict
        date: datetime
        decimal: Decimal
        bar: Bar

    foo = Foo({}, datetime.now(), Decimal(1), Bar({}, datetime.now(), Decimal(1)))
    serialized = foo.get_db_representation()
    try:
        json.dump(serialized, sys.stdout)
    except:
        assert False
    deserialized = Foo.from_dict(serialized)
    assert deserialized == foo


def test_serialize():
    @dataclass
    class Bar(DbClass):
        dictionary: dict
        date: datetime
        decimal: Decimal

    @dataclass
    class Foo(DbClass):
        dictionary: dict
        date: datetime
        decimal: Decimal
        bar: Bar

    foo = Foo({}, datetime.now(), Decimal(1), Bar({}, datetime.now(), Decimal(1)))
    serialized = foo.get_db_representation()
    foo.bar = foo.bar._id
    try:
        json.dump(serialized, sys.stdout)
    except:
        assert False
    deserialized = Foo.from_dict(serialized)
    assert deserialized == foo
```
cattle-grid 0.1.0
An authentication layer for the Fediverse
Requires Python: >=3.11,<4.0

# cattle_grid

cattle_grid is meant to simplify handling authentication in server to
server communication of the Fediverse. cattle_grid checks the HTTP
signatures based on the headers. For this public keys are retrieved
and cached.

For installation instructions see the [documentation](https://bovine.codeberg.page/cattle_grid/).

## Development

One can run the pytest tests via

```bash
poetry install
poetry run pytest
```

## Development with Fediverse pasture

In your Funfedi.dev directory (see [here](https://funfedi.dev/testing_tools/verify_actor/)
for details), run

```bash
cd fediverse-pasture
docker compose --file pasture.yml up pasture_verify_actor
```

Now in the cattle grid directory, run

```bash
poetry run python -mcattle_grid.config --actor_id http://cattle_grid/actor
```

to create a `cattle_grid.toml` file. Then start the docker containers via

```bash
docker compose up
```

By opening [http://localhost:2909/?actor_uri=jskitten@cattle_grid_demo](http://localhost:2909/?actor_uri=jskitten%40cattle_grid_demo), you should then be able to view the verify actor result. By refreshing the page and inspecting the log files, you can also check that the requests only ran once.

## Running GUI tests with the pasture

Start mastodon accessible through your browser

```bash
cd fediverse-pasture
docker compose --file mastodon42.yml --profile nginx up
```

See [Fun Fediverse Development](https://funfedi.dev/fediverse_pasture/applications/mastodon_4_2/) for instructions.

Then you can open [mastodon42web](http://mastodon42web) and lookup `jskitten@cattle_grid_demo`.
When you send a message to this kitten, it should reply with a meow, e.g.

![Kitten meows](mastodon.png)