semvec/pypi-packages huggingface dataset:
nocycle-singleton 0.0.3
A singleton package that can prevent reference cycle

# my_singleton Package

This is a simple singleton.
Borg pattern can achieve this aim by share state,
however it can't solve this problem in which 2 objects refer circularly.

```
e.g. 
obj = object
Class A(obj):
    def __init__(self):
        self.b_obj = B()

Class B(obj):
    def __init__(self):
        self.a_obj = A()

when we define c = A(),
there must be a err.

but,
if obj = my_singleton,
from nocycle_singleton.singleton import Singleton as my_singleton,

we can solve this. 
```
pyihome 0.0.5
Python library to interface with iHome API.

# pyihome

Python library to interface with the iHome API.

This library interfaces with the [EVRYTHING API](https://developers.evrythng.com/reference)

Currently this library supports the following:

All Devices
 - get devices associated with the account which are swtiches with only one outlet

Switch
 - turn_on(*device_id*)
 - turn_off(*device_id*)
 - get_state(*device_id*)

How to use

```python
from pyihome import PyiHome

#init api
api = PyiHome("username", "password")

#get devices
devices = api.get_devices()

#get device id of the first item
device_id = devices[0]["id"]

#get switch specific api
switch = api.Switch()

#turn on the switch
switch.turn_on(device_id)

#turn off the switch
switch.turn_off(device_id)

#get state
print("State: {}".format(switch.get_state(device_id)))
```
custom-sastrawi 1.0.5
An indonesian text-mining library derived from PySastrawi (https://github.com/har07/PySastrawi) with certain modification
Keywords: sastrawi,custom,indonesian,text-mining

# custom-sastrawi
An indonesian text-mining library derived from PySastrawi (https://github.com/har07/PySastrawi) with certain modification