egoist-0.0.4
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | egoist-0.0.4 |
| نام | egoist |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | podhmo |
| ایمیل نویسنده | ababjam61+github@gmail.com |
| آدرس صفحه اصلی | https://github.com/podhmo/egoist |
| آدرس اینترنتی | https://pypi.org/project/egoist/ |
| مجوز | - |
 [](https://pypi.python.org/pypi/egoist) [](https://www.python.org/download/releases/3.7.0/) [](https://black.readthedocs.io/en/stable/)
# egoist
:construction: this project is under construction :construction:
- [getting started](https://github.com/podhmo/egoist/blob/master/docs/00getting-started.md)
- [ja](./docs/ja/README.md)
## installing
```console
$ pip install egoist
```
## features
- go code generation
- general code generation
### go code generation
```console
$ egoist init clikit
level:INFO message:create . name:egoist.cliL25
$ tree .
.
└── definitions.py
0 directories, 1 file
$ python definitions.py generate
[D] create cmd/hello
[F] create cmd/hello/main.go
$ go run cmd/hello/main.go -name="world"
hello world
```
🎉
### general code generation
```console
$ egoist init dirkit
level:INFO message:create . name:egoist.cliL25
$ tree .
.
├── definitions.py
└── input
└── hello.tmpl
1 directories, 2 file
$ python definitions.py generate
[D] create ./output
[F] create ./output/foo.json
[F] create ./output/bar.json
[F] create ./output/boo.json
$ cat ./output/*.json
hello bar
hello boo
hello foo
```
✨
نیازمندی
| مقدار | نام |
|---|---|
| >=0.6.0 | miniconfig |
| >=0.0.2 | metashape |
| >=0.9.0 | prestring |
| - | pytest |
| - | pytest-cov |
| - | black |
| - | flake8 |
| - | mypy |
| - | pytest |
| - | pytest-cov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl egoist-0.0.4:
pip install egoist-0.0.4.whl
نصب پکیج tar.gz egoist-0.0.4:
pip install egoist-0.0.4.tar.gz