Skip to main content

Code gebruikt bij de opleiding TN van de Haagse Hogeschool

Project description

TIS-TN-python-code

Hier staat de source code van de scripts die door de docenten van TN voor gebruik tijdens de studie gemaakt zijn.

De scripts helpen bij het plotten (standaard mooi opgemaakte figuren), regressie, fourier volgens het wiskunde boek en het uitlezen van sensoren.

Zie verder het voorbeeld gebruik in de voorbeelden directorie. Deze directorie wordt niet met PyPi geinstalleerd, hiervoor kan je het git-repository gebruiken.

Installatie en afhankelijkheden

Afhankelijkheden (dependencies)

De scripts maken gebruik van (via pip worden ze automatisch meegeinstalleerd):

  • numpy
  • matplotlib
  • sympy

Voor de hardware-scripts zijn meer afhankelijkheden nodig (worden niet automatisch geinstalleerd):

  • adafruit_circuitpython-ads1x15
  • adafruit-circuitpython-mcp3xxx
  • sensehat

Om voor alle gebruikers deze afhankelijkheden te installeren is de volgende code nodig (Linux):

sudo apt-get install sense-hat
sudo pip install adafruit_circuitpython-ads1x15 adafruit-circuitpython-mcp3xxx

Installatie via PyPi

Als PyPi aanwezig is kan via PyPi de software voor de huidge gebruiker geinstalleer worden:

pip install tn_code

Om system-wide (voor alle gebruikers te installeren:

sudo pip install tn_code

Als virtual environment

mkdir project-naam && cd project-naam
python -m venv .env
source .env/bin/activate
pip install tn_code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TN_code-1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TN_code-1.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file TN_code-1.1.tar.gz.

File metadata

  • Download URL: TN_code-1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for TN_code-1.1.tar.gz
Algorithm Hash digest
SHA256 a17500290e623d13e149121827ef16cb0e069286c7c2e813d1c582da655b190f
MD5 dab4b09e55ae546bdc6fca21941f2bce
BLAKE2b-256 d021f5151a05a5d5a1f0978e0227d4fa17cb9cd8bcd2ef144f10976f10c152b5

See more details on using hashes here.

File details

Details for the file TN_code-1.1-py3-none-any.whl.

File metadata

  • Download URL: TN_code-1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for TN_code-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf1e1d46cc2dcf9ed157a0681525f89a7b839a72cbf963aa603009fdf80dc042
MD5 1870c491c80b3a958d23adb7649592d5
BLAKE2b-256 a733688ae45ef34af1421bd7154eeaa179cb8f1810cfc9bf39b833a543a94651

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page