Skip to main content

Make It So!

/templates for the people/

So people generally do things the easiest way possible. If you try to get people to send you a file with, say, a “one-off” script, they will probably hard code a bunch of stuff in it. Then, you’re not really sure what needs to be changed and because you’re human you might make a mistake. Worse, its a perl script and you’re a python programmer. You don’t know what that script does!

And this is the time of the iceberg. If it really is a one-off, who cares? But quickly one-offs become a deployment story, and not a very efficient one.

Making a New Template

Variable Conventions

MakeItSo! provides a few variables for you. You can include another file or URL using {{include(URI)}}, where URI is the file path or the URL (of course, internet is required to include remote resources). The included resource is not included.

Files and URLS being interpolated also have the variable %(here)s, which is the parent of their resource. Therefor, using sensible path conventions, a neighboring file may be (e.g.) included like

{{include(here + ‘foo.txt’)}}

The python template asserts several conventions:

  • project: the project chosen

  • author: author of a project

  • email: author’s email

  • url: url of the project

  • repo: the repository of the project; this will be used for the URL

    if it is given and the URL is not

Web Service

python has the ability to run files from stdin. This means you can run makeitso directly from the web:

python <(curl http://k0s.org/hg/MakeItSo/raw-file/tip/makeitso/makeitso.py) [URI]

This uses the bash shell. If you have another shell you may have to use another syntax, download the file, or install the package.

Similar Projects

Metadata

Release files for MakeItSo 0.3.9

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

Source distribution (sdist)

Source distribution for MakeItSo 0.3.9
File Size Uploaded Provenance Actions
MakeItSo-0.3.9.tar.gz 16.9 kB Without provenance Details for MakeItSo-0.3.9.tar.gz

Release files / MakeItSo-0.3.9.tar.gz

Download URL MakeItSo-0.3.9.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8420a2a43eeef0ea58c4025af1d45c4886621032c8ecd492e02951e66484c7
BLAKE2b-256 checksum
How to use checksums
8e0f460b1bc121caa0f1e4956087c77d75aaf5f7cbce07f7dccd8b0b8366d9fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for MakeItSo 0.3.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.9 This release

1 release file No provenance

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