reponow package
Features:
- A library that allows you to parse repo locations and map them to a consistent location on disk.
- Several commands to help clone and/or open a repo, via its repo location only:
wcl https://github.com/g0t4/dotfiles
opener https://github.com/g0t4/dotfiles
This package is from a learning exercise for my course at Pluralsight: TODO link coming soon: Python: Functions and Modules
Install
pipx install reponow
wcl ...
opener ...
Build
Setup .venv w/ dependencies
# use uv for dependencies
uv sync
# OR, use venv/pip manually
python3 -m venv .venv
source .venv/bin/activate
# source .venv/bin/activate.fish # if using fish shell
pip3 install .
Run commands
# always make sure your venv is activated
source .venv/bin/activate[.fish]
# run commands "standalone"
uv pip install --editable .
# --editable allows you to change the code, w/o re-installing it
wcl ...
opener ...
# cloner, pick one:
python3 reponow/wcl.py
python3 -m reponow.wcl
python3 -m reponow # thanks to __main__.py
# opener, pick one:
python3 reponow/opener.py
python3 -m reponow.opener
Test wcl
FYI I have automated unit tests in the real wcl.py I use, in my dotfiles repo: https://github.com/g0t4/dotfiles/blob/master/zsh/compat_fish/pythons/wcl.tests.py
# AND, I have a few examples in test_cases.sh:
./test_cases.sh > expected_test_cases_output
git diff # see if any changes to versioned output file (checked in copy is correct per my wesdemos user)
# double check expected matches what's in test_cases.sh
icdiff test_cases.sh expected_test_cases_output
# then look for commmented out paths to line up (obviously not the full script)
Metadata
Release files for reponow 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| reponow-0.0.1.tar.gz | 22.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reponow-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / reponow-0.0.1.tar.gz
| Download URL | reponow-0.0.1.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37aaf0a55d6afc3bf6edda4c6a1bc63bdae73f9ff786ada2470f232a30b6487d
|
|
BLAKE2b-256 checksum How to use checksums |
4dbc3831c2fcc15d068a0bfe88777b459d3c95e2ba93c500251db392aef27ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / reponow-0.0.1-py3-none-any.whl
| Download URL | reponow-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
978a1190258d3e7a073faf3c38b25055adfa5b7e31d7b31a10099ee5613a2235
|
|
BLAKE2b-256 checksum How to use checksums |
0aca5f859f112577251be9d01f74185cda51e76a34e3a305434702307de8bce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Security for reponow 0.0.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.