gravity-constant
A simple Python package containing the standard gravitational acceleration constant.
Installation
pip
pip install gravity-constant
Homebrew
brew tap iiTzMarius/python-package https://github.com/iiTzMarius/python-package
brew install iiTzMarius/python-package/gravity-constant
To import the module installed by Homebrew, add it to PYTHONPATH:
PYTHONPATH="$(brew --prefix gravity-constant)/libexec" python3 -c "from gravity import G; print(G)"
Usage
from gravity import G
print(G)
Output:
9.80665
Constant
G = 9.80665 m/s²
Metadata
Release files for gravity-constant 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gravity_constant-0.1.4.tar.gz | 1.4 kB | Without provenance | Details for gravity_constant-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gravity_constant-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for gravity_constant-0.1.4-py3-none-any.whl |
Total release size: 2.9 kB
Release files / gravity_constant-0.1.4.tar.gz
| Download URL | gravity_constant-0.1.4.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43ebd1955e9924f803dde8a9489e0ec5cb6c7fe562566f9eedf32271191b335d
|
|
BLAKE2b-256 checksum How to use checksums |
4ed345ea6f3510ab8f83bcece4adb8b59185828dc42beddba9d08224be9d41fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / gravity_constant-0.1.4-py3-none-any.whl
| Download URL | gravity_constant-0.1.4-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c08a65f8fbb228b31c1cfc01330504b04eb38cd9c682917f8595cc7a1d6b6a97
|
|
BLAKE2b-256 checksum How to use checksums |
2bd8e9db4ee36337a888b014a0b218a6aabc7b5f85e998712677c25ca6959bad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for gravity-constant 0.1.4
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.