scaffolding
Project description
korpokkur is command tool set for scaffold.
(only support 2.7 and 3.3
korpokkur has several subcommands. list below.
list
create
scan
list
$ korpokkur list
package -- tiny python package scaffold (this is sample)
scaffold -- korpokkur scaffold template template
create
$ korpokkur create package .
package (package name)[sample]:foo
version (version number for project)[0.0]:0.1
description (package description)[-]:sample package
$ tree foo
foo
|-- CHANGES.txt
|-- README.rst
|-- foo
| `-- tests
| `-- __init__.py
`-- setup.py
sometime, it’s annoying that asking via interactive shell when unknown setting is found. so, enable to pass value by config file.
$ korpokkur create --config ./foo.ini package .
[scaffold]
package = foo
version = 0.1
description = sample package
or json file is also ok.
$ korpokkur create --config ./foo.json package .
{"package": "foo", "version": "0.1", "sample package"}
scan
scan is dry-run operation about create.
$ korpokkur scan package
package (package name)[sample]:foo
d[c]: /tmp/foo
d[c]: /tmp/foo/foo
f[c]: ~/korpokkur/scaffolds/package/+package+/CHANGES.txt -> /tmp/foo/CHANGES.txt
f[m]: ~/korpokkur/scaffolds/package/+package+/README.rst.tmpl -> /tmp/foo/README.rst
f[m]: ~/korpokkur/scaffolds/package/+package+/setup.py.tmpl -> /tmp/foo/setup.py
version (version number for project)[0.0]:0.1
description (package description)[-]:sample package
d[c]: /tmp/foo/foo/tests
f[c]: ~/korpokkur/scaffolds/package/+package+/+package+/tests/__init__.py -> /tmp/foo/foo/tests/__init__.py
f[c]: ~/korpokkur/scaffolds/pygitignore/+package+/.gitignore -> /tmp/foo/.gitignore
----------------------------------------
*input values*
{
"version": "0.1",
"package": "foo",
"description": "sample package"
}
output information what files are generated and what values are asked.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
korpokkur-0.1.tar.gz
(21.0 kB
view details)
Built Distribution
korpokkur-0.1-py3-none-any.whl
(41.8 kB
view details)
File details
Details for the file korpokkur-0.1.tar.gz
.
File metadata
- Download URL: korpokkur-0.1.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cf56de7228bef399c7363cdcf0fd9da37a815cc7c6c886a5873188b168be64 |
|
MD5 | cd3c0e89f20c08e636cfb45d9743a8ac |
|
BLAKE2b-256 | 2ea62e1887a1e9541e71737941d2673ea50750e02f2086abd52c6d05bd484eaf |
Provenance
File details
Details for the file korpokkur-0.1-py3-none-any.whl
.
File metadata
- Download URL: korpokkur-0.1-py3-none-any.whl
- Upload date:
- Size: 41.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995ff3d30867ae3a23f04417dc2eddce9c306674ca86507213eaab0a18622343 |
|
MD5 | e382567df6eb93d9dc32d39eaf2c2aea |
|
BLAKE2b-256 | 96279cacfc6dbbdb535b59c6bb60c22696409740be740bc1aa74d7a192ca5fe8 |