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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

egoist-0.0.4-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file egoist-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: egoist-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for egoist-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cb482c458ee0366d889a8bc814e196cc8ccb7f41406dcbc27fb2299fa6bc35bf
MD5 35f613e8d96636b406eb297383263b9d
BLAKE2b-256 1ed6a2abfd5eb88524368c5a768e5b2bb56cadc31b1be0c8f660c3e1bdcd2195

See more details on using hashes here.

Provenance

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