semvec/pypi-packages huggingface dataset:
deng 2025.10.11.1
Personal method encapsulation

# 个人常用工具类封装


## 更新历史

### 2022-5-9  
* git.pull_repo方法增加consistency_check参数，默认启用分支一致性检查  

### 2022-4-24
* windows.py模块更新，集成一些常用方法  

### 2022-4-8  
* 增加get_uuid方法  
* get_current_time方法支持直接传递格式，支持纳秒级输出  
* 修复自定义文件缓存类中setex方法声明与redis中相映方法声明不一致的问题  
* 优化文件缓存类位置  
* 优化日志  

### 2022-4-7  
* 添加timestamp_to_str方法，快速将时间戳转换成指定格式的字符串  
* 优化日志  
* 优化缓存类，防止没有配置redis时报错  


### 2022-3-26  
* 优化压缩函数compress_tgz与compress_zip支持直接压缩文件（原来只支持压缩目录）  

### 2022-3-25
* 优化格式化输出函数format_output中的溯源日志信息  
* 增加控制参数，可控制接口请求失败时是否显示整个http报文  

### 2022-3-1
* 优化parse_url_to_dict方法  
* 优化部分日志级别及为部分方法添加注释说明  
* 添加AES CBC加解密算法  

### 2021-11-17  
* 重构  

### 2019-11-07
* 新增生成银联卡卡号方法，可通过[支付宝校验](https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardNo=9400621673734008267&cardBinCheck=true)

### 2018-04-20  
* 新增to_dict方法，将x-www-form-urlencoded格式字符串转换成dict  

### 2018-02-27  
* 新增mysql连接池类MysqlPool；  

## pip安装
```
# 此方式安装方法最简便，但可能不是最新的
pip install deng
# 安装最新的版本
pip install git+https://github.com/Deng2016/deng@201801
```

## requirements.txt引用
```
-e git+git@github.com:Deng2016/deng.git@master#egg=deng
```

## 安装应用
```
python setup.py install
```

## 开发模式安装
```
python setup.py develop
```

## 创建egg包
```
# 生成egg包
python setup.py bdist_egg

# 安装egg包
easy_install deng-0.1-py2.7.egg
```

## 创建tar.gz包
```
# 创建tar.gz包
python setup.py sdist --formats=gztar

# 将tar.gz包安装到别处
pip install deng-0.1.tar.gz
```

## 将包发布到pypi
```
# 先升级打包工具
pip install --upgrade setuptools wheel twine

# 打包
python setup.py sdist bdist_wheel

# 检查
twine check dist/*

# 上传pypi
twine upload dist/*
```

[打包参考资料](http://www.bjhee.com/setuptools.html)
django-cli-no-admin 2025.10.1
Use the Django CLI using "django" without typing "django-admin"
Requires Python: >=3.10

# django-cli-no-admin

> Use the Django CLI using "django" without typing "django-admin".

django-cli-no-admin is a config-only project that creates a `django` command and nothing more. With this package, you can use the `django` command instead of `django-admin` to execute management commands in your Django project.

See the blog post: https://micro.webology.dev/2024/12/14/new-project-to.html 

## Installation

You can install django-cli-no-admin using pip:

```shell
pip install django-cli-no-admin
```

Or, if you prefer uv: 

```shell
uv pip install django-cli-no-admin
```

## Usage

Once installed, you can use `django` from the command line in place of `django-admin`:

```shell
django startproject myproject
```

Or any other Django management command:

```shell
django runserver
```

## No Additional Setup Required

There are no additional dependencies or configurations needed. Simply install the package, and you're ready to go.

## License

django-cli-no-admin is licensed under the BSD License. See the LICENSE.txt file for details.
weather-nws-mcp 0.1.9
A Python package for accessing weather data from the National Weather Service (NWS) API
Requires Python: >=3.11
Keywords: weather, nws, api, forecast, alerts

# Weather Package

A Python package for accessing weather data from the National Weather Service (NWS) API.

## Features

- Get weather alerts for US states
- Get weather forecasts for any location by latitude and longitude
- Easy-to-use asynchronous API

## Installation

```bash
pip install weather
```

## Usage

```python
from weather import get_alerts, get_forecast

# Get weather alerts for California
alerts = get_alerts("CA")

# Get forecast for a specific location (latitude, longitude)
forecast = get_forecast(34.0522, -118.2437)  # Los Angeles, CA
```

## Requirements

- Python 3.11+
- httpx
- mcp
lesscode-charts 0.0.64
lesscode_charts是数据图标转换工具
Requires Python: >=3.6

# lesscode_charts

lesscode_charts是数据图标转换工具



## 森林或者树图
```json
{
  "title": "",
  "chart_type": "forest",
  "series": [],
  "pool": {}
}
```

## 热力图
```json
{
  "title": "",
  "chart_type": "heat_map",
  "data": [],
  "pool": {}
}
```

## 柱状图/直方图/折线图
```json
{
  "chart_type": "histogram",
  "xName": "",
  "yName": "",
  "title": "",
  "x": [],
  "series": [],
  "pool": {}
}
```

## K线图
```json
{
  "chart_type": "k_line",
  "xName": "",
  "yName": "",
  "title": "",
  "x": "",
  "y": "",
  "series": [
    {
      "name": "",
      "data": [],
      "unit": ""
    }
  ],
  "pool": {}
}
```

## 布局图
```json
{
  "chart_type": "layout",
  "title": "",
  "series": [],
  "pool": {}
}
```

## 列表
```json
{
  "chart_type": "list",
  "title": "",
  "columns": [],
  "data": [],
  "total": 0,
  "count": 0,
  "pool": {}
}
```

## 饼图
```json
{
  "chart_type": "pie",
  "title": "",
  "series": [
    {
      "name": "",
      "data": [
        {
          "name": "",
          "value": 0,
          "unit": "",
          "proportion": 0,
          "other": ""
        }
      ],
      "unit": ""
    }
  ],
  "pool": {}
}
```

## 金字塔
```json
{
  "chart_type": "pyramid",
  "title": "",
  "series": [
    {
      "name": "",
      "data": [
        {
          "name": "",
          "value": 1,
          "proportion": 0
        }
      ],
      "unit": ""
    }
  ],
  "pool": {}
}
```

## 雷达图
```json
{
  "chart_type": "radar",
  "indicator": [],
  "series": [
    {
      "name": "",
      "data": [
        {
          "name": "",
          "value": 1
        }
      ],
      "unit": ""
    }
  ],
  "title": "",
  "pool": {}
}
```

## 矩形树图、旭日图
```json
{
  "chart_type": "rect",
  "title": "",
  "series": {
    "name": "",
    "data": [],
    "unit": ""
  },
  "pool": {}
}
```

## 关系图
```json
{
  "chart_type": "relation",
  "xName": "",
  "yName": "",
  "series": [],
  "pool": {}
}
```

## 桑基图
```json
{
  "chart_type": "sankey",
  "title": "",
  "series": [
    {
      "name": "",
      "data": [],
      "links": []
    }
  ],
  "pool": {}
}
```

## 散点图
```json
{
  "chart_type": "scatter",
  "xName": "",
  "yName": "",
  "series": [
    {
      "name": "系列名称，data 中数据项为单指标（单值）时也可用于显示指标名称",
      "data": [
        {
          "name": "点的名称，可不提供",
          "value": [
            1,
            1,
            100
          ]
        }
      ],
      "unit": "单位1"
    }
  ],
  "title": "",
  "pool": {}
}
```

## 表格
```json
{
  "chart_type": "table",
  "title": "",
  "columns": [
    {
      "title": "",
      "dataIndex": "",
      "key": ""
    }
  ],
  "dataSource": [],
  "total": 0,
  "count": 0,
  "auth_count": 0,
  "pool": {}
}
```

## 地图
```json
{
  "chart_type": "univalent_graph",
  "title": "",
  "series": [
    {
      "name": "",
      "data": [],
      "unit": ""
    }
  ],
  "pool": {}
}
```

## 词云
```json
{
  "title": "",
  "chart_type": "word_cloud",
  "data": [
    {
      "name": "气压信号",
      "value": 2
    },
    {
      "name": "织物张力",
      "value": 2
    }
  ]
}
```
emoji-data 0.5.0
A library that represents emoji sequences and characters based on the Unicode® Technical Standard #51 Data Files
Requires Python: >=3.9
Keywords: emoji, unicode

# emoji-data

[![CI](https://github.com/tanbro/emoji-data/actions/workflows/python-package.yml/badge.svg)](https://github.com/tanbro/emoji-data/actions/workflows/python-package.yml)
[![Documentation Status](https://readthedocs.org/projects/emoji-data/badge/?version=latest)](https://emoji-data.readthedocs.io/en/latest/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/emoji-data.svg)](https://pypi.org/project/emoji-data/)

A library that represents emoji sequences and characters based on the [Unicode® Technical Standard #51 Data Files](http://www.unicode.org/reports/tr51/#Data_Files_Table).

## Install

```sh
pip install emoji-data
```

## How to use

See [`docs/notebooks/example.ipynb`](docs/notebooks/example.ipynb)
types-aiofiles 25.1.0.20251011
Typing stubs for aiofiles
Requires Python: >=3.9

## Typing stubs for aiofiles

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`aiofiles`](https://github.com/Tinche/aiofiles) package. It can be used by type checkers
to check code that uses `aiofiles`. This version of
`types-aiofiles` aims to provide accurate annotations for
`aiofiles==25.1.*`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/aiofiles`](https://github.com/python/typeshed/tree/main/stubs/aiofiles)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.406

It was generated from typeshed commit
[`d7cf36970fd3433fe821f982591c56043c75a5ba`](https://github.com/python/typeshed/commit/d7cf36970fd3433fe821f982591c56043c75a5ba).
types-flake8-typing-imports 1.17.0.20251011
Typing stubs for flake8-typing-imports
Requires Python: >=3.9

## Typing stubs for flake8-typing-imports

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`flake8-typing-imports`](https://github.com/asottile/flake8-typing-imports) package. It can be used by type checkers
to check code that uses `flake8-typing-imports`. This version of
`types-flake8-typing-imports` aims to provide accurate annotations for
`flake8-typing-imports==1.17.*`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/flake8-typing-imports`](https://github.com/python/typeshed/tree/main/stubs/flake8-typing-imports)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.406

It was generated from typeshed commit
[`d7cf36970fd3433fe821f982591c56043c75a5ba`](https://github.com/python/typeshed/commit/d7cf36970fd3433fe821f982591c56043c75a5ba).