semvec/pypi-packages huggingface dataset:
s2-python 0.8.0
S2 Protocol Python Wrapper
Requires Python: <3.14,>=3.9

Python Wrapper for S2 Flexibility Protocol
===========================================
.. image:: https://img.shields.io/pypi/v/s2-python
   :alt: PyPI - Version
.. image:: https://img.shields.io/pypi/pyversions/s2-python
   :alt: PyPI - Python Version
.. image:: https://img.shields.io/pypi/l/s2-python
   :alt: PyPI - License

This Python package implements the message validation for the EN50491-12-2 "S2" standard for home and building energy management. This implementation
is based on the asyncapi description of the protocol provided in the `s2-ws-json <https://github.com/flexiblepower/s2-ws-json/>`_ repository. 

To Install
-----------
You can install this package using pip or any Python dependency manager that collects the packages from PyPI:

.. code-block:: bash

    pip install s2-python
    pip install s2-python[ws]  # for S2 over WebSockets

The packages on PyPI may be found `here <https://pypi.org/project/s2-python/>`_

Mypy support
------------
s2-python uses pydantic at its core to define the various S2 messages. As such, the pydantic mypy plugin is required
for type checking to succeed.

Add to your pyproject.toml:

.. code-block:: toml

    [tool.mypy]
    plugins = ['pydantic.mypy']

Example
---------

.. code-block:: python

    from s2python.common import PowerRange, CommodityQuantity

    # create s2 messages as Python objects
    number_range = PowerRange(
        start_of_range=4.0,
        end_of_range=5.0,
        commodity_quantity=CommodityQuantity.ELECTRIC_POWER_L1,
    )
    # serialize s2 messages
    number_range.to_json()
    # deserialize s2 messages
    json_str = '{"start_of_range": 4.0, "end_of_range": 5.0, "commodity_quantity": "ELECTRIC.POWER.L1"}'
    PowerRange.from_json(json_str)

Development
-------------

For development, you can install the required dependencies using the following command:

    pip install -e .[testing,development,ws]


The tests can be run using tox:

    tox

To build the package, you can use tox as well:

    tox -e build,clean
h1d 0.2.12
HiC1Dmetrics pip version

# HiC1Dmetrics
This repository contain code and basic tutorial for "HiC1Dmetrics"

![figure1](https://github.com/wangjk321/HiC1Dmetrics/blob/master/IMG/Figure1.png)


# Important Update

(Feb 2024) Now h1d v0.2.8 support the user-difined juicertools. You can use your own version of juicer tool by the `--juicertool` parameter

# Installation

HiC1Dmetrics was based on `python3` and released on [PyPI](https://pypi.org/project/h1d/), it could be installed by

```python
pip install h1d
```
After installation, try:
```
$ h1d -V
h1d version 0.1.0
```

# Documents

For detailed usage, please refer to [h1d Documents](https://h1d.readthedocs.io/en/latest/)

# Web application

Please click [hic1d webapp](http://hic1d.herokuapp.com)

# Citation

Wang J, Nakato R. HiC1Dmetrics: framework to extract various one-dimensional features from chromosome structure data. *Briefings in Bioinformatics*, bbab509,2021.
zwergetl-components-base 0.2.3
Basic components for ZwergETL Engine
Requires Python: >=3.6

ZwergETL Basic Components
==========================

Basic components for ZwergETL framework.

This package includes the following components:

1. `CsvReader` - reads csv files
2. `CsvWriter` - writes csv files
3. `Dummy` - consumes data from input port and optionally prints it to stdout. For debugging ETL pipelines.
4. `HashCalc` - calculates md5-hashes on specified set of fields.
5. `Reformat` - performs user-defined calculations on records.