semvec/pypi-packages huggingface dataset:
django-zippy-form 1.0.0
Quick form-development package for django with no code.

Zippy Form is a django package which allows to create forms with dynamic fields with no code.

### Setup

Add the package name `zippy_form`  to your project’s settings.py file.

Run the below command on the terminal to create package migration files.
> python manage.py makemigrations zippy_form

Run the below command on the terminal to migrate.
> python manage.py migrate

Add the following url to your project’s url.py file:
> path('form/', include('zippy_form.urls'))
spaemis 0.2.3
Produce a coherent set of emissions for regional air quality modelling
Requires Python: >=3.10,<3.12
Keywords: emissions,climate,air quality

# SpaEmis

<!--- sec-begin-description -->

Produce a coherent set of emissions for regional air quality modelling


This model is a work in progress and is under active development. This work was undertaken
by `Climate Resource <https://www.climate-resource.com>`_ and funded by `CSIRO <https://www.csiro.au/en/>`_
<!--- sec-end-description -->

## Installation

<!--- sec-begin-installation -->

Spaemis can be installed with pip:

```bash
pip install spaemis
```

Additional dependencies can be installed using

```bash
# To add plotting dependencies
pip install spaemis[plots]
# To add notebook dependencies
pip install spaemis[notebooks]
```

A set of `Input4MIPs <https://esgf-node.llnl.gov/projects/input4mips/>`_ emissions data
is also required as it is a common proxy.

<!--- sec-end-installation -->

<!--- sec-begin-installation-dev -->

### For developers

For development, we rely on [poetry](https://python-poetry.org) for all our
dependency management. To get started, you will need to make sure that poetry
is installed
(https://python-poetry.org/docs/#installing-with-the-official-installer, we
found that pipx and pip worked better to install on a Mac).

For all of work, we use our `Makefile`.
You can read the instructions out and run the commands by hand if you wish,
but we generally discourage this because it can be error prone.
In order to create your environment, run `make virtual-environment`.

If there are any issues, the messages from the `Makefile` should guide you
through. If not, please raise an issue in the [issue tracker][issue tracker].

<!--- sec-end-installation-dev -->

<!--- sec-begin-links -->

[issue tracker]: https://github.com/climate-resource/spaemis/issues

<!--- sec-end-links -->
ygModbus 0.0.14
simple Modebus client and server test by response of random number
Requires Python: >=3.6
Keywords: modebus,pshn123,devggu,TCP,server,client

# Modbus TCP simulator

-set config in register_params.json

ex)
<br>
{<br>
    "40001":{"max_int":300, "min_int":100, "address":40001},<br>
    "40002":{"max_int":300, "min_int":20, "address":40002},<br>
    "40004":{"max_int":300, "min_int":20, "address":40004}<br>
}

start simulating server by 'ygModbus-runserver'

ctrl+c for terminate server

ygModBus-runserver args:<br>
    ('-H', '--host', type=str, default='127.0.0.1', help='Host (default: 127.0.0.1)')<br>
    ('-p', '--port', type=int, default=502, help='TCP port (default: 502)')<br>
    ('-j', '--json', type=str, default='register_params.json', help='JSON file with register parameters (default: register_params.json)')<br>
    ('-i', '--interval', type=float, default=1.0, help='Interval in seconds for updating holding registers (default: 1.0)')<br>

get response from server by 'ygModbus-request'

ygModbus-request args:<br>
    ('-H', '--host', type=str, default='127.0.0.1', help='Host (default: 127.0.0.1)')
    ('-p', '--port', type=int, default=502, help='TCP port (default: 502)')
    ('-n', '--number', type=int, default=1, help='Number of holding registers (default: 1)')
    ('-s', '--start', type=int, default=40001, help='Starting register address (default: 40001)')
bypassmappingproxy 0.1.0
modify immutable types by bypassing mapping proxy

# Modifying `sometype.__dict__`

You can't directly set an attribute of a builtin type
```py
int.real = 69
```
`TypeError: cannot set 'real' attribute of immutable type 'int'`

You also can't modify `__dict__`
```py
int.__dict__["real"] = 69
```
`TypeError: 'mappingproxy' object does not support item assignment`

Mappingproxy provides a read-only proxy for mapping, which prevents modification. However, you can now bypass that using the `bypassmappingproxy` module

(it is written in **pure python**)


```py
from bypassmappingproxy as bmp

assert (1).real == 1
bmp.type_set(int, "real", 69)
assert (1).real == 69
```

[reference](https://github.com/python/cpython/issues/88004)