A collection of small Python scripts including:
See this guide on StackOverflow
pip install .pylint $(git ls-files '*.py')pytest tests --junitxml=junit/test-results.xml --html=junit/test-results.htmlpython -m buildThis script checks URLs defined in a JSON file. For each URL, it verifies if the response contains a specific string and prints the result using emojis to indicate success or failure.
scripts/check_urls.py data/urls.jsonlambda function within filter to select fruits starting with "A" from a list
scripts/filter_lambda.pysimple hello world
scripts/hello_world.py| Tool / Topic | Link |
|---|---|
| Pyenv | https://github.com/pyenv/pyenv |
| Build module | https://pypi.org/project/build/ |
| Pytest | https://docs.pytest.org/ |
| Pylint | https://pylint.pycqa.org/ |