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
- Installer rust og python
- Generer og aktiver venv
py -m venv smumerix/venv./smumerix/venv/(eller./Activate.ps1)
- Installer maturin med pip (anbefaler å ha i en virtualenv)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7390542ed10bba51dff3e1c713d554223e4735cef2e93a9fd9aa9ae9c1b4f181
|
|
| MD5 |
8ee41703b6ad01ce7bd464b7732b94b3
|
|
| BLAKE2b-256 |
d68b999536feab666aab8c548a2e591998b7adf5decbdd00433c4f1677901d36
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98befb2316824feb3f4fdaa374208a0d51e9f61d740af1dfde0f78a13a9abbd0
|
|
| MD5 |
1bc80581ecbde5199b6c14b848c7e28c
|
|
| BLAKE2b-256 |
265121dc51e40f35029197f3a0c3a663b59a61d2620674eed58fb80a6a485b49
|