semvec/pypi-packages huggingface dataset:
choc-ddp 0.1.2
chocolate deduplication
License: MIT
Requires Python: >=3.9,<4.0

# choc_ddp

```python
pip install choc-ddp

#推荐
poetry add choc-ddp
```

示例
```python
import asyncio 
from loguru import logger
from choc.ddp.chocolate import Choco

async def test():
    async with Choco() as c:
       resp = await c.deduplication(input("待去重：\n"),3)
       logger.info(resp)
       
if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(test())
```
Sentinel-imgpackage 0.0.9
Sentinel satellite image module
License: MIT
Requires Python: >=3.6

<div id="top"></div>

# Sentinel 2 image package 🛰 
[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)                 

Under construction! Not ready for use yet! Currently experimenting and planning!


![forthebadge made-with-python](https://img.shields.io/pypi/v/Sentinel-imgpackage?style=for-the-badge)
<!-- GETTING STARTED -->
## Getting Started

This is an example of how you can set up your project.

Follow these simple example steps.

### Prerequisites

This project requires ``python3`` installed.


### Installation



1. Clone the dataset repo
   ```sh
   git clone https://github.com/your_username_/Project-Name.git
   ```
2. Install pip packages
   ```python
   pip install Sentinel-imgpackage
   ```

## Usage

Model implementation requires sufficient amount of GPU and CPU resources.

Best when used in virtual notebooks like
* Google Colab Pro 
* Gradient 



## Example of How To Use (Alpha Version)

Creating obj

```python

from senpkg import *

path = "your data source path"
gt = "ground-truth .mat filename"
mname = "model name"

p = Analysis.senA(path)
q = LandCoverCla.senC(path,gt)
r = LandCoverMod.senM(path,gt,mname)
```
## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#top">back to top</a>)</p>
nibeuplink 1.3.0
A python wrapper around Nibe Uplink REST API
License: MIT
Requires Python: >=3.6

********************************
Nibe Uplink Communciation Module
********************************


Module
======


The module is an asyncio driven interface to nibe uplink public API. It is throttled to one http request every 4 seconds so
try to make the most of your requests by batching requests.

Status
______
.. image:: https://github.com/elupus/nibeuplink/actions/workflows/python-package.yml/badge.svg
    :target: https://github.com/elupus/nibeuplink/actions/workflows/python-package.yml

.. image:: https://codecov.io/gh/elupus/nibeuplink/branch/master/graph/badge.svg?token=WZy5CcdYom
    :target: https://codecov.io/gh/elupus/nibeuplink
    

Example
_______

.. code-block:: python


    def token_read():
        return None

    def token_write(token):
        pass

    async def run():
        async with nibeuplink.Uplink(client_id         = 'XXX',
                                     client_secret     = 'YYY',
                                     redirect_uri      = 'ZZZ',
                                     access_data       = token_read(),
                                     access_data_write = token_write,
                                     scope             = 'READSYSTEM') as uplink:

            if not uplink.access_data:
                auth_uri = uplink.get_authorize_url()
                print(auth_uri)
                result = input('Enter full redirect url: ')
                await uplink.get_access_token(uplink.get_code_from_url(result))

            # Request all systems
            print(uplink.get_systems())


            # Request data for specific system
            print(uplink.get_system(12345))

            # Request data for parameters. Note request them in paralell using gather semantics
            # that way, the module with batch up the requests into a single request to api 
            print(await asyncio.gather(uplink.get_parameter(12345, 11111),
                                       uplink.get_parameter(12345, 22222)))




    loop = asyncio.get_event_loop()
    loop.run_until_complete (run())




Console
=======

The module contains a commandline utility to test and request data from Nibe Uplink called ``nibeuplink``, it will store token information in a file in the current directory called nibeuplink.json

Example
_______

Help for utility

.. code-block:: bash

    nibeuplink -h

Request all systems

.. code-block:: bash

    nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ'


Request data for specific system

.. code-block:: bash

    nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ' --system 12345

Request data for parameters

.. code-block:: bash

    nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ' --system 12345 --parameter 11111 22222