semvec/pypi-packages huggingface dataset:
bilispyder 0.1.0
A Python package to calculate the signature of the Bilibili's heartbeat requests
Requires Python: >=3.6
Keywords: bilibili,live,heartbeat,sign,spyder

# bilispyder

A Python package to calculate the signature of the Bilibili's heartbeat requests

**For the moment, only supported on Unix platforms with a x86-64 architecture!**

## Installation
1. install this package by pip first.
    `pip3 install bilispyder`
2. check if the [Imported functions](https://github.com/wasmerio/python-ext-wasm#imported-functions) feature is supported or not.
    `python3 -c "from wasmer import Features; print(Features.host_functions())"` 
    if it printed out `True`, skip the steps below, otherwise follow the steps below.
3. compile a new `wasmer` by yourself. the issue https://github.com/wasmerio/python-ext-wasm/issues/215 may help you, good lucky!
    if you don't want to compile one by yourself and the Python verison you used is 3.8, consider the one I compiled.
    https://github.com/acgnhiki/python-ext-wasm/releases/download/0.4.2-beta.11/wasmer-0.4.2_beta_11-cp38-cp38-manylinux1_x86_64.whl
4. use the new one to reinstall `wasmer`.

## Usage
```python
from bilispyder import calc_sign, calc_sign_async

data = {
    'id': '[1, 33, 1, 23058]',
    'device': '["AUTO8115983198593723", "2ddca4d0-2e72-427e-9b97-55ee70536381"]',
    'ets': 1598401991,
    'benchmark': 'seacasdgyijfhofiuxoannn',
    'time': 300,
    'ts': 1598402290937,
}

secret_rule = [2, 5, 1, 4]

sign = calc_sign(data, secret_rule)
sign = await calc_sign_async(data, secret_rule)
```

## About the wasm file
the wasm file is downloaded from https://i0.hdslb.com/bfs/live/e791556706f88d88b4846a61a583b31db007f83d.wasm and the file name is its `sha1`.

## Special Thanks
This project is inspired by and got much help from the project https://github.com/lkeme/bilibili-pcheartbeat
privtext 2.2.0
A tool for creating create your private

# privtext-python

A command line utility to create private text messages on privtext.com. A must have utility for sys admins.

[![PrivText command line utility: basic usage](https://img.youtube.com/vi/9GYRzT3mYsc/0.jpg)](https://www.youtube.com/watch?v=9GYRzT3mYsc "Everything Is AWESOME")

# Install

```bash
pip install privtext
```

# Use

Example shell command:

```bash
privtext "Hello world"
```

Will encrypt the text "Hello world" and save on server, a one-time URL will be displayed:
```
https://privtext.com/hJwMs9#RPQxSwqPaaR4tJEX
```

Open the link, the text "hello world" will be decrypted and displayed, the record on the server will be deleted immedately.

# Why?

Safely share your secrets in chats, emails, and social networks. Never send your passwords in plain text, the logs are left on servers, your desktop. Make sure your chat logs do not compromise your secrets.

# Links

 - [PrivText.com - privtext on the Web](https://privtext.com/)
 - [PyPI](https://pypi.org/project/privtext)
 - [Github](https://github.com/privtext/privtext-python)
 - [Issues](https://github.com/privtext/privtext-python/issues)
 
## Code of Conduct

Everyone interacting in the privtext project's codebases, issue trackers, chat rooms, and mailing lists is expected to
follow the [PSF Code of Conduct](https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md).