Skip to main content

No project description provided

Project description

Numfys fysikkbibliotek

To teachers

The entry point is the make files. I provide the precompiled python library but im not sure if it will work on mac and linux. The python library will also be downloadable from pip pip install smumerix. If it doesnt, follow steps below. Headers are reverse sorted with respect to chronological order, since i do the last steps the most often.

Prosjektoppsett

Kjernefunksjonalitet (smumerix-core)

Inneholder fysikkmagien. Kan bygges med cargo build -p smumerix-core, men bygges automatisk om du bygger et av de andre bibliotekene. Testene kjøres automatisk om du kjører cargo test

Rust frontend (nopy)

Brukes for å gjøre ting som python ikke er spesielt bra til, primært å animere. cargo run defaulter til denne siden den er eneste exe i workspacen.

Python pakke (smumerix)

Kompilering og kjøring

maturin develop -m /smumerix/Cargo.toml
py ./_python/<filnavn>.py

Aktivering av venv

Activate.ps1
code .

Originalt oppsett

py -m venv smumerix/env
pip install -f requirements.txt

Installering av biblioteker

  1. Installer rust og python
  2. Generer og aktiver venv
    1. py -m venv smumerix/venv
    2. ./smumerix/venv/ (eller ./Activate.ps1)
  3. Installer maturin med pip (anbefaler å ha i en virtualenv)

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

smumerix-0.2.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

smumerix-0.2.0-cp311-none-win_amd64.whl (209.8 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file smumerix-0.2.0.tar.gz.

File metadata

  • Download URL: smumerix-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.13

File hashes

Hashes for smumerix-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7390542ed10bba51dff3e1c713d554223e4735cef2e93a9fd9aa9ae9c1b4f181
MD5 8ee41703b6ad01ce7bd464b7732b94b3
BLAKE2b-256 d68b999536feab666aab8c548a2e591998b7adf5decbdd00433c4f1677901d36

See more details on using hashes here.

File details

Details for the file smumerix-0.2.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: smumerix-0.2.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 209.8 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.13

File hashes

Hashes for smumerix-0.2.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 98befb2316824feb3f4fdaa374208a0d51e9f61d740af1dfde0f78a13a9abbd0
MD5 1bc80581ecbde5199b6c14b848c7e28c
BLAKE2b-256 265121dc51e40f35029197f3a0c3a663b59a61d2620674eed58fb80a6a485b49

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