Skip to main content

Pocoglot

Pocoglot is a simple command line application that takes an entity definition file and generates code in one of many supported languages. If you are writing multi-tier applications in multiple languages this tool can save you from a lot of repeated typing and out-of-sync models.

Supported languages

Golang • Python 3 • PHP 8 • C# • Typescript • MySQL

Usage

$ pocoglot --help
Usage: pocoglot [OPTIONS]

Options:
  -from, --from-file PATH         Path to the source YAML file containing
                                  definitions  [required]
  -to, --to-file PATH             Path to where the targe code is going to be
                                  generated  [required]
  -lang, --to-language [java|php8|typescript|golang|csharp|python3]
                                  Language used for the generated code
                                  [required]
  -override, --override-file PATH
                                  Path to the YAML file containing overrides
  --help                          Show this message and exit.

Support

  • Please star this project on Github
  • Report any issues and feature requests
  • Add pull requests to support new languages

Related projects

License

This software is published under the permissive MIT license

Metadata

Release files for pocoglot 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pocoglot 0.9.1
File Size Uploaded
pocoglot-0.9.1.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pocoglot 0.9.1
File Interpreter ABI Platform
pocoglot-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / pocoglot-0.9.1.tar.gz

Download URL pocoglot-0.9.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b9e17da4eb1f900fff4425c32011ce032c60ec522d6c513d36c7e9b138711c5c
BLAKE2b-256 checksum
How to use checksums
771b6bf75a545de567a7295268fd7d92de708bf448ab52435d6bccda5772ebe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / pocoglot-0.9.1-py3-none-any.whl

Download URL pocoglot-0.9.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
435cd2680bccd7b4908e488f80d75875c0dd8ebacc47e25723f02b328a49332b
BLAKE2b-256 checksum
How to use checksums
bbfb625728accf653571d04cd14e87c9ac366673d79b11c2eba8ce3ca1838de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page