Library for calculating stuff having to do with gravity
Project description
pygravity
Join the Discord channel for live tech support!
pygravity is a library used for calculating gravity in Python.
Installation
Either install from source: (Note that you will need a C compiler installed)
$ git clone https://github.com/gaming32/pygravity
$ cd pygravity
$ python setup.py install
Or install from pip:
$ python -m pip install python-gravity
Documentation
Pygravity is made up of a math module (pygravity.math
) for generic gravity-related math, and a subpackage (pygravity.twod
) for doing 2D calculations.
For in-depth documentation please install the package and use pydoc
(python -m pydoc -b
).
pygravity.twod
This package has three lower-level modules for doing gravity math: pygravity.twod.vector
, pygravity.twod.physics
, and pygravity.twod.gravity
.
It also provides two higher-level modules for doing simple math: pygravity.twod.util
and pygravity.twod.pygame_simulation
.
Most of pygravity.twod.pygame_simulation
should be considered in beta and should not be used without examining it's code first.
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 Distributions
Hashes for Python_Gravity-1.0.0.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d829e03f7c43749bb820934bf12927f11a3c74f125830bdd7b1be5c7344d23 |
|
MD5 | f73509951e0bc98d1621d8287553cbc0 |
|
BLAKE2b-256 | 6b4f03506bbdf5839d8895394434b33d8fb8f6686c94aef65d71383b032247cb |
Hashes for Python_Gravity-1.0.0.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94441d59901bb7c2bfd71391aa58006e33e1353663400dfa94e635d3aba4d054 |
|
MD5 | 76527f5964439be27942630e53447631 |
|
BLAKE2b-256 | a928f1b6d0eb30562468bfb125d7bb2bff4758b3c280f25cb6931917dd5dabe8 |
Hashes for Python_Gravity-1.0.0.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41854e0907a492454c1fa9a7e20248448f53f49378c4625a90881a0febd67e62 |
|
MD5 | 50d9152fa7b46b9c3eca455a1d2fb46f |
|
BLAKE2b-256 | 3cc40743130830f0270898442712295a3cf8a88f23458cc47e3244d21a9739ed |
Hashes for Python_Gravity-1.0.0.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9e94a79414cdf248a0cd06164d1a53b22829950be6bd85d9cde12686524c0f0 |
|
MD5 | 58f6fa00fa77387987e11dc10503561d |
|
BLAKE2b-256 | 338da68de839001b1fe5e26834df313cd358da0d6c6af72a14260900a68e530a |