semvec/pypi-packages huggingface dataset:
minobot 0.0.6
A package for visualizing maze solving intended for students learning programming with Python. Developed at the VU Amsterdam.
Requires Python: >=3.10
Keywords: maze, education

# Minobot

An educational Python package for learning programming through maze solving.

## For Students

Learn programming concepts by writing code to solve mazes. Watch your robot navigate through mazes in real-time or as videos in Jupyter notebooks.

## Quick Start

```python
from minobot import *

# Create a maze
maze = [
    [1, 1, 1, 1, 1], # 1 represents a wall
    [1, 0, 0, 2, 1], # 0 is empty and 2 is the starting position
    [1, 0, 1, 0, 1],
    [1, 0, 0, 3, 1], # 3 is the goal
    [1, 1, 1, 1, 1]
]

# Write your solution
def solve():
    while not has_reached_end():
        if can_move():
            move()
        else:
            turn_left()

# Watch it work
solve_maze(maze, solve)
```

## Installation

```bash
pip install minobot
```

> ⚠️ **Warning:**  
> If you encounter an *encoder error* when trying to display a video in a notebook, you may need to reinstall OpenCV using Conda. Follow these steps:

 1. Create and activate a Conda environment (if you haven’t already).  
 2. Run the following commands:

 ```bash
 pip install minobot
 pip uninstall opencv-python
 conda install -c conda-forge opencv
 ```


## Robot Instructions

The MinoBot provides simple, intuitive instructions for maze navigation:

### Movement Instructions
- `move()` - Move forward one step (returns `True` if successful, `False` if blocked)
- `turn_left()` - Turn 90 degrees to the left
- `turn_right()` - Turn 90 degrees to the right  
- `turn_around()` - Turn 180 degrees

### Sensing Instructions
- `can_move()` - Check if the robot can move forward without hitting a wall
- `has_reached_end()` - Check if the robot has reached the goal
- `get_position()` - Get current (x, y) position
- `get_direction()` - Get current direction (NORTH, EAST, SOUTH, WEST)
- `get_steps()` - Get number of steps taken

### Painting Instructions
- `paint_current(color)` - Paint the tile the robot is standing on
- `paint_forward(color)` - Paint the tile in front of the robot
- `get_current_color()` - Get color of current tile
- `get_forward_color()` - Get color of tile in front

#### Colors

The MinoBot can paint tiles with the following colors:
- `red` - Light red
- `blue` - Light blue  
- `green` - Light green
- `yellow` - Light yellow
- `purple` - Light purple
- `orange` - Light orange
- `pink` - Light pink
- `cyan` - Light cyan



## Educational Features

- **Visual Learning**: See your code execute step-by-step
- **Multiple Environments**: Works in Jupyter notebooks and standalone Python
- **Algorithm Practice**: Perfect for learning loops, conditionals, and problem-solving
je-load-density-dev 0.0.78
Load & Stress Automation Freamework
Requires Python: >=3.10

## LoadDensity
[![Downloads](https://static.pepy.tech/badge/je-load-density)](https://pepy.tech/project/je-load-density)

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b3f05488c16a44959cbf0ec28d4c977c)](https://www.codacy.com/gh/JE-Chen/LoadDensity/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=JE-Chen/LoadDensity&amp;utm_campaign=Badge_Grade)

[![LoadDensity Stable Python3.8](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_8.yml/badge.svg)](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_8.yml)

[![LoadDensity Stable Python3.9](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_9.yml/badge.svg)](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_9.yml)

[![LoadDensity Stable Python3.10](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_10.yml/badge.svg)](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_10.yml)

[![LoadDensity Stable Python3.11](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_11.yml/badge.svg)](https://github.com/Intergration-Automation-Testing/LoadDensity/actions/workflows/stable_python3_11.yml)

### Documentation

[![Documentation Status](https://readthedocs.org/projects/loaddensity/badge/?version=latest)](https://loaddensity.readthedocs.io/en/latest/?badge=latest)

[LoadDensity Doc Click Here!](https://loaddensity.readthedocs.io/en/latest/)

---
> Project Kanban \
> https://github.com/orgs/Integration-Automation/projects/2/views/1 
> * Load automation.
> * Easy setup user template.
> * Load Density script.
> * Generate JSON/HTML/XML report.
> * 1 sec / thousands requests.
> * Fast spawn users.
> * Multi test on one task.
> * Specify test time.
> * OS Independent.
> * Remote automation support.
> * Project & Template support.
---

## install

```
pip install je_locust_wrapper
```

## require

```
python 3.8 or later  
```

>* Test on
>>    * windows 10 ~ 11
>>    * osx 10.5 ~ 11 big sur
>>    * ubuntu 20.0.4
>>    * raspberry pi 3B+
>>    * All test in test dir
>>    * 
### Architecture Diagram
![Architecture Diagram](architecture_diagram/LoadDnesity_Archirecture.drawio.png)
pymod112 0.1.5
一个可以离线检验公民身份号码是否合法的程序
Requires Python: >=3.10
Keywords: mod112, mod11-2

# pymod112

一个基于Python开发的公民身份号码检验与地区代码查找程序

by HoshsL

## 安装

[PyPI](https://pypi.org/project/pymod112/) 

使用pip安装，仅支持Python 3.10及以上版本

```sh
pip install pymod112
```

## 使用

校验身份证号码(隐藏详情)

```python
>>> import pymod112
>>> pymod112.mod112('11010519491231002X')
True
```

校验身份证号码(显示详情)

```python
>>> import pymod112
>>> pymod112.mod112('11010519491231002X', details=True, location_check=True)
{'id': '11010519491231002X',
 'province': ['11', '北京市'],
 'city': ['01', ''],
 'county': ['05', '朝阳区'],
 'birth_date': ['1949', '12', '31'],
 'gender': '女',
 'result': True,
 'problem': '000'}
```

查询地区代码对应的地区名

```python
>>> import pymod112
>>> pymod112.code2location('110105')
['北京市', '', '朝阳区']
```

查询地区名对应的地区代码

```python
>>> import pymod112
>>> pymod112.location2code(['北京市', '朝阳区'])
'110105'
```

返回全部错误代码及其对应内容

```python
>>> import pymod112
>>> pymod112.CODE2ERROR
{'000':'不存在问题',
 '001':'缺失关键文件',
 '002':'参数location长度错误',
 '003':'参数code长度错误',
 '004':'参数id长度错误',
 '005':'参数id内容包含非法字符',
 '006':'参数id不合法',
 '007':'参数id中包含不存在的地区',
 '008':'参数id中包含不存在的时间'}
```

返回区划码版本

```python
>>> import pymod112
>>> pymod112.RCLIST
["24", "20"]
```

## 许可证
MIT License

## 更新日志
### **0.1.5(2025-11-7)**
 - 错误修复
    - 更新了区划码，修复了地址检查出错的可能性
 - 新增
    - 新增可选参数rc_time，默认最新版，可选版本请查找RCLIST
    - 新增常量RCLIST，存储区划码版本，最新版本是RCLIST[0]

### **0.1.4(2024-9-21)**
 - 错误修复
     - 修复了资源缺失的问题
 - 新增
     - 新增最早出生时间检查
     - 新增错误代码'001'
     - 新增对关键资源的检查
 - 已知问题
     - 存在地址检查出错的可能性

### **0.1.2(2023-8-5)**
 - 错误修复
     - 修复了参数id来自同年的未来时间也可能通过时间校验的问题
     - 修复了参数id最后一位不合法但不会返回错误代码005的问题
 - 新增
     - 新增函数location2code以方便查询行政区划代码
 - 改进
     - 修改了一个函数名(code_to_location -> code2location)
     - 修改了一个常量名(code_to_error -> CODE2ERROR)
     - 函数code2location参数code要求类型由list变为str
     - 更新了CODE2ERROR
     - 函数mod112返回中'gender'的值变为'男'或'女'
 - 其它
    - 开源许可证更改为MIT License

### **0.1.1(2023-7-2)**
 - 加入参数类型检查
 - 优化错误代码（停用001 002 003）
 - 删除函数problem()

### **0.1.0(2023-6-24)**
- 这是第一个正式发行版