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 pygravity
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.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9de798d17ea6d59391dbbc6cc1bf3b408ba3180f9fa5a862b0b56b207d2a475 |
|
MD5 | 31974247957fc0025168b0a00f86857e |
|
BLAKE2b-256 | 2e0ab2386629ca7110ae9b9b08bf897b1515a4b929fadf67de6636a4898acb4c |
Hashes for Python_Gravity-1.0.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2044afb7763b9a9deab1e799ce09d808b11514b65dbce81e4bb9e68720fbe04d |
|
MD5 | 75bac255b94a670865b33be30ef15f51 |
|
BLAKE2b-256 | 11cb8ffe51abf0d00c2142a2e6c0773928a949354e8de1bca0d537347ee28274 |
Hashes for Python_Gravity-1.0.0.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9373098999c2cdd68e8e1b1a10ec24aeaf5310a2cb58ec105923d03e30d1e004 |
|
MD5 | 72b09dbd8621877df4ae01585fd639d9 |
|
BLAKE2b-256 | 9771daf6a082405d34088024328a5969d14d3caf7872cdf6c075a7ac9570e70c |
Hashes for Python_Gravity-1.0.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d711346bb94db6c6e99c8b5ba834c6730a1eff326070b3aa68563da96bf5b34f |
|
MD5 | 3936b218e2d5f4a288c2ea1873839fb9 |
|
BLAKE2b-256 | b21261c1f911a9c51cbfb97247ec4065a5664526d03fd55cad1ca45a648c3a47 |