Skip to main content

-

Project description

Python package PyPi version Code style: black

egoist

:construction: this project is under construction :construction:

installing

$ pip install egoist

features

  • go code generation
  • general code generation

go code generation

$ egoist init clikit
level:INFO	message:create .                                	name:egoist.cliL25
$ tree .
.
└── definitions.py

0 directories, 1 file
$ python definitions.py generate
[D]	create	cmd/hello
[F]	create	cmd/hello/main.go
$ go run cmd/hello/main.go -name="world"
hello world

🎉

general code generation

$ egoist init dirkit
level:INFO	message:create .                                	name:egoist.cliL25
$ tree .
.
├── definitions.py
└── input
    └── hello.tmpl

1 directories, 2 file
$ python definitions.py generate
[D]	create	./output
[F]	create	./output/foo.json
[F]	create	./output/bar.json
[F]	create	./output/boo.json
$ cat ./output/*.json
hello bar
hello boo
hello foo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for egoist, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size egoist-0.0.4-py3-none-any.whl (47.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page