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

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

Built distribution (wheel)

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

Total release size: 5.1 kB

Release files / afmaths-2.0.0.tar.gz

Download URL afmaths-2.0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4ea0c314c8e822e59902ffa40b6abd00fff70bd9e1242616af13d2f303724733
BLAKE2b-256 checksum
How to use checksums
98ea2e2149485edc447de6cee0b54416d6958187f416209110143146267530ec
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.0-py3-none-any.whl

Download URL afmaths-2.0.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5e99739a4de78d233a559ecc5f49806e0d72994229bddf3ca00f901ae7640b5
BLAKE2b-256 checksum
How to use checksums
933f53e0cdb5e516e32298602cabafec70b68e203577e1b016d1e8fbf0f68db7
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.0

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