semvec/pypi-packages huggingface dataset:
openpyxl-dictreader 0.1.9
A simple package to read openpyxl worksheets like a csv DictReader

# openpyxl-dictreader

## Description
A module that maps the information in each row in an [openpyxl](https://github.com/chronossc/openpyxl) worksheet to a dict whose keys are given by the optional fieldnames parameter, similar to Python's native [csv.DictReader](https://docs.python.org/3/library/csv.html#csv.DictReader).

## Installing
```python
pip install openpyxl-dictreader
```

## Examples
Input:
```python
import openpyxl_dictreader

reader = openpyxl_dictreader.DictReader("names.xlsx", "Sheet1")
for row in reader:
    print(row["First Name"], row["Last Name"])
```

Output:
```
Boris Johnson
Donald Trump
Mark Rutte
```

## load_workbook keyword arguments
The openpyxl load_workbook method takes several optional keyword arguments. These can be passed into the openpyxl_dictreader.DictReader constructor as keyword arguments:

```python
reader = openpyxl_dictreader.DictReader("names.xlsx", "Sheet1", read_only=False, keep_vba=False, data_only=False, keep_links=True)
```

## Acknowledgements
* [openpyxl](https://github.com/chronossc/openpyxl)
* [csv](https://docs.python.org/3/library/csv.html#csv.DictReader)
logifire 0.0.2
Logs manager with mute log feature at different levels: process, server, cluster
Requires Python: >=3.6

# Logifire v0.0.2

Simplifying the use of logs based on build-in logging.

## Main features

* The ability to configure a pause in sending messages, even if the service is running on different servers.
* Modern log message formatting with Python `format` way
* Support for any handlers based on the logging.Handler
* Slack handler

## Install

    pip install logifire

## Minimal example

```python
from logifire import Logifire

log = Logifire()  # init log with stderr handler by default

log.debug("Test arg='{}' and kwargs: foo='{foo}', bar='{bar}'", "first arg", foo="fval", bar="bval")
# 2022-05-27T23:27:42.721 28696   [DEBUG   ] main.<module>: Test arg='first arg' and kwargs: foo='fval', bar='bval'
```

## Post-configuration example

```python
# shared/config.py

import logging
from logifire import Logifire, Logbranch

log = Logifire(branches=[
    logging.FileHandler('main.log')
])
```
```python
# some_service/config.py

import logging
from logifire import Logbranch
from logifire.handlers import SysLogifireHandler

from shared.config import log

log.set_name('some_service')  # set name for logger
log.set_level(logging.INFO)   # set global level
log.add(                      # add syslog for only warnings
    Logbranch(SysLogifireHandler(), level=logging.WARNING)
)
```

## Example with log mute feature

This example sets up a Logifire (DEBUG as main level) with a Syslog handler and a Slack handler with a 5-second mute using Memcached.

This allows all DEBUG-level messages to be written to syslog and CRITICAL level messages to be sent to the Slack channel, but no more than once every 5 seconds.
Since Memcached (in this case) is used as the backend for mute, it'll work across the entire cluster if the service is running on multiple servers.

```python
import logging

from logifire import Logifire, Logbranch
from logifire.blowout import BlowoutMemcached
from logifire.handlers import SysLogifireHandler, SlackLogifireHandler

log = Logifire(
    name='my_service',  # your service name
    level=logging.DEBUG,  # main log level
    branches=[
        Logbranch(SysLogifireHandler()),  # add Syslog handler, you can use any logging.Handler
        Logbranch(  # add Slack handler
            handler=SlackLogifireHandler("<token>"),
            level=logging.CRITICAL,  # send only critical messages to Slack
            blowout_seconds=5  # after sending a message, mute the sending for 5 seconds
        )
    ],
    blowout=BlowoutMemcached([('127.0.0.1', 11211)])  # use Memcached for the mute feature (pymemcache lib required)
)

log.debug("Test debug message")  # send to syslog
log.info("Test info message")  # send to syslog
log.critical("Test critical message")  # send to syslog and slack
```

Copyright (C) 2022 by Dmitry Parfyonov <parfyonov.dima@gmail.com>  
MIT License, see http://opensource.org/licenses/MIT
jaresc 0.0.2
A package for visualization of Resource recovery amount and gain on sale data in Meguro
Requires Python: >=3.7

# jaresc
目黒区の年度別の資源ごみ回収量・売却益の可視化をしています。
範囲は2011~2019年の間です。
y軸は左が回収量(t)、右が売却益(1000円)です。

visualizes the amount of recyclable waste collected and proceeds from the sale of recyclable waste by year in Meguro City.
The range is between 2011~2019.
The y-axis is the amount collected (tons) on the left and the profit from sale (1000 yen) on the right.

# Dataset
・jarescは以下のページからデータをダウンロードして利用しています。\
・jaresc uses the data downloaded from the following page.

https://catalog.data.metro.tokyo.lg.jp/dataset/t131105d0000000018/resource/31bb126f-6f10-433a-9f65-d00986c48385


・jarescは、以下の著作物を改変・加工して利用しています。\
・jaresc uses the following copyrighted materials by modifying and processing them.

著作物のタイトル　資源回収量・収集拠点数・売却益、\
著作権者　東京都・目黒区、\
クリエイティブ・コモンズ・ライセンス 表示4.0国際（ https://creativecommons.org/licenses/by/4.0/deed.ja ）

# 実行例
```zsh
python meguro_resc.py
```
![びん](/img/びん.png)
nonebot-plugin-tweetPusher 0.0.2
a tweet pusher plugin for nonebot2
Requires Python: >=3.7

# nonebot plugin tweetPusher
![python](https://img.shields.io/pypi/pyversions/nonebot-plugin-picsearcher)
[![license](https://img.shields.io/github/license/synodriver/nonebot_plugin_picsearcher.svg)](https://raw.githubusercontent.com/synodriver/nonebot_plugin_picsearcher/main/LICENSE)
- 基于[nonebot2](https://github.com/nonebot/nonebot2)

## 基本功能
- 推送指定推主的推文

## 快速上手
因为本插件使用了定时任务，需要先添加nonebot2的定时任务插件。

如正在使用 nb-cli 构建项目，你可以从插件市场复制安装命令或手动输入以下命令以添加`nonebot_plugin_apscheduler`

```
nb plugin install nonebot_plugin_apscheduler
```
具体定时任务配置参见[官方文档](https://v2.nonebot.dev/docs/advanced/scheduler).

在 nonebot2 项目的环境文件`.env.*`中添加配置项:
```
TWI_USER=["aaa","bbb"]
PUSHER_USER=["1111111"]
PUSHER_GROUP=["00000000"]
```