semvec/pypi-packages huggingface dataset:
discloudapi 1.0.0
Módulo Python feito para acessar as rotas da discloudbot.com
License: MIT
Keywords: discloudapi

> ## Exemplos de uso

```{python}
import discloudapi

### STATUS DE UM BOT
resultado = discloud_api.BotStatus(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"ID: {resultado.bot_id}\nUso de CPU: {resultado.cpu}\nUso de memÃ³ria: {resultado.memory}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### SEU STATUS
resultado = discloud_api.UserStatus(api_token="SEU TOKEN DA DISCLOUD")
print(f"Seu plano: {resultado.plan}\nAcaba em: {resultado.planDataEnd}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### REINICIAR BOT
resultado = discloud_api.BotRestart(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"{resultado.result}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### ACESSAR AS LOGS
resultado = discloud_api.BotRestart(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"Logs completas: {resultado.link}\nÃšltimos 1800 caracteres: {resultado.logs}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")
```
blexy 0.2.0
Simple OpenMetrics exporter for BLE devices
License: MIT
Requires Python: >=3.7
Keywords: ble openmetrics bluetooth prometheus raspberry pi iot sensors

# blexy
Simple [OpenMetrics](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md) exporter for BLE devices.

## Requirements
* device with BLE compliant transceiver (e.g. RPi 3+)
* Python 3.7+

## Running
```
pip install blexy
blexy --port 8888 --config-file ~/.blexy.yaml
```

## Endpoints
* `/` - returns list of connected devices in JSON format.
* `/metrics` - returns values read from connected BLE devices in [OpenMetrics format](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md).

## Config
* Device & server configuration is by default expected to be placed in  `./config.yaml`.
* Custom config file path can be specified via `-c / --config-file` command line option.
* `port` and `log_level` can be either specified in config file or through command line options (see `blexy -h` for exact option names). 

### Example config file
Below file will make blexy connect to two Xiaomi temperature / humidity sensors and listen on port 8080:
```yaml
port: 8080
log_level: info
ble:
  devices:
    - name: living room sensor
      model: LYWSD03MMC
      address: xx:xx:xx:xx:xx:xx
    - name: bedroom sensor
      model: LYWSD03MMC
      address: xx:xx:xx:xx:xx:xx
```

## Example output
```
$ curl localhost:8080/metrics
# TYPE battery_level_percentage gauge
# UNIT battery_level_percentage percentage
battery_level_percentage_gauge{name="living room sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 77
battery_level_percentage_gauge{name="bedroom sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 88
# TYPE humidity_percentage gauge
# UNIT humidity_percentage percentage
humidity_percentage_gauge{name="living room sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 48
humidity_percentage_gauge{name="bedroom sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 51
# TYPE temperature_celsius gauge
# UNIT temperature_celsius celsius
temperature_celsius_gauge{name="living room sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 22.33
temperature_celsius_gauge{name="bedroom sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 25.11
# TYPE voltage_volts gauge
# UNIT voltage_volts volts
voltage_volts_gauge{name="living room sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 3.11
voltage_volts_gauge{name="bedroom sensor",model="LYWSD03MMC",manufacturer="Xiaomi",address="xx:xx:xx:xx:xx:xx",interface="0"} 3.03
# EOF
```

## Supported devices
* `LYWSD03MMC` (Xiaomi)
discloud-api 1.0.0
Módulo Python feito para acessar as rotas da discloudbot.com
License: MIT
Keywords: discloud

> ## Exemplos de uso

```{python}
import discloud_api

### STATUS DE UM BOT
resultado = discloud_api.BotStatus(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"ID: {resultado.bot_id}\nUso de CPU: {resultado.cpu}\nUso de memÃ³ria: {resultado.memory}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### SEU STATUS
resultado = discloud_api.UserStatus(api_token="SEU TOKEN DA DISCLOUD")
print(f"Seu plano: {resultado.plan}\nAcaba em: {resultado.planDataEnd}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### REINICIAR BOT
resultado = discloud_api.BotRestart(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"{resultado.result}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")

### ACESSAR AS LOGS
resultado = discloud_api.BotRestart(bot_id=ID DO SEU BOT, api_token="SEU TOKEN DA DISCLOUD")
print(f"Logs completas: {resultado.link}\nÃšltimos 1800 caracteres: {resultado.logs}")
print(f"{resultado.ratelimit_remaining}/{resultado.ratelimit}")
```
dhasher 0.1.1
A python library for password hashing and verification existing password hashes
License: MIT

## dhasher
- A python library for password hashing and verification of existing password hashes

### how to use 

1. Install package
 
```
pip install dhasher
 
```
2. import the package 
 
```
from dhasher import myhash
 
```
3. hashing a value
 
```
res=myhash.do_hash("father")
output> '88a1881f0025cf7117501d07aefc5d4be6696656790d765678df8bc48ca52687'
 
```
4. comparing of new value with previously hashed value res
 
```
myhash.verify_hash("father",res)
output> True

myhash.verify_hash("mother",res)
output> False

```
graphviz-overlay 0.1.1
Generate templated graphviz source files from structured data
License: MIT
Requires Python: >=3.9,<4.0

#####
About
#####

Generate templated graphviz source files from structured data

Why
===

The Graphviz dot language offers a descriptive and flexible way
to define graphs of various sorts. However, I think it also has
some issues.

- Maintenance/small changes quickly becomes a hassle, especially
  when you want to produce similar looking graphs. I.e. highlighting
  certain elements, or selecting specific parts (it is possible
  to render just subgraphs, but for me that is not always what
  I want).

- The layout engine is not exactly what you would call intuitive
  and getting it to do your bidding takes time and effort to
  discover. Also, you need to pull (and remember those) weird
  tricks. Basically, it's just boilerplate work.

- The defaults does not really produce pretty looking graphs, and
  customizing the design is often tedious work and for me often
  ends up involving a bunch of copy paste. For SVG output
  stylesheets are supported, however that doesn't really work
  with common cooperation tools (such as slack and github)

So, to address these issues I decided to put together a tool
to address all that (and more).


Usage
=====

CLI
---

The ``graphviz-overlay`` executable reads from stdin and produces
dot source::

    cat examples/simple.json | graphviz-overlay


Version History
===============

0.1.1:
  - Add initial documentation and project description

0.1.0:
  - ``graph``, ``digraph`` and ``er`` commands.
  - Support for ``--select``, ``--highlight`` and ``--shade``
    via paths.
  - Support for ranks
  - External stylesheet definition.
  - Nodes, edges, and graphs can have `classes`.
weather-usa 1.1.0
Wrapper for parts of the IEM and NWS API, built with asyncio for speed
License: MIT

# What is this package?
This package (weather-usa) is a wrapper for portions of the IEM and NWS APIs.
It uses asyncio for when calling multiple requests to speed up the time it takes to access said data when needed.

# How do I install this?
`pip install weather-usa`

# Where is the documentation?
It will be coming soon after a few changes.
ann-gsea 0.0.0
ann-gsea - integrate GSEA molecular signatures with AnnData
License: MIT
Requires Python: >3.6.0

# annsig
An API for annotating single-cell AnnData with Molecular Signatures from [MSigDB](https://www.gsea-msigdb.org/gsea/msigdb/)

To use: 

### Step 1. Install

To install with the latest release from **PYPI**:
```BASH
pip install annsig
```

alternatively, install the development version:
```BASH
git clone https://github.com/mvinyard/annsig

cd annsig; pip install -e .
```

### Step 2. Register and download MSigDB

[link](http://www.gsea-msigdb.org/gsea/downloads.jsp#msigdb)
Developed with: `"msigdb.v7.4.symbols.gmt"` (Currently the latest version)

### Step 3. Example usage

```python
import ann_gsea as gsea

db = gsea.MSigDB()
db.load()
```

```python
db.search()
```

```python
db.fetch()
```

[link](http://www.gsea-msigdb.org/gsea/downloads.jsp#msigdb)
Developed with: `"msigdb.v7.4.symbols.gmt"` (Currently the latest version)

**Instructions from the MSigDB website on how to cite their resource**:

>To cite your use of the Molecular Signatures Database (MSigDB), a joint project of UC San Diego and Broad Institute, please reference Subramanian, Tamayo, et al. (2005, PNAS) and one or more of the following as appropriate: Liberzon, et al. (2011, Bioinformatics), Liberzon, et al. (2015, Cell Systems), and also the source for the gene set as listed on the gene set page.