Sometimes I find make too old, autoplay unfrustrates me.
Getting started
Install with pip install autoplay.
It will look for jobs in autoplay.yml in the current directory or fallback on the autoplay/autoplay.yml file which defines a few default jobs. The twine job for example will build .po files and make a python package that it will upload with twine, to automate python package release:
autoplay debug twine autoplay twine mode=dryrun TWINE_USERNAME=... TWINE_PASSWORD=.. autoplay twine
Create a file with name autoplay.yml containing:
---
env:
someglobal: foo
---
name: example
env:
example_var: ./autoplay-example
multiline_var: |
foo
bar
setup:
- test -f $example_var || echo "$multiline_var" > $example_var
script:
- cat $example_var
---
name: test
requires:
- example
Then, see the commands it would execute with autoplay run example mode=dryrun…
In-development
CLI Development Environment
We’re investing in a development command that would allow to run several jobs simultaneously, with an urwid based interface. It would allow to define jobs like this in your autoplay.yml:
--- name: dev script: - eslint --watch - yarn start - django-admin runserver - py.test --watch
That you could run with autoplay run dev mode=ide.
Tox-like and docker based executors
The default executor is linux which executes in a bash subshell. However other executors are available such as executor=docker (for baking development environments) and executor=virtualenv (for build matrix).
Metadata
Release files for autoplay 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autoplay-0.5.0.tar.gz | 5.2 kB | Without provenance | Details for autoplay-0.5.0.tar.gz |
Release files / autoplay-0.5.0.tar.gz
| Download URL | autoplay-0.5.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b19afc0f26dc7926b8fe63164cfd8d5fee2d176edbeb31b9e0e8fa5764b6280
|
|
BLAKE2b-256 checksum How to use checksums |
eb51c5c23d1528f163d39881d65deca34ae37c01df858ce92e56860d92361af7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Security for autoplay 0.5.0
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.