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:

sudo apt-get install sense-hat
sudo pip3 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:

pip3 install tn_code

Om system-wide (voor alle gebruikers te installeren:

sudo pip3 install tn_code

Als virtual environment

mkdir project-naam && cd project-naam
python3 -m venv .env
source .env/bin/activate
pip3 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.0.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.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: TN_code-1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for TN_code-1.0.tar.gz
Algorithm Hash digest
SHA256 f141972a7d91922f433bc028bd4794240988a7f147bcc7e2c9ee7b594b86144a
MD5 87770d906421ae04936287bf1dda7a0a
BLAKE2b-256 c3e566ea02bbd0362a5bbc1997a602bfb5f5805bd303087c257988fd2586c8f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TN_code-1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for TN_code-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49f52ae8aa86d048c6a0477e926cf18b92e1291fee5262d20fc8200531ddeaa5
MD5 092fd91635e6573c85ec2173ee129dd0
BLAKE2b-256 937ab01d1d3f710de75c78c3ec8d23ab531d9c4286cc0db6a4efa614a296a29d

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