Skip to main content

Pocoglot generates POCOs in multiple languages from a YAML definition file.

Project description


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

GolangPython 3PHP 8C#TypescriptMySQL


$ pocoglot --help
Usage: pocoglot [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
  -override, --override-file PATH
                                  Path to the YAML file containing overrides
  --help                          Show this message and exit.


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

Related projects


This software is published under the permissive MIT license

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

pocoglot-0.9.1.tar.gz (6.4 kB view hashes)

Uploaded source

Built Distribution

pocoglot-0.9.1-py3-none-any.whl (9.4 kB view hashes)

Uploaded py3

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