Snippet How to Get the Version of Your poetry-based Package from Python Code import pkg_resources # replace package name with correct name version = pkg_resources.get_distribution('package-name').version By Ronie Martinez 17 Apr 2020
Python Integrating Python and Windows on Travis Travis CI does not currently support Windows natively so the following is a workaround. Installing Python is done using Chocolatey package manager and specifying the By Ronie Martinez 16 Apr 2020
Python How to Test Your Python Code in OSX using Travis CI Since OSX does not natively support Python, you can customize it using a Job Matrix, matrix or jobs. The following contains examples from Python 3. By Ronie Martinez 14 Apr 2020
Snippet How to Add "Buy me a coffee" button to Github's README.md This snippet applies to Markdown files (.md). To add "Buy me a coffee" button to a markdown file, copy the following code and replace roniemartinez By Ronie Martinez 13 Apr 2020