constgen-0.5.1
توضیحات
ConstGen lets you share multiple object definitions between multiple programming languages
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | constgen-0.5.1 |
| نام | constgen |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jordan Cohen |
| ایمیل نویسنده | yarden.mec@gmail.com |
| آدرس صفحه اصلی | https://github.com/ymec/constgen.git |
| آدرس اینترنتی | https://pypi.org/project/constgen/ |
| مجوز | MIT |
# Note
This repo is based on the excellent tool by @aantn: https://github.com/aantn/reconstant
# Introduction
ConstGen lets you share multiple object definitions between multiple programming languages:
* constants
* enums
* types
Supported Languages:
* Rust
* Javascript
* Go
* Java
* C/CPP
* Python2/3
* Vue
## Installation
```
pip install git+https://github.com/ymec/constgen.git
```
OR
```
pip install constgen
```
## Usage
Create a configuration yaml (for an example see `example.yaml`)
```
constgen example.yaml
```
# Known Issues
Currently running main only works through pip installing the tool - running directly with python would cause import errors
نیازمندی
| مقدار | نام |
|---|---|
| >=5.4.1,<6.0.0 | PyYAML |
| >=1.8.1,<2.0.0 | pydantic |
| >=0.5.1,<0.6.0 | inflection |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl constgen-0.5.1:
pip install constgen-0.5.1.whl
نصب پکیج tar.gz constgen-0.5.1:
pip install constgen-0.5.1.tar.gz