ConstGen lets you share multiple object definitions between multiple programming languages
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
constgen-0.5.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
constgen-0.5.1-py3-none-any.whl
(11.5 kB
view hashes)