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.1

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

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / sadr-0.2.1.tar.gz

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

Download URL sadr-0.2.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86da85c961278fd5c167a48252c5ac705f08de9ba6f3753e634acaef9db55e4b
BLAKE2b-256 checksum
How to use checksums
a269541abf3b66d11dadf8964a6d0e95606695b5f17b28dc37298f7bee37e3b1
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.1

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