Skip to main content

afmaths

A simple package of math functions. Originally this was written to enable logging out each step in the console in a pretty way, but that is too difficult to maintain. For now it just a reference repo and a means of documenting algorithms.

Todo

  • Add tests
  • Create output functionality, which prints (in a user friendly way) the steps required
  • Doc comments
  • Document how to build/run
  • Document how to upgrade the npm package
  • Document and implement semantic versioning
  • Use currying for functions
  • Adapt hohmann transfer style to be closer to the repo's

1. Install or Activate the Virtual Environment

It's recommended to use a virtual environment for isolation. If you don't already have a virtual environment, create and activate one:

Create and start virtual environment:

python3 -m venv venv
source venv/bin/activate

2. Install Required Dependencies

Ensure that setuptools and wheel are installed in your environment:

pip install -r requirements.txt

3. Update version number

setup(
    name="astronomy_types",
    version="0.2.0",  # Update this to the new version number
    ...
)

4. Build the dist

python setup.py sdist bdist_wheel

5. Upload with twine

twine upload dist/*

And enter in the API token when prompted

Metadata

Release files for afmaths 2.0.2

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

Source distribution (sdist)

Source distribution for afmaths 2.0.2
File Size Uploaded Provenance Actions
afmaths-2.0.2.tar.gz 2.4 kB Without provenance Details for afmaths-2.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 5.0 kB

Release files / afmaths-2.0.2.tar.gz

Download URL afmaths-2.0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4c671ff9f5fc1cb91767a356a78fcae18255e88d4161c8e454fa3fc1ab2b788f
BLAKE2b-256 checksum
How to use checksums
2a743003f96ac7e96e44e4335d3f511206de5825d64369d3841e822b8df360ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / afmaths-2.0.2-py3-none-any.whl

Download URL afmaths-2.0.2-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db0f01363fdf61d04e1d891c4b30a5f8807a4c0da83c17d26f01c6c08c0e9096
BLAKE2b-256 checksum
How to use checksums
0cc61cb0ba8a91a1b8e179ad23ccb943c2353a243bdcf93b7c057d9c2c3002cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for afmaths 2.0.2

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.

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