semvec/pypi-packages huggingface dataset:
captcha-resolver 1.4.1
# Projet de Sauvegarde de Données sur Cloud avec PyPy
License: MIT

# recaptcha-bypass

https://github.com/hooshmang/recaptcha-bypass/assets/129745867/024b82eb-1dc7-4f3d-a5d4-598dede2f5e4

recaptcha-bypass is a recaptcha solver built using python and selenium. It uses deep learning to predict the captcha in action and click it. recaptcha-bypass uses a pretrained model, Yolov8

## Usage

See example.py codes
kraken-wsclient-v2 0.0.2
Sample Kraken WebSockets client V2
License: MIT
Requires Python: >=3
Keywords: kraken websockets v2

# Kraken WebSockets Client v2 in Python

Sample Kraken WebSockets client in Python.  This client was created for
demonstration purposes only.  It is neither maintained nor supported.

## Installation

    pip install kraken-wsclient-v2

## Sample Usage

    import time

    from kraken_wsclient_v2 import kraken_wsclient_v2 as client

    def my_handler(message):
        # Here you can do stuff with the messages
        print(message)

    my_websockets_token = ''

    my_client = client.WssClient()
    my_client.start()

    # Sample public-data subscription:

    my_client.subscribe_public(
        # Insert params and req_id as described in the docs
        params = {
            'channel': 'ticker',
            'snapshot': True,
            'symbol': ['BTC/USD', 'XRP/USD'],
        },
        req_id = 1234567890,
        callback = my_handler
    )

    time.sleep(3)

    # Sample private-data subscription:

    my_client.subscribe_private(
        # Insert params and req_id as described in the docs
        params = {
            'channel': 'executions',
            'snapshot': True,
            'snapshot_trades': True,
            'order_status': True,
            'ratecounter': True,
            'token': my_websockets_token
        },
        req_id = 1234567891,
        callback = my_handler
    )

## Compatibility

This code has been tested on Python 3.7.

## Contributing

Pull requests are not monitored and likely will be ignored.
structobj 0.0.1
Conversion between data structures and object strutures
License: MIT
Requires Python: >=3.7,<4.0

# About

This simple modules provides conversion between data structures and objects structures.



This is allows to get the advantage of both:

- data structures:
    - Convenient to save the state and share in an explicit format such as json format.
    - Convenient to generate.
- object structures:
    - Provide methods to the objects.  Convenient to perform operations relative to an object.



# How to use

Objects are represented by a dictionary containing the special `_obj` key and the associated string corresponds to the name of the object that has to be created. The other attributes of the dictionary will be set as object attributes, wich can also contain lists, dictionaries and other objects.

```python
{
    '_obj': 'Boat',
    'country_flag': 'NZ',
    'passengers': 3
}
```



The set of objects which can be created

- must be registered using the `@structobj.register` decorator.
- must inherit the `structobj.StructObj` class



The object structure can be created using the `structobj.make_obj_struct(data)` function.



The data structure of an object structure can be accessed using the  `obj.get_data()` method.



# Installation

```
pip3 install objstruct
```



# Example

```python
from src import structobj as so


@so.register
class Earth(so.StructObj):
    def __init__(self, data):
        super().__init__(data)
        print('New earth')


@so.register
class Ocean(so.StructObj):
    def __init__(self, data):
        super().__init__(data)
        print('New ocean')


@so.register
class Boat(so.StructObj):
    def __init__(self, data):
        super().__init__(data)
        print('New boat')


data_struct = {
    '_obj': 'Earth',
    'color': 'blue',
    'oceans': [
        {
            '_obj': 'Ocean',
            'name': 'pacific',
            'boats': [
                {
                    '_obj': 'Boat',
                    'country_flag': 'NZ',
                    'passengers': 3
                },
                {
                    '_obj': 'Boat',
                    'country_flag': 'IN',
                    'passengers': 20
                }
            ]
        }
    ]
}

obj_struct = so.make_obj_struct(data_struct)
print(obj_struct)
print(obj_struct.color)
print(obj_struct.oceans)
print(obj_struct.oceans[0].name)
print(obj_struct.oceans[0].boats)
print(obj_struct.oceans[0].boats[1].passengers)

print(obj_struct.get_data() == data_struct)
```



This will give:

```
New boat
New boat
New ocean
New earth
<__main__.Earth object at 0x7f311930e590>
blue
[<__main__.Ocean object at 0x7f311930f0d0>]
pacific
[<__main__.Boat object at 0x7f311930f090>, <__main__.Boat object at 0x7f31194c2950>]
20
True
```