semvec/pypi-packages huggingface dataset:
DiscordStatus 0.0.2
A wrapper for talking to the Discord Status page's API
Requires Python: >=3.6

# PyPi

[Download Here](https://pypi.org/project/DiscordStatus/)

# DiscordStatus
Wrapper for the Discord Status page's API.

https://discordstatus.com/

For output, see https://discordstatus.com/api

Ex:
```python
    from discordstatus import DiscordStatus

    status_obj = DiscordStatus()

    print(str(status_obj.status))
```

Properties:
- summary
- status
- components
- unresolved_incidents
- all_incidents
- upcoming_maintenances
- active_maintenances
- all_maintenances
gcpsecurity 0.0.6
Small package used to analyze or improve gcp security of GCP cloud resources
Requires Python: >=3.6

# This Package helps to improve GCP project security and reduce billing from unused resources by performing some checks 

This script is worked for individual GCP project not on organization or folder level
__________


package installation
    
    pip3 install gcpsecurity

Ensure google cloud platform API is enable for particular service on which you want to perform check
   
    example,
    
    Enable api for data proc
    Enable api for app engine ...etc
    

How to use ??

    step 1: Import classes to perform checks
        
        from gcpsecurity.gcp_data_proc import ExecuteCheckDp
        from gcpsecurity.gcp_gke import ExecuteCheckGke
                 
    step 2: Create GCP service account with project viewer permission
    step 3: Initlize ExecuteCheck class with service account file path and project id
            
        dp = ExecuteCheckDp(servive_account_file_path=SERVICE_ACCOUNT_FILE_PATH, project_id=PROJECT_ID)
        gke = ExecuteCheckGke(servive_account_file_path=SERVICE_ACCOUNT_FILE_PATH, project_id=PROJECT_ID)
             
    
    step 4: Call perform_check() method of ExecuteCheck classes object
    
            dp_result = dp.perform_check()
            gke_result = gke.perform_check()
    
    step 5: Print results
            
            print(dp_result)
            print(gke_result)

Available services checks classes:
        
        compute engine checks ==> from gcpsecurity.gcp_vm import ExecuteCheckVm
        IAM checks            ==> from gcpsecurity.gcp_iam import ExecuteCheckIam
        VPC checks            ==> from gcpsecurity.gcp_vpc import ExecuteCheckVpc
        cloud storage         ==> from gcpsecurity.gcp_gcs import ExecuteCheckGcs
        cloud sql             ==> from gcpsecurity.gcp_cloud_sql import ExecuteCheckSql
        app engine            ==> from gcpsecurity.gcp_app_engine import ExecuteCheckGae
        data proc             ==> from gcpsecurity.gcp_data_proc import ExecuteCheckDp
        kubernetes engine     ==> gcpsecurity.gcp_gke import ExecuteCheckGke
 
              
Example script

        https://github.com/Aadeshkale/gcp-security/blob/master/main.py 
 
 
** Notes :-

1) Script might take time to execute because it is make googleapis calls.


2) Service account file should have appropriate permissions to perform checks That is Project Viewer (You can set permissions as per service also)


3) To add other checks as per your use go to package gcpsecurity add checks in existing services scripts or add new scripts for new services
reference :- https://github.com/Aadeshkale/gcp-security/tree/master/gcpsecurity
fitrate 1.0.0
Calculate the length of the sides that fit into the limited volume
Requires Python: >=3.6,<4.0

<p align="center">
  <img width="420px" src="https://raw.githubusercontent.com/suzukey/fitrate/main/docs/img/fitrate.png" alt='fitrate'>
</p>

<p align="center">
  <em>Calculate the length of the sides that fit into the limited volume</em>
</p>

<p align="center">
  <a href="https://github.com/suzukey/fitrate/actions?query=workflow%3ATest" target="_blank">
    <img src="https://github.com/suzukey/fitrate/workflows/Test/badge.svg" alt="Test">
  </a>

  <a href="https://codecov.io/gh/suzukey/fitrate" target="_blank">
    <img src="https://img.shields.io/codecov/c/gh/suzukey/fitrate" alt="Coverage">
  </a>

  <a href="https://pypi.org/project/fitrate/" target="_blank">
    <img src="https://img.shields.io/pypi/v/fitrate?color=blue" alt="Package version">
  </a>
</p>

---

**Documentation**:

**Demo**:

---

# fitrate

## Requirements

Python 3.6+

## Installation

```shell
$ pip3 install fitrate
```

## Example

```python
from fitrate import contain

print(contain((200, 200), 60000))
# (244, 244)

print(contain((400, 300), 60000))
# (282, 212)

# -----------

from fitrate import scale-down

print(scale-down((200, 200), 60000))
# (200, 200)

print(scale-down((400, 300), 60000))
# (282, 212)
```

<p align="center">&mdash; 🎞️ &mdash;</p>

<p align="center">
  <i>fitrate is licensed under the terms of the <a href="https://github.com/suzukey/fitrate/blob/main/LICENSE">MIT license</a>.</i>
</p>
messagehub 0.1.2
messagehub: crypto and traditional financial data hub

# messagehub [![Version][version-badge]][version-link] ![MIT License][license-badge]


messagehub: crypto and traditional financial data hub.
消息队列服务： 数字资产和传统资产数据队列服务，当前主要以数字资产为主，包含了传统的OHLCV数据，快讯数据，钱包数据，大额转账数据，DEFI数据，币种市场排名数据。    

include: 
bar data:  ohlcv for stock, crypto   
flash data: flash news of crypto symbols and stocks    
wallet data: blockchain labeling wallet 
transaction: blockchain  symbol large transactions 
defi data: uniswap pair transactions  
info data: coins market rank 

### Install

```
$ pip install messagehub
```

In China：    
```
$ pip install messagehub -i https://pypi.tuna.tsinghua.edu.cn/simple
```
 

### Usage

```
import messagehub as mh

token = "getapitokens"
api = mh.api(token)

# get crypto btc ohlcv in binance  获取现货kline数据 
code = "btcusdt"
exchange = "binance"
asset = "spot"
df = mh.bar(code, exchange=exchange, asset=asset)

# get 5m crypto perpetual ohlcv in binance with ma  获取永续合约kline数据
code = "btcusdt"
exchange = "binance"
asset = "perpetual"
freq = "5m"
ma = [7, 25, 99]
df = mh.bar(code, exchange=exchange, freq=freq, asset=asset, ma=ma)

# get 1d crypto perpetual ohlcv in binance with ma and time start end 
code = "btcusdt"
exchange = "binance"
asset = "perpetual"
freq = "1d"
ma = [7, 25, 99]
start = '20200201'
end = '20200802'
df = mh.bar(code, exchange=exchange, freq=freq, asset=asset, ma=ma, start_date=start, end_date=end)

# get flash data 快讯数据（jinse,bishijie,huoxing)
query = ""  
source_name = ""   # support jinse/bishijie/huoxing 
df = mh.flash(query, source_name)

# get wallet data  钱包数据
owner = "binance"
blockchain = "bitcoin"
symbol = "btc"
df = mh.wallet(owner, blockchain, symbol)

# get large transactions 大额转账数据
owner = ""      # binance , huobi ,
blockchain = "bitcoin"
symbol = "btc"
df = mh.transaction(owner, blockchain, symbol)

# get defi transactions 获取defi uniswap pair交易数据
contract_address = "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"
ret = mh.defi(contract_address, offset=1, limit=100)
print(ret.head(5))
ret.to_csv('defi_eth_usdt.csv', index=None)

# get info 获取支持的币种市场数据
df = mh.info()
df.to_csv('info.csv', index=None)

```


### License

[MIT](https://github.com/chaininout/messagehub/blob/master/LICENSE)


[version-badge]:   https://raw.githubusercontent.com/chaininout/messagehub/master/version-0.1-brightgreen.svg
[version-link]:    https://pypi.org/project/messagehub/
[license-badge]:   https://raw.githubusercontent.com/chaininout/messagehub/master/license.svg
libnetfilter 0.1.0.post1
Python wrapper (partial) around libnetfilter libraries
Requires Python: >=3.4,<4.0

This package unashamedly pilfered from `commonism/python-libnetfilter`_. I've simple done a little reformatting and set it up to use `poetry`_.

.. _commonism/python-libnetfilter: https://github.com/commonism/python-libnetfilter
.. _poetry: https://python-poetry.org

---------

This package wraps the ``netfilter`` ``C`` libraries:

- libnetfilter_log_
- libnetfilter_queue_
- libnetfilter_conntrack_

.. _libnetfilter_log: https://www.netfilter.org/projects/libnetfilter_log/index.html 
.. _libnetfilter_queue: https://www.netfilter.org/projects/libnetfilter_queue/index.html 
.. _libnetfilter_conntrack: https://www.netfilter.org/projects/libnetfilter_conntrack/index.html 

These libraries need to be installed on your system before using this package.

On Debian: ``apt-get install libnetfilter-conntrack3 libnetfilter-log1 libnetfilter-queue1``