Skip to main content

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


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)

Uploaded Source

Built Distribution

constgen-0.5.1-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page