MaxClerkwell / edu_python_mini_lib

Lehrbeispiel für meine Vorlesung an der THGA

Home Page:https://moodle.thga.de/enrol/index.php?id=2448

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edu_python_mini_lib

Minimal Example of a Python-Lib that is installable via pip

Installation

Always use venv and a requirements.txt when you are working on a project. Add the Repo to your requirements.txt by using -e git+ssh://git@github.com/bjoekeldude/edu_python_mini_lib.git#egg=mylibrary

Installation of a specific release

If you want to make sure, you install a specific release, look at the tags and add it to your requirements.txt like this: -e git+ssh://git@github.com/bjoekeldude/edu_python_mini_lib.git@releases/tag/v0.0.1#egg=mylibrary. The part between @and # specifies the tag that should be installed!

Usage

In order to use the library-functions, make sure to import the Library to your project by adding import mylibrary in the first few lines of your project. You may also use import mylibrary as libalias. After that, try to use the function library_test() in you code. Or libalias.library_test() if you declareted an alias ;)

About

Lehrbeispiel für meine Vorlesung an der THGA

https://moodle.thga.de/enrol/index.php?id=2448

License:MIT License


Languages

Language:Python 100.0%