semvec/pypi-packages huggingface dataset:
ChineseNewYear-Zodiac 1.0.0
A simple Python package to find Chinese New Year and Chinese Zodiac
Requires Python: >=3.7

# Chinese-New-Year-and-Zodiac

**Date**: Fri 10 February 2023 20:21:38 CET

**Author**: Nicolas Flandrois

**Licence**: MIT License - Copyright (c) 2023 - Nicolas Flandrois

![](https://img.shields.io/badge/Python-%3E%3D3.7-blue.svg) ![](https://img.shields.io/badge/dependencies-astral%20%3E%3D%203.2-informational.svg) ![GitHub](https://img.shields.io/github/license/NicolasFlandrois/Chinese-New-Year-and-Zodiac) ![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/NicolasFlandrois/Chinese-New-Year-and-Zodiac?style=flat)

----
## DESCRIPTION:
Chinese-New-Year-and-Zodiac package aim to automate finding Chinese New Year's date, and/or find the Chinese Zodiac sign, for a given Year or Date.

This package is set to be multi languages:
- 'en' - English (default)
- 'fr' - French
- 'cn' - Chinese (simplified chinese, mainland china, mandarin) *work in progress*

## Install

`pip install ChineseNewYear-Zodiac`

## How to use it?
*exemples:*

```python
from CnyZodiac import ChineseNewYearZodiac as cnyz

# Default settings (lang='en')
my_cnyz = cnyz()

# Change Language
en_cnyz = cnyz(lang='en')  # English
fr_cnyz = cnyz(lang='fr')  # French
cn_cnyz = cnyz(lang='cn')  # Simplified Chinese Mandarin  (Work In Progress)


# Chinese Zodiac for a given Year
zodiac_2023 = my_cnyz.zodiac(2023)
# output: Rabbit

# Find the Chinese New Year's date for a given year (Integer)
cny_2023 = my_cnyz.chinese_new_year(2023)
# output: datetime.date(2023, 1, 22)

# Given a datetime object find out it's Chinese Zodiac sign
zodiac_date = zodiac_date(datetime.datetime(1998, 7, 15))
# output: Tiger

# Find out what Chinese Zodiac sign is it right now
now_zodiac = my_cnyz.zodiac_now()  # e.g. if command launched on 2023-02-10
# outupt: Rabbit

# For a given datetime object, find out in more detailed informations: New Year this year, and current Chinese Zodiac
cnyz_1968 = my_cnyz.chinese_new_year_zodiac_full_details_date(datetime.datetime(1968, 6, 6, 1, 59, 5))
# output:
# {
#     'Chinese New Year': date(1968, 1, 30),
#     'Zodiac': 'Monkey',
#     'date': datetime(1968, 6, 6, 1, 59, 5),
#     'year': 1968
# }

# Get detailed information for current datetime.now() automatically
cnyz_now = my_cnyz.chinese_new_year_zodiac_full_details_now()
# output (if current datetime is 2023-02-10):
# {
#     'Chinese New Year': date(2023, 1, 22),
#     'Zodiac': 'Rabbit',
#     'date': datetime(2023, 2, 10, 1, 59, 5),
#     'year': 2023
# }

# Get detailed information for next (comming) year, based on datetime.now() automatically
cnyz_now = my_cnyz.chinese_new_year_zodiac_full_details_now()
# output (if current datetime is 2023-07-04):
# {
#     'Chinese New Year': date(2024, 2, 10),
#     'Zodiac': 'Dragon',
#     'year': 2024
# }
```

---
### TODO (Work In Progress, still in development)
- [ ] Add Simplified Chinese in multi lang.
- [ ] Optimize code AND find a mathematical full proof way to conteract leap months, so this package can work for ANY given year/date (past of future).
javascript-wu-lianwang-biancheng-jifan 2023.2.11.0
JavaScript 物联网编程（机翻）
Requires Python: >=3.6

# JavaScript 物联网编程（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-wu-lianwang-biancheng-jifan
docker run -tid -p <port>:80 apachecn0/javascript-wu-lianwang-biancheng-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-wu-lianwang-biancheng-jifan
javascript-wu-lianwang-biancheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-wu-lianwang-biancheng-jifan
javascript-wu-lianwang-biancheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-web-yingyong-gaoji-jiaocheng-jifan 2023.2.11.0
JavaScript Web 应用高级教程（机翻）
Requires Python: >=3.6

# JavaScript Web 应用高级教程（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-web-yingyong-gaoji-jiaocheng-jifan
docker run -tid -p <port>:80 apachecn0/javascript-web-yingyong-gaoji-jiaocheng-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-web-yingyong-gaoji-jiaocheng-jifan
javascript-web-yingyong-gaoji-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-web-yingyong-gaoji-jiaocheng-jifan
javascript-web-yingyong-gaoji-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-tubiao-rumen-zhinan-jifan 2023.2.11.0
JavaScript 图表入门指南（机翻）
Requires Python: >=3.6

# JavaScript 图表入门指南（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-tubiao-rumen-zhinan-jifan
docker run -tid -p <port>:80 apachecn0/javascript-tubiao-rumen-zhinan-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-tubiao-rumen-zhinan-jifan
javascript-tubiao-rumen-zhinan-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-tubiao-rumen-zhinan-jifan
javascript-tubiao-rumen-zhinan-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-siwei-jifan 2023.2.11.0
JavaScript 思维（机翻）
Requires Python: >=3.6

# JavaScript 思维（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-siwei-jifan
docker run -tid -p <port>:80 apachecn0/javascript-siwei-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-siwei-jifan
javascript-siwei-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-siwei-jifan
javascript-siwei-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-shujujiegou-he-suanfa-shiyongshouce-jifan 2023.2.11.0
JavaScript 数据结构和算法实用手册（机翻）
Requires Python: >=3.6

# JavaScript 数据结构和算法实用手册（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-shujujiegou-he-suanfa-shiyongshouce-jifan
docker run -tid -p <port>:80 apachecn0/javascript-shujujiegou-he-suanfa-shiyongshouce-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-shujujiegou-he-suanfa-shiyongshouce-jifan
javascript-shujujiegou-he-suanfa-shiyongshouce-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-shujujiegou-he-suanfa-shiyongshouce-jifan
javascript-shujujiegou-he-suanfa-shiyongshouce-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-shujujiegou-he-suanfa-jiaocheng-jifan 2023.2.11.0
JavaScript 数据结构和算法教程（机翻）
Requires Python: >=3.6

# JavaScript 数据结构和算法教程（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-shujujiegou-he-suanfa-jiaocheng-jifan
docker run -tid -p <port>:80 apachecn0/javascript-shujujiegou-he-suanfa-jiaocheng-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-shujujiegou-he-suanfa-jiaocheng-jifan
javascript-shujujiegou-he-suanfa-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-shujujiegou-he-suanfa-jiaocheng-jifan
javascript-shujujiegou-he-suanfa-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-shili-jifan 2023.2.11.0
JavaScript 示例（机翻）
Requires Python: >=3.6

# JavaScript 示例（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-shili-jifan
docker run -tid -p <port>:80 apachecn0/javascript-shili-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-shili-jifan
javascript-shili-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-shili-jifan
javascript-shili-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-rumen-zhinan-jifan 2023.2.11.0
JavaScript 入门指南（机翻）
Requires Python: >=3.6

# JavaScript 入门指南（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-rumen-zhinan-jifan
docker run -tid -p <port>:80 apachecn0/javascript-rumen-zhinan-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-rumen-zhinan-jifan
javascript-rumen-zhinan-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-rumen-zhinan-jifan
javascript-rumen-zhinan-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-qukuai-lian-biancheng-xuexi-shouce-jifan 2023.2.11.0
JavaScript 区块链编程学习手册（机翻）
Requires Python: >=3.6

# JavaScript 区块链编程学习手册（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-qukuai-lian-biancheng-xuexi-shouce-jifan
docker run -tid -p <port>:80 apachecn0/javascript-qukuai-lian-biancheng-xuexi-shouce-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-qukuai-lian-biancheng-xuexi-shouce-jifan
javascript-qukuai-lian-biancheng-xuexi-shouce-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-qukuai-lian-biancheng-xuexi-shouce-jifan
javascript-qukuai-lian-biancheng-xuexi-shouce-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-quanzhan-jiaocheng-jifan 2023.2.11.0
JavaScript 全栈教程（机翻）
Requires Python: >=3.6

# JavaScript 全栈教程（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-quanzhan-jiaocheng-jifan
docker run -tid -p <port>:80 apachecn0/javascript-quanzhan-jiaocheng-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-quanzhan-jiaocheng-jifan
javascript-quanzhan-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-quanzhan-jiaocheng-jifan
javascript-quanzhan-jiaocheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-mianxiangduixiangbiancheng-jifan 2023.2.11.0
JavaScript 面向对象编程（机翻）
Requires Python: >=3.6

# JavaScript 面向对象编程（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-mianxiangduixiangbiancheng-jifan
docker run -tid -p <port>:80 apachecn0/javascript-mianxiangduixiangbiancheng-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-mianxiangduixiangbiancheng-jifan
javascript-mianxiangduixiangbiancheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-mianxiangduixiangbiancheng-jifan
javascript-mianxiangduixiangbiancheng-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-lingyu-qudong-sheji-jifan 2023.2.11.0
JavaScript 领域驱动设计（机翻）
Requires Python: >=3.6

# JavaScript 领域驱动设计（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-lingyu-qudong-sheji-jifan
docker run -tid -p <port>:80 apachecn0/javascript-lingyu-qudong-sheji-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-lingyu-qudong-sheji-jifan
javascript-lingyu-qudong-sheji-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-lingyu-qudong-sheji-jifan
javascript-lingyu-qudong-sheji-jifan <port>
# 访问 http://localhost:{port} 查看文档
```
javascript-kuaisu-yufa-cankao-jifan 2023.2.11.0
JavaScript 快速语法参考（机翻）
Requires Python: >=3.6

# JavaScript 快速语法参考（机翻）

## 下载

### Docker

```
docker pull apachecn0/javascript-kuaisu-yufa-cankao-jifan
docker run -tid -p <port>:80 apachecn0/javascript-kuaisu-yufa-cankao-jifan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install javascript-kuaisu-yufa-cankao-jifan
javascript-kuaisu-yufa-cankao-jifan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g javascript-kuaisu-yufa-cankao-jifan
javascript-kuaisu-yufa-cankao-jifan <port>
# 访问 http://localhost:{port} 查看文档
```