semvec/pypi-packages huggingface dataset:
python-dogecoin 0.2.0
Friendly Dogecoin JSON-RPC API binding for Python 3
License: MIT
Requires Python: >=3.9
Keywords: rpc, doge, dogecoin, blockchain, cryptocurrency, json-rpc, api, python-dogecoin

## Python Dogecoin

[![PyPI](https://img.shields.io/pypi/v/python-dogecoin)](https://pypi.org/project/python-dogecoin)
[![Downloads](https://pepy.tech/badge/python-dogecoin)](https://pepy.tech/project/python-dogecoin)
[![Documentation Status](https://readthedocs.org/projects/python-dogecoin/badge/?version=latest)](https://python-dogecoin.readthedocs.io/en/latest/?badge=latest)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![EditorConfig](https://img.shields.io/badge/-EditorConfig-grey?logo=editorconfig)](https://editorconfig.org/)
![Tests](https://github.com/bmwant/python-dogecoin/actions/workflows/tests.yml/badge.svg)


[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)


This is a fork of a [dogecoin-python](https://github.com/jcsaaddupuy/dogecoin-python) library focused on a Python 3 support only. Note that you are looking for `python-dogecoin` version [on PyPI](https://pypi.org/project/python-dogecoin/) instead of original `dogecoin-python`.

This package allows performing commands such as listing the current balance and sending coins to the Satoshi (original) client from Python. The communication with the client happens over JSON-RPC.

📖 Documentation for the library can be found [here](https://python-dogecoin.readthedocs.io/en/latest/).

🍋 This project uses [podmena](https://github.com/bmwant/podmena) library to add fancy icons to commit messages.

### Installation

```bash
pip install python-dogecoin
```

### Usage

Connect to the blockchain daemon locally and make a simple request

```python
"""
Checks whether address provided is a valid Dogecoin wallet
"""
import dogecoinrpc

client = dogecoinrpc.connect_to_local()
address = 'D6cobCBMtRoJNw8kxAWJ8GtRbbaxSAB37u'
result = conn.validateaddress(address)
print(result)
```

For other examples and code snippets [check documentation](https://python-dogecoin.readthedocs.io/en/latest/).

### Development

[Poetry](https://python-poetry.org/docs/#installation) is used to manage virtual environment and project's dependencies as well as building the final package.

```bash
poetry install --all-extras
```

Formatting your code after adding changes

```bash
make format
```

### Testing

To launch basic set of unittests

```bash
make tests
# or the same underlying command
poetry run pytest -sv tests/
```

To launch integration tests you need [Dogecoin server](https://github.com/dogecoin/dogecoin) to be up and running and configured to use `testnet`.

```bash
poetry run pytest -sv tests/ --run-integration
```

### Much donations

If you love [Dogecoin](https://dogecoin.com/) and want to support the project you can send coins to this [MyDoge](https://www.mydoge.com/) wallet

`DAMheXnR5sw9c8UEJ2LB6twnXNrZwv14c8`

🐕 🚀 🌕
nonebot-plugin-acgnshow 0.3
Nonebot2插件，从哔哩哔哩会员购获取简易展览数据
License: MIT
Requires Python: <4.0,>=3.9

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-acgnshow

_✨ 从哔哩哔哩会员购获取展览简易信息 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/LiteyukiStudio/nonebot-plugin-acgnshow.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-acgnshow">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-acgnshow.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

## 📖 介绍

一个简单的 Nonebot2 插件，可以从哔哩哔哩会员购 API 获取展览（漫展等）的时间，地点，票价等信息。

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-acgnshow

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-acgnshow

</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-acgnshow

</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-acgnshow

</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-acgnshow

</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_acgnshow"]

</details>

## 🎉 使用

发送`展览`指令可以获取使用说明

## ⚙️ 配置

在 nonebot2 项目的`.env`文件中添加下表中的配置

|      配置项       | 必填 | 默认值 |                             说明                             |
| :---------------: | :--: | :----: | :----------------------------------------------------------: |
| ACGNSHOW_PAGESIZE |  否  |   10    | 单个图片的条目数，最大为 20，条目数过大可能导致 Bot 无法发送 |
| ACGNSHOW_BGIMAGE_PATH | 否 | 插件内置背景图 | 插件返回图片的背景图目录路径 |
| ACGNSHOW_SEND_SHOW_DETAILS_HTML | 否 | false | 是否发送展览的 HTML 详情信息图片（会员购的“活动介绍”栏目），实验性功能 |
| ACGNSHOW_SHOW_DETAILS_HTML_SCALE | 否 | 0.6 | HTML 详情信息图片的缩放比例，过大可能导致 Bot 无法发送 |
| ACGNSHOW_SHOW_DETAILS_HTML_IMG_COUNT | 否 | 2 | 每一张 HTML 详情信息图片中包含的图片个数，过大可能导致 Bot 无法发送 |