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.1

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.1
File Size Uploaded Provenance Actions
afmaths-2.0.1.tar.gz 2.4 kB Without provenance Details for afmaths-2.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.1 kB

Release files / afmaths-2.0.1.tar.gz

Download URL afmaths-2.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f47c51056a764617d2f35dc8a894085185af91c9278d5a0d97c619e16d8f52b6
BLAKE2b-256 checksum
How to use checksums
6ce3bb4c6f8a100aaeb3995f41ccebeb55e095a20215b079e1421473c139a573
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.1-py3-none-any.whl

Download URL afmaths-2.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ec2cb52e0b15b84216bd4f38bd0c954dd6417fcb02e0406725c7a812d767b95
BLAKE2b-256 checksum
How to use checksums
50a33883ab415e5e5ee1d5624921596629514e9477e82962140fcd67da77c2f0
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.1

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