Skip to main content

butiran-py

Python package for simulation of grain-based system using molecular dynamics method and agent-based model

module

  • vect3
    • Vect3() Initialize with 3 arguments or none
    • strval() Get string value of Vect3 instance
    • add() Add two Vect3 instances
    • sub() Substract two Vect3 instances
    • dot() Dot product of two Vect3 instances
    • cross() Cross product of two Vect3 instances
    • mul() Multiply a scalar with a Vect3 instance (or vice versa)
    • div() Divide a Vect3 instance with a scalar
    • len() Get length or magnitude of a Vect3 instance
    • unit() Get unit vector of a Vect3 instance
    • neg() Set a Vect3 instance to opposite direction

usage

from butiran.vect3 import Vect3

a = Vect3(100.001, -0.5, 2021)
print("a = " + a.strval())

b = a.neg()
print("b = " + b.strval())
a = (100.001, -0.5, 2021)
b = (-100.001, 0.5, -2021)

Metadata

Release files for butiran 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for butiran 0.0.9
File Size Uploaded Provenance Actions
butiran-0.0.9.tar.gz 4.3 kB Without provenance Details for butiran-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for butiran 0.0.9
File Interpreter ABI Platform Actions
butiran-0.0.9-py3-none-any.whl Python 3 none any Details for butiran-0.0.9-py3-none-any.whl

Total release size: 9.4 kB

Release files / butiran-0.0.9.tar.gz

Download URL butiran-0.0.9.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
04ae48d3952aee8138d69361ce3396c76ee185b3ca9bb4056856f6c0307822c7
BLAKE2b-256 checksum
How to use checksums
184037153dec313b4d9ed4dc9d990793be7989f2a9b1e441833970e43d8104fb
Upload date
Uploaded using Trusted Publishing?
What is 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.56.0 CPython/3.9.1

Release files / butiran-0.0.9-py3-none-any.whl

Download URL butiran-0.0.9-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7bb6d731eb0bcf394fbf0957c036c66d98b697c46620f12b45017d82f10621d
BLAKE2b-256 checksum
How to use checksums
c143fb5cdfb3d0969293d65dfcafe8986085e1edc5d1f2a4ab0995dc21bed69e
Upload date
Uploaded using Trusted Publishing?
What is 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.56.0 CPython/3.9.1

Security for butiran 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page