semvec/pypi-packages huggingface dataset:
plain.upgrade 0.4.0
Upgrade Plain packages using AI agents.
Requires Python: >=3.11

# plain.upgrade

**Upgrade Plain packages using AI agents.**

The `plain-upgrade` command can be run using `uvx` (part of the `uv` package manager) and will update the Plain packages in your project, then prompt an AI agent to run any additional upgrade steps for each package.

The recommended way to use it is to define your preferred LLM/AI agent command either in your personal shell configuration (ex. `.zshrc` or `.bashrc`) or in your project (ex. `.env`).

```bash
export PLAIN_AGENT_COMMAND="claude --permission-mode acceptEdits"
```

Updating Plain is then as simple as running:

```bash
uvx plain-upgrade
```

Note that this command only supports `uv` currently. Run `uvx plain-upgrade --help` for more options.
xpon 0.0.1
Very convenient Python library for converting Python objects to and from a string representation
Requires Python: >=3.9

# PON - Python Object Notation

This module provides a simple way to convert Python objects to and from
a string representation.  The string representation is a JSON-like
representation of the object.

The module has four main methods:

+ `pon.to_str`
+ `pon.from_str`
+ `pon.to_file`
+ `pon.from_file`

The `pon.to_str` and `pon.from_str` methods are
the most commonly used methods.  The `pon.to_file` and
`pon.from_file` methods are useful for serializing
objects to and from files.

The `pon.to_str` and `pon.to_file` methods
accept a keyword argument `indent` that controls the
indentation of the resulting string.  The default value is
`4`.

## Example

```python
from pon import *

obj = dict(a=1, b=2, c=dict(d=3, e=4))

print(to_str(obj))
print(from_str(to_str(obj)))

to_file(obj, 'test.pon')
obj = from_file('test.pon')
print(obj)

print(to_str(obj, indent=2))
print(from_str(to_str(obj, indent=2)))

to_file(obj, 'test.pon', indent=2)
obj = from_file('test.pon')
print(obj)
```

Output:

```
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
{'a': 1, 'b': 2, 'c': {'d': 3, 'e': 4}}
```

## Installation

Install the module using `pip`:

    pip install pon

Or clone the repository and install the module manually:

    git clone https://tvoygit.ru/vi_is_lonely/pon
    cd pon
    python setup.py install

## License

This module is licensed under the GNU Affero General Public License v3.0.
See [LICENSE](LICENSE) for more information.

## Author

Vi Raven <vi.is.chapmann@gmail.com> (Ivan Chetchasov)<br/>
Telegram: [@vi_is_raven](https://t.me/vi_is_raven)