Skip to main content

Rye Easy is a tool to help you manage your Python projects with Rye.

Project description

rye-easy

Rye

Rye Easy is a tool to help you manage your Python projects with Rye.

Installation

pip install rye-easy

Usage

Rye Easy provides simple commands to build and publish your Python packages managed with Rye.

Command Line Interface

Build Command

python -m rye_easy build

When you run the build command, the following operations are performed:

  1. Cleans the dist directory to remove any previous build artifacts
  2. Bumps the patch version of your package using rye version --bump patch
  3. Builds the package using rye build
  4. Installs the newly built wheel package locally using pip

This is useful for testing your package locally before publishing.

Publish Command

python -m rye_easy publish

When you run the publish command, the following operations are performed:

  1. Bumps the patch version of your package using rye version --bump patch
  2. Adds the updated pyproject.toml to git staging
  3. Commits the changes with the message "update version"
  4. Creates a git tag with the new version (prefixed with 'v')
  5. Pushes the commit to the remote repository
  6. Pushes the tags to the remote repository

This command automates the entire release process in one step.

As a Python Module

from rye_easy import build, publish

# Build your package
build()

# Publish your package
publish()

Functions

  • build(): Bumps patch version, builds the package, and installs it locally
  • publish(): Bumps patch version, commits changes, creates a git tag, and pushes to remote
  • clean_dist(): Cleans the dist directory
  • get_version(): Gets the current version from Rye

TODO

  • pyproject.toml hatching 버젼 수정하여 build 잘 되게 하기
  • github action 에서 배포가 잘될 수 있게 .github\workflows\python-publish.yml을 복사할 수 있게 하기

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

rye_easy-0.1.28.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

rye_easy-0.1.28-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file rye_easy-0.1.28.tar.gz.

File metadata

  • Download URL: rye_easy-0.1.28.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.9

File hashes

Hashes for rye_easy-0.1.28.tar.gz
Algorithm Hash digest
SHA256 a2f9ea9cc47d91215297672c6d69fc3e609a826d5c868ebdf1852f540fde8573
MD5 1d74c8a00cde769858530c77f6ff5a9b
BLAKE2b-256 065d68bbb34c659bd8f2552d3c39004f7d47b569367ccb61fc058cf0aebde3bd

See more details on using hashes here.

File details

Details for the file rye_easy-0.1.28-py3-none-any.whl.

File metadata

  • Download URL: rye_easy-0.1.28-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.9

File hashes

Hashes for rye_easy-0.1.28-py3-none-any.whl
Algorithm Hash digest
SHA256 10a1c5fa267e291de55c121d5c7cd9da8147da209c9869ff7adb7999c07b1acb
MD5 a13ba94a9bc58095239adefcaa9d6813
BLAKE2b-256 6ff3ceb9a44d14ace58ccaa6de58675ed70449fa4a2a99d2ee34c78c4973b948

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