ap-motif
Motif is an opinionated templating toolkit built in Python
Requirements
- Python 3.8.x, 3.9.x
- Appropriate virtualization
Installation
pip install ap-motif
Usage:
# validate a configuration file
motif validate PATH/TO/CONFIG.YML
# create a new tool via configuration file
motif create PATH/TO/CONFIG.YML
Config File Definition
version: 'VERSION'
config:
namespace: 'NAMESPACE_IDENTIFIER'
name: 'TOOL_NAME'
version: 'MAJOR.MINOR.PATCH'
description: 'DESCRIPTION'
author: 'AUTHOR_NAME'
author_email: 'AUTHOR_EMAIL'
tool: 'TOOL_IDENTIFIER'
tool_specific:
command: 'COMMAND_NAME'
-
VERSIONis the motif config version, currently1.0 -
NAMESPACE_IDENTIFIERis the name of your python namespace, i.e.apfor things I create -
TOOL_NAMEis the name of the tool, i.e.motif -
MAJOR.MINOR.PATCHis an optional field that defaults to0.1.0 -
AUTHOR_NAMEis the author's name -
AUTHOR_EMAILis the author's email (use your github anonymous email for security purposes) -
TOOL_IDENTIFIERis one of the following:clito create a new CLI tool
-
tool_specificoptions change based on the tool in questioncliCOMMAND_NAMEis an optional field and will revert to theTOOL_NAMEif not provided. this is the command line command used to execute the tool
Metadata
Release files for ap-motif 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ap_motif-0.1.11-py3-none-any.whl | Python 3 | none | any | Details for ap_motif-0.1.11-py3-none-any.whl |
Release files / ap_motif-0.1.11-py3-none-any.whl
| Download URL | ap_motif-0.1.11-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
723cb7cabc1cde5572e75becffc92112617ee18fb1d3dfb4f38b7b030f70733a
|
|
BLAKE2b-256 checksum How to use checksums |
24f827b7b1d75084d0de6a920158dd278cc8204536408da07d75b68ec5d99617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7
|
Security for ap-motif 0.1.11
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.