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.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 Sadr 0.2.0
File Size Uploaded Provenance Actions
sadr-0.2.0.tar.gz 3.3 kB Without provenance Details for sadr-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / sadr-0.2.0.tar.gz

Download URL sadr-0.2.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1aa1a01d782c0a2df44270711b27925d0fed3d994bdb2d29020309cdcccef0b3
BLAKE2b-256 checksum
How to use checksums
03ebf4a12b1270e49dff16d1dd53a1d37a5e357346dea13fbc8cca62fe95b42f
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.0-py3-none-any.whl

Download URL sadr-0.2.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef30ffba70b5d8555cf00e537b2379a0d058ad42e8a9d8d67a5dd674574aab71
BLAKE2b-256 checksum
How to use checksums
d00acb1796cadb5cd79d24f438481e0a656249c5201c122c784b4f151fe0492b
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.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