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

import 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/*

And enter in the API token

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.1.tar.gz (2.3 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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astronomy_types-1.0.1.tar.gz
  • Upload date:
  • Size: 2.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d798f46bda99eaebd3e81a36c53c404f0916e4ecd39a7dbdb1797e1c133e233d
MD5 ff681106f2efb887f32853b3198783f8
BLAKE2b-256 3264009c8f8852f8b1312bf569ffba4de0a6f0a015aae6864242ffd722e5ebb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astronomy_types-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c60c9ec0fce6a62b927582fc3dc31a8d78b931725f74e899093992f38abfaf35
MD5 0ceb37bcaa900676ba0b490439d266b2
BLAKE2b-256 2150d92257f45792414195d8f0b9d5e0df68002f37c8050e8a7983a55fc0a276

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