Skip to main content

Type hints for Python astronomy projects

Project description

This project is intended to be used as a type hinting system for a related project, practical_astronomy.

It felt plausible that it would be useful in other projects as well, so it has been spun off into an indepdenent file.

Install

pip install astronomy_types

Updating and Repackaging the Project with setuptools

To update and repackage this Python project using setuptools on macOS, follow these steps:

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:

a. Create a virtual environment:

python3 -m venv venv

b. Activate the virtual environment:

source venv/bin/activate

2. Install Required Dependencies

Ensure that setuptools and wheel are installed in your environment:

pip install setuptools wheel twine

or

pip install -r requirements.txt

3. Update version number

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

4. Build the dist

python3 setup.py sdist bdist_wheel

5. Upload with twine

twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astronomy_types-1.0.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astronomy_types-1.0.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file astronomy_types-1.0.0.tar.gz.

File metadata

  • Download URL: astronomy_types-1.0.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for astronomy_types-1.0.0.tar.gz
Algorithm Hash digest
SHA256 faee60a9d427779570e098c356b97e374ae84125b51a90f5a2a70628687f44e0
MD5 f756f8f2ecd8bf173c6a56cdddc36358
BLAKE2b-256 87082494813a95080e58ba538feaf332da9ff68a2e5372abd7ab060166410eb3

See more details on using hashes here.

File details

Details for the file astronomy_types-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astronomy_types-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0da6a07915f1f79b5ca9b2ffd9ee6a2c6079358f9a4cbcc5c14fb22f617fdc0
MD5 6b16b2a4a5dccdd40c0a7a2250866649
BLAKE2b-256 b51926d423f1903e07e84812477c39cb20d945395c5fc407db0df355713a404c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page