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
Snippet
Snippet
import pkg_resources # replace package name with correct name version = pkg_resources.get_distribution('package-name').version
Python
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 "patch" version is required. If you need to install specific Python versions, check the available versions here. matrix: include: - name: "Python: 3.
Python
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.5 to 3.8, including PyPy3. matrix: # or you can replace `matrix` with `jobs` include: - name: "Python: 3.5" os: osx language: shell
Snippet
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 with your username. <a href="https://www.buymeacoffee.com/roniemartinez" target="_blank"><img src="https: