Download artifacts from various sources. E.g., a ZipApp from GitHub Releases.
Project description
homf
Homf is a tool for downloading artifacts from online services, like a ZipApp from GitHub Releases or a Wheel from PyPi.
Documentation: https://homf.readthedocs.io/
The recommended way to install Homf is via pipx.
If you have pipx installed, you can install Homf via pipx install homf
.
The basic syntax is homf SOURCE [OPTIONS] PACKAGE RELEASE
. SOURCE
is one of github
or pypi
.
For GitHub, PACKAGE
is the repository and RELEASE
is the tag used by GitHub Releases.
For PyPi, PACKAGE
is the package name on PyPi and RELEASE
is the version number.
By default, Homf downloads all files for the release into ./downloads
.
See the documentation for details on OPTIONS
.
$ homf github ppb/pursuedpybear
INFO Selected release 'v3.2.0 - The Bear Awakens!' as latest
INFO Downloaded 'downloads/examples.zip'
INFO Downloaded 'downloads/ppb-3.2.0-py3-none-any.whl'
INFO Downloaded 'downloads/ppb-3.2.0.tar.gz'
$ tree downloads/
downloads/
├── examples.zip
├── ppb-3.2.0-py3-none-any.whl
└── ppb-3.2.0.tar.gz
1 directory, 3 files
$ rm -r downloads/
$ homf pypi emanate
INFO Selected release '8.0.2' as latest
INFO Downloaded 'downloads/emanate-8.0.2-py3-none-any.whl'
INFO Downloaded 'downloads/emanate-8.0.2.tar.gz'
$ tree downloads/
downloads/
├── emanate-8.0.2-py3-none-any.whl
└── emanate-8.0.2.tar.gz
1 directory, 2 files
$
Homf requires Python 3.8 or newer.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/duckinator/homf.
The code for Homf is available under the MIT License.
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
Built Distribution
File details
Details for the file homf-1.1.1.tar.gz
.
File metadata
- Download URL: homf-1.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: bork/9.0.0 (+https://github.com/duckinator/bork)
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5ca9f0c2d9918cc6fce028da94c87ca722681c64a40dbaa6e9b8c9544ccd33 |
|
MD5 | 428c5eaf6a052a7fe3a2ea29489559d9 |
|
BLAKE2b-256 | b0937e8d4e22edfb4f2e0f715786be158a430eea789a4ccf557ffbecf750e050 |
File details
Details for the file homf-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: homf-1.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: bork/9.0.0 (+https://github.com/duckinator/bork)
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b4d86277a397f05be3f0202414ee0bef6cc559b107b44266ef7e500207a7ecd |
|
MD5 | bf95908d9c948d44faf9c8f8e8a79a80 |
|
BLAKE2b-256 | 99e1a5bba180d8c76068a57e15047a949bd4b6f3a4eefce1c6593f05b1b15989 |