pypyr (@pypyrpipes) 's Twitter Profile
pypyr

@pypyrpipes

task runner to automate your automation with pipelines ⚙️
devops, sequential & parallel workflow automation 🚀
create your own CLI 👋
+ handy python API. 🐍

ID: 1204797283101028354

linkhttps://pypyr.io calendar_today11-12-2019 16:17:31

366 Tweet

104 Takipçi

54 Takip Edilen

pypyr (@pypyrpipes) 's Twitter Profile Photo

Hi Ian Hellen, to answer your question on Python Bytes Podcast: Yes, pypyr absolutely has an API. It’s pretty straightforward - just a single function call. You can pass inputs to your pipeline as a list (cli-style), or as a dict. It’s all documented here pypyr.io/docs/api/run-p… 😃

Hi <a href="/ianhellen/">Ian Hellen</a>, to answer your question on <a href="/pythonbytes/">Python Bytes Podcast</a>:

Yes, pypyr absolutely has an API. It’s pretty straightforward - just a single function call. You can pass inputs to your pipeline as a list (cli-style), or as a dict.

It’s all documented here pypyr.io/docs/api/run-p… 😃
pypyr (@pypyrpipes) 's Twitter Profile Photo

shell scripts get out of hand quicker than you think...🔥 even if you want to ignore the sound advice given here, this great article details some common pitfalls w shell scripting. (my own 2 cents: just avoid the problem altogether, use a task-runner like pypyr instead 😉)

pypyr (@pypyrpipes) 's Twitter Profile Photo

in a world. . . of Package Wars and Fakes, the latest episode of Python Bytes Podcast is the epic showdown of Judging Code and Bash-ing pain! and answering the age old question: do techies bench enough, or at all?🏋️ the unmissable podcasting event of spring is out now!

pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.4!🎉 You can now run multiple commands/shell statements in the same step. In this example we're looping over however-many files, downloading each with curl and then running an ffmpeg convert on each. All in the same step! pypyr.io/updates/releas…

📣pypyr release 5.4!🎉

You can now run multiple commands/shell statements in the same step.

In this example we're looping over however-many files, downloading each with curl and then running an ffmpeg convert on each. All in the same step!

pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

You can write raw un-encoded bytes w hex using `echo -n -e`. Doesn't work on all echo implementations. printf is > portable. BUT, remember hex isn't actually part of the printf spec - e.g won't work on popular dash+ubuntu. printf + octal IS in spec & most portable.#linux #posix

You can write raw un-encoded bytes w hex using `echo -n -e`. Doesn't work on all echo implementations.

printf is &gt; portable. BUT, remember hex isn't actually part of the printf spec - e.g won't work on popular dash+ubuntu.

printf + octal IS in spec &amp; most portable.#linux #posix
pypyr (@pypyrpipes) 's Twitter Profile Photo

batteries-included #python to the rescue once again.🥳 compare lists have the same items in ANY order. Unlike the usual trick of converting to set(), this will also deal with non-hashable items. `assertCountEqual` is maybe a little bit of a mysterious name for this, mind...🤨

batteries-included #python to the rescue once again.🥳

compare lists have the same items in ANY order. Unlike the usual trick of converting to set(), this will also deal with non-hashable items.

`assertCountEqual` is maybe a little bit of a mysterious name for this, mind...🤨
pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.5!🎉 You've always been able to do serial task sequences in pypyr. . . Now, introducing async/parallel concurrent processing! Spawn any executables, commands or scripts as concurrent sub-processes without having to write any code! pypyr.io/updates/releas…

📣pypyr release 5.5!🎉

You've always been able to do serial task sequences in pypyr. . .

Now, introducing async/parallel concurrent processing! 

Spawn any executables, commands or scripts as concurrent sub-processes without having to write any code!

pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

I'm totally taking it as a big win that pypyr enjoyers are casually dropping modernist literary allusions in between all the tech talk...🧠😁 And the hashtags where normally should be a very hard-to-translate noun just adds to the sophistication 👌

pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.6!🎉 Create venvs from declarative yaml or toml. And it's faaaast!🏎️🌬️venv creation is in parallel, so if your old venv creation scripts take forever to run... With thanks to Thomas Kluyver for the excellent flit - pypyr's new build system! pypyr.io/updates/releas…

📣pypyr release 5.6!🎉
Create venvs from declarative yaml or toml.
And it's faaaast!🏎️🌬️venv creation is in parallel, so if your old venv creation scripts take forever to run...

With thanks to <a href="/takluyver/">Thomas Kluyver</a> for the excellent flit - pypyr's new build system!

pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

create modular, re-usable pipelines... encapsulate your workflow automation in components that you can assemble in different ways. pypyr.io/docs/pipelines… much thanks to Blaise for gently prompting this improvement to the docs 🙌🙌

pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.7!🎉 New `switch` step, for IF-ELSE style conditional branching in your automation pipelines. So in your next devops interview you can FizzBuzz with the best of them, all without leaving the comfort of your automation pipeline...😉 pypyr.io/updates/releas…

📣pypyr release 5.7!🎉
New `switch` step, for IF-ELSE style conditional branching in your automation pipelines.

So in your next devops interview you can FizzBuzz with the best of them, all without leaving the comfort of your automation pipeline...😉

pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr is all good to go w python 3.11! 🎉 as ever, 3.11 compliance ensured via CI. this maintenance patch release fixes a minor filereplace bug and also removes the tomli dependency if you're on >= 3.11, since tomli is now part of stdlib... pypyr.io/updates/releas…

pypyr (@pypyrpipes) 's Twitter Profile Photo

great tech docs should make it easy for your readers. think about what the reader needs, rather than obscure critical detail with fluff & fancy language. David Nevin wrote one of the best practical guides I've seen on how to write amazing docs here: davidjnevin.com/code/documenta…

pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.8 🎉 - new "no caching" mode to bypass caching entirely - new helper to purge your entire cache in one call... pypyr.io/updates/releas…

📣pypyr release 5.8 🎉
- new "no caching" mode to bypass caching entirely
- new helper to purge your entire cache in one call...

pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

📣pypyr release 5.9 📣🎉 Load pipelines directly from string, without having to save them to disk first! Thanks to Lucas Cezimbra for your amazing ⭐️ work on this 🥇! Details here: pypyr.io/updates/releas…

📣pypyr release 5.9 📣🎉

Load pipelines directly from string, without having to save them to disk first!

Thanks to <a href="/lucasrcezimbra/">Lucas Cezimbra</a> for your amazing ⭐️ work on this 🥇!

Details here: pypyr.io/updates/releas…
pypyr (@pypyrpipes) 's Twitter Profile Photo

The pypyr docs site now has search with autocomplete 🎉🥳 pypyr.io Thanks a bunch to DocSearch 📖🔎 by Algolia for supporting open-source software & making this possible! 🙌🙌🙌

The pypyr docs site now has search with autocomplete 🎉🥳 pypyr.io

Thanks a bunch to <a href="/docsearch_/">DocSearch 📖🔎</a> by <a href="/algolia/">Algolia</a> for supporting open-source software &amp; making this possible! 🙌🙌🙌