Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
toil: "Long, strenuous or fatiguing labour"
Source Code: https://github.com/FollowTheProcess/pytoil
Documentation: https://FollowTheProcess.github.io/pytoil/
pytoil is a small, helpful CLI to take the toil out of software development!
pytoil
is a handy tool that helps you stay on top of all your projects, remote or local. It's primarily aimed at python developers but you could easily use it to manage any project!
pytoil is:
Say goodbye to janky bash scripts 👋🏻
Like many developers I suspect, I quickly became bored of typing repeated commands to manage my projects, create virtual environments, install packages, fire off cURL
snippets to check if I had a certain repo etc.
So I wrote some shell functions to do some of this for me...
And these shell functions grew and grew and grew.
Until one day I saw that the file I kept these functions in was over 1000 lines of bash (a lot of printf
's so it wasn't all logic but still). And 1000 lines of bash is waaaay too much!
And because I'd basically hacked it all together, it was very fragile. If a part of a function failed, it would just carry on and wreak havoc! I'd have to do rm -rf all_my_projects
... I mean careful forensic investigation to fix it.
So I decided to make a robust CLI with the proper error handling and testability of python, and here it is! 🎉
As pytoil is a CLI program, I'd recommend installing with pipx.
pipx install pytoil
You can always fall back to pip
pytoil will install everything it needs in python to work. However, it's full feature set can only be accessed if you have the following external dependencies:
pytoil
is super easy to get started with.
After you install pytoil, the first time you run it you'll get something like this.
If you say yes, pytoil will walk you through a few questions and fill out your config file with the values you enter. If you'd rather not do this interactively, just say no and it will instead put a default config file in the right place for you to edit later.
Once you've configured it properly, you can do things like...
This project is available on your local machine...
This one is on GitHub...
(And include custom packages, see the docs)
And loads more!
pytoil's CLI is designed such that if you don't specify any arguments, it won't do anything! just show you the --help
. This is called being a 'well behaved' unix command line tool.
This is true for any subcommand of pytoil so you won't accidentally break anything if you don't specify arguments 🎉
And if you get truly stuck, you can quickly open pytoil's documentation with:
Check out the docs for more 💥
pytoil
is an open source project and, as such, welcomes contributions of all kinds 😃
Your best bet is to check out the contributing guide in the docs!
FAQs
CLI to automate the development workflow.
We found that pytoil demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.