Skip to main content

Sadr

A Python package publishing framework, cause I find package releasing very boring so I made a automation... Thank me later

Installation

pip install sadr

Usage for PyPI Upload

from sadr import PyPI

# You have to add the directory here, so Sadr can find the package
sadr = PyPI(".")
# This will build the wheel and distribution files and folders
sadr.build()
# This will check if the package is right and all things work
sadr.check()
# This will release your package, you have to enter the PyPI token
# Don't worry, I won't steal your token :)
sadr.upload(token="__token_here__")

Usage for Github Upload

from sadr import GitHub

"""
First argument: what git executable to use, "git" for most
people, but sometimes it may be named different...
You can even use the path as such:
c = GitHub(r"Idk\git.exe")

Second argument: the path to the folder or leave empty for root folder
"""
sadr = GitHub(git, path)

# This checks if Git exists on your system
sadr.check_git()

# This will initialize git to your folder (git init)
sadr.git_init()

# This will add all your files (git add .)
sadr.git_add()

# This will commit your additions with a message
sadr.commit(msg)

# This will connect Github to your comuter using the remote origin thing
sadr.remote(url)

# This pushes changes to main aka on Github
sadr.push()

# This just does all of that in one go
sadr.upload(url, commit_msg)

Metadata

Release files for Sadr 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Sadr 0.2.2
File Size Uploaded Provenance Actions
sadr-0.2.2.tar.gz 3.3 kB Without provenance Details for sadr-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / sadr-0.2.2.tar.gz

Download URL sadr-0.2.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
883c12b8d51f532f3e30f353b1a3c1a55fc4aa6da27dd2e27512c5e5c701a419
BLAKE2b-256 checksum
How to use checksums
d2140014a60fcc89111c198751f7a37a547fb65ea3bf1d835773d6f4b2f45351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / sadr-0.2.2-py3-none-any.whl

Download URL sadr-0.2.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a7da543c5ae541f1f20ad69768a1f918f24d52642b029fa52152fce4b78faa5
BLAKE2b-256 checksum
How to use checksums
799a9db4a2d50a1cc025c0662091f245f9e743f8eb8a7ce457265e6652fbf28a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for Sadr 0.2.2

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