changedetector-0.6.1
توضیحات
A basic change detector for the Python, Ruby and C++.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | changedetector-0.6.1 |
| نام | changedetector |
| نسخه کتابخانه | 0.6.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Lux Luth <luxusluth@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/changedetector/ |
| مجوز | - |
<div align="center">
# changedetector
[](https://pypi.org/project/changedetector)
[](https://pypi.org/project/changedetector)
</div>
## Installation
```sh
pip install changedetector
```
Change detector is a tool that can be used to detect changes in your code-base.
It works with a simple command
```sh
detectchange watch --verbose
```
## Upcomming Features
- [x] Make a config file `.detectchange` -> a toml file **(partial)**
- [x] Read Makefile
- [ ] Add support for more languages
### Config file
```toml
mode="wrs"
lang="c"
file="./src/main.c"
verbose=false
[c]
cc="gcc"
cflags="-Wall -Wextra -Werror"
output="./bin/main"
```
| **commands** | **type** | **required** | **description** |
|:------------:|:--------:|:------------:|:----------------------------------:|
| mode | `str` | yes | Mode for detectchange - `wrs` or `wro` |
| lang | `str` | yes | File to excecute language |
| file | `str` | yes | File to watch |
| verbose | `bool` | no | verbose |
#### C, Cpp Config
For C and Cpp you need to add a `[c]` section to the config file
```toml
[c]
cc="gcc"
cflags="-Wall -Wextra -Werror"
output="./bin/main"
```
| **commands** | **type** | **required** | **description** |
|:------------:|:--------:|:------------:|:---------------:|
| cc | `str` | yes | The compiler |
| cflags | `str` | no | Compiler flags |
| output | `str` | no | Output file |
It detects changes in your working directory. And executes the scripts chosen
when the script is executed.
It can be used to detect changes in python, ruby, Cpp and C files.
---
License : MIT
نیازمندی
| مقدار | نام |
|---|---|
| - | blessed==1.20.0 |
| - | certifi==2022.12.7 |
| - | charset-normalizer==3.1.0 |
| - | click==8.1.3 |
| - | colorama==0.4.6 |
| - | commonmark==0.9.1 |
| - | idna==3.4 |
| - | inquirerpy==0.3.4 |
| - | pfzy==0.3.4 |
| - | prompt-toolkit==3.0.38 |
| - | pyfiglet==0.8.post1 |
| - | pygments==2.14.0 |
| - | python-editor==1.0.4 |
| - | readchar==4.0.5 |
| - | requests==2.28.2 |
| - | rich==12.6.0 |
| - | setuptools==67.6.1 |
| - | shellingham==1.5.0.post1 |
| - | six==1.16.0 |
| - | tomli==2.0.1 |
| - | typer[all]==0.7.0 |
| - | urllib3==1.26.15 |
| - | watchdog==3.0.0 |
| - | wcwidth==0.2.6 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl changedetector-0.6.1:
pip install changedetector-0.6.1.whl
نصب پکیج tar.gz changedetector-0.6.1:
pip install changedetector-0.6.1.tar.gz