Project: pyMetalink URL: https://github.com/metalink-dev/pymetalink E-mail: nabber00@gmail.com
Copyright: (C) 2007-2016, Neil McNab, Hampus Wessman License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description: pyMetalink is a library for python to support advanced download features
Example:
import metalink.download
files = metalink.download.get("file.metalink", os.getcwd())
CHANGELOG:
Version 6.5.2
- Removed poetry-version-plugin
Version 6.5.1
- Releases now use semantic versioning scheme
Version 6.5
- Dropped support for Python 3.7 and older versions, removed Python 2.7 code artifacts
- Addressed several deprecation warnings raised from API changes in dependencies
- Added Ruff formatter and addressed several PEP8-related coding style issues
- Updated workflows and added builds to perform testing across more Python versions
- Added git-based versioning
- Updated package metadata and licensing attributions
Version 6.4
- Updated release system to use GitHub Workflow CI
Version 6.3
- Fixed various bugs related to Python 3.x support
- Now using Poetry as the packaging system
- Code styling now follows the Black formatting conventions
Version 6.2
- Tested
- Initial Python 3.x support
- License change to MIT approved by all authors, can still be combined with GPL software
- Catches GPG NEWSIG response
Version 6.1
- Packaged as pure Python package for easy_install and pip
Version 6.0
- Support for RFC 3230 - Instance Digests in HTTP
- Support for RFC 6249 - Metalink/HTTP: Mirrors and Hashes
Version 5.1
- Bugfixes for segmented downloads
- Native Jigdo download support
- Added download time
- Now requires Python 2.5 or newer because Metalink RFC requires SHA-256
Version 5.0
- Added support for Metalink v4 (IETF RFC)
Version 4.4
- Bugfix for when HTTP 302 redirect code is issued during download
Version 4.3
- Added custom HTTP header support
- Added option to parse an HTML file for .metalink files to check
- Added a beta feature for media streaming
- Various bugfixes
Version 4.2
- PGP bugfix
- Jigdo to Metalink convertor
- Other bugfixes
Version 4.1
- XML parsing speed and memory improvements
- Checking function is now multithreaded for speed improvements
- Displays download bitrates
- Grabs proxy info from environment variables and Windows registry
- Fix for faulty file locking, this causes corrupted downloads
Version 4.0
- Uses gzip compression when available on server (non-segmented downloads only)
- Fixed memory leak when computing a checksum
- Bugfixes for download resuming
Version 3.8
- Will now download any file type and auto-detect metalink files
- Added support for metalink "Accept" HTTP header
Version 3.7.4
- Fixed default key import directory
Version 3.7.3
- Fixes for use with UNIX/Linux
- bugfixes in checker code
Version 3.7.2
- Modified to remove the pyme dependency
Version 3.7.1
- Removed missing imports
Version 3.7
- Added first attempt at PGP signature checking
- Minor bugfixes
Version 3.6
- Support for resuming segmented downloads
- Modified for better Python 2.4 support
Version 3.5
- Code cleanup
- FTP close connection speed improvement
- Added documentation for how to use as a library
- Sort by country pref first (if set), then pref value in metalink
Version 3.4
- segmented download FTP size support
- support for user specified OS and language preferences
- finished FTP proxy support
Version 3.3
- Bugfix for when type attr not present
- Support for FTP segmented downloads
Version 3.2
- If type="dynamic", client checks origin location
Version 3.1
- Now handles all SHA hash types and MD5
- Minor bug fixes
Version 3.0
- Speed and bandwidth improvements for checking mode
- Added checking of chunk checksums
- If chunk checksums are present, downloads are resumed
- Proxy support (experimental, HTTP should work, FTP and HTTPS not likely)
Version 2.0.1
- Bugfix when doing size check on HTTP servers, more reliable now
Version 2.0
- Support for segmented downloads! (HTTP urls only, falls back to old method if only FTP urls)
Version 1.4
- Added support for checking the file size on FTP servers
Version 1.3.1
- Made error when XML parse fails a little clearer.
Version 1.3
- Fixed bug when no "size" attribute is present
Version 1.2
- Added totals output
Version 1.1
- Bugfixes for FTP handling, bad URL handling
- rsync doesn't list as a URL Error
- reduced timeout value
Version 1.0
This is the initial release.
TODO
- resume download support for non-segmented downloads
- download priority based on speed
- use maxconnections
- dump FTP data chunks directly to file instead of holding in memory
Metadata
Release files for pymetalink 6.5.3
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 | |
|---|---|---|---|---|
| pymetalink-6.5.3.tar.gz | 46.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymetalink-6.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.1 kB
Release files / pymetalink-6.5.3.tar.gz
| Download URL | pymetalink-6.5.3.tar.gz |
|---|---|
| Size | 46.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9dbc33279b295c473aec1193403d34af2dc6a5e085a27f62216672965e10cf2
|
|
BLAKE2b-256 checksum How to use checksums |
567f7b492cf2b982357cc56fe7911bb8029e87804a15f1774b969d8f2580b869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pymetalink-6.5.3-py3-none-any.whl
| Download URL | pymetalink-6.5.3-py3-none-any.whl |
|---|---|
| Size | 49.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94174dbf483eaa9038258fd8b23479a94df388d39ef832872ed4914b1ab8471b
|
|
BLAKE2b-256 checksum How to use checksums |
077e19f965ef8eeb05c103928feab7ca721f3696dc1d7a8f7ce2fc8f7f24642d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for pymetalink 6.5.3
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.