pymetalink


Namepymetalink JSON
Version 6.5.2 PyPI version JSON
download
home_pagehttps://github.com/metalink-dev/pymetalink
SummaryA metalink library for Python
upload_time2024-07-26 20:59:24
maintainerNone
docs_urlNone
authorNeil McNab
requires_python<4.0,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.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


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/metalink-dev/pymetalink",
    "name": "pymetalink",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Neil McNab",
    "author_email": "nabber00@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3c/4e/578bd377b389e697b5b1e041ddfc4044a7be284a182aa833532f3a1d37ea/pymetalink-6.5.2.tar.gz",
    "platform": null,
    "description": "Project: pyMetalink\nURL: https://github.com/metalink-dev/pymetalink\nE-mail: nabber00@gmail.com\n\nCopyright: (C) 2007-2016, Neil McNab, Hampus Wessman\nLicense: MIT\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nDescription:\npyMetalink is a library for python to support advanced download features\n\nExample:\n\nimport metalink.download\n\nfiles = metalink.download.get(\"file.metalink\", os.getcwd())\n\nCHANGELOG:\n\nVersion 6.2\n-----------\n- Tested\n- Initial Python 3.x support\n- License change to MIT approved by all authors, can still be combined with GPL software\n- Catches GPG NEWSIG response\n\nVersion 6.1\n-----------\n- Packaged as pure Python package for easy_install and pip\n\nVersion 6.0\n-----------\n- Support for RFC 3230 - Instance Digests in HTTP\n- Support for RFC 6249 - Metalink/HTTP: Mirrors and Hashes\n\nVersion 5.1\n-----------\n- Bugfixes for segmented downloads\n- Native Jigdo download support\n- Added download time\n- Now requires Python 2.5 or newer because Metalink RFC requires SHA-256\n\nVersion 5.0\n-----------\n- Added support for Metalink v4 (IETF RFC)\n\nVersion 4.4\n-----------\n- Bugfix for when HTTP 302 redirect code is issued during download\n\nVersion 4.3\n-----------\n- Added custom HTTP header support\n- Added option to parse an HTML file for .metalink files to check\n- Added a beta feature for media streaming\n- Various bugfixes\n\nVersion 4.2\n-----------\n- PGP bugfix\n- Jigdo to Metalink convertor\n- Other bugfixes\n\nVersion 4.1\n-----------\n- XML parsing speed and memory improvements\n- Checking function is now multithreaded for speed improvements\n- Displays download bitrates\n- Grabs proxy info from environment variables and Windows registry\n- Fix for faulty file locking, this causes corrupted downloads\n\nVersion 4.0\n-----------\n- Uses gzip compression when available on server (non-segmented downloads only)\n- Fixed memory leak when computing a checksum\n- Bugfixes for download resuming\n\nVersion 3.8\n-----------\n- Will now download any file type and auto-detect metalink files\n- Added support for metalink \"Accept\" HTTP header\n\nVersion 3.7.4\n-------------\n- Fixed default key import directory\n\nVersion 3.7.3\n-------------\n- Fixes for use with UNIX/Linux\n- bugfixes in checker code\n\nVersion 3.7.2\n-------------\n- Modified to remove the pyme dependency\n\nVersion 3.7.1\n-------------\n- Removed missing imports\n\nVersion 3.7\n-----------\n- Added first attempt at PGP signature checking\n- Minor bugfixes\n\nVersion 3.6\n-----------\n- Support for resuming segmented downloads\n- Modified for better Python 2.4 support\n\nVersion 3.5\n-----------\n- Code cleanup\n- FTP close connection speed improvement\n- Added documentation for how to use as a library\n- Sort by country pref first (if set), then pref value in metalink\n\nVersion 3.4\n-----------\n- segmented download FTP size support\n- support for user specified OS and language preferences\n- finished FTP proxy support\n\nVersion 3.3\n-----------\n- Bugfix for when type attr not present\n- Support for FTP segmented downloads\n\nVersion 3.2\n-----------\n- If type=\"dynamic\", client checks origin location\n\nVersion 3.1\n-----------\n- Now handles all SHA hash types and MD5\n- Minor bug fixes\n\nVersion 3.0\n-----------\n- Speed and bandwidth improvements for checking mode\n- Added checking of chunk checksums\n- If chunk checksums are present, downloads are resumed\n- Proxy support (experimental, HTTP should work, FTP and HTTPS not likely)\n\nVersion 2.0.1\n-------------\n- Bugfix when doing size check on HTTP servers, more reliable now\n\nVersion 2.0\n-----------\n- Support for segmented downloads! (HTTP urls only, falls back to old method if only FTP urls)\n\nVersion 1.4\n-----------\n- Added support for checking the file size on FTP servers\n\nVersion 1.3.1\n-------------\n- Made error when XML parse fails a little clearer.\n\nVersion 1.3\n-----------\n- Fixed bug when no \"size\" attribute is present\n\nVersion 1.2\n-----------\n- Added totals output\n\nVersion 1.1\n-----------\n- Bugfixes for FTP handling, bad URL handling\n- rsync doesn't list as a URL Error\n- reduced timeout value\n\nVersion 1.0\n-----------\nThis is the initial release.\n\nTODO\n- resume download support for non-segmented downloads\n- download priority based on speed\n- use maxconnections\n- dump FTP data chunks directly to file instead of holding in memory\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A metalink library for Python",
    "version": "6.5.2",
    "project_urls": {
        "Homepage": "https://github.com/metalink-dev/pymetalink",
        "Repository": "https://github.com/metalink-dev/pymetalink"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ba57c9760e05817a7ba6a0645a2f414bd4600d6f70e11018be0ecf54802fe6a5",
                "md5": "42560160b7f33424097ef82a9d48ddbe",
                "sha256": "a08926f702c1eaca53d252c7928c660f9ffdd87c6b58e31653c46134b4fc34bb"
            },
            "downloads": -1,
            "filename": "pymetalink-6.5.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "42560160b7f33424097ef82a9d48ddbe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 48943,
            "upload_time": "2024-07-26T20:59:23",
            "upload_time_iso_8601": "2024-07-26T20:59:23.282564Z",
            "url": "https://files.pythonhosted.org/packages/ba/57/c9760e05817a7ba6a0645a2f414bd4600d6f70e11018be0ecf54802fe6a5/pymetalink-6.5.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c4e578bd377b389e697b5b1e041ddfc4044a7be284a182aa833532f3a1d37ea",
                "md5": "e8d12748b62ee4919ad2a2fe4e1326ea",
                "sha256": "9e9090b9a889825abf33ccc5239c1a1cc0bca4c55ff57025b7bbf5555c334d79"
            },
            "downloads": -1,
            "filename": "pymetalink-6.5.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e8d12748b62ee4919ad2a2fe4e1326ea",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 46186,
            "upload_time": "2024-07-26T20:59:24",
            "upload_time_iso_8601": "2024-07-26T20:59:24.862698Z",
            "url": "https://files.pythonhosted.org/packages/3c/4e/578bd377b389e697b5b1e041ddfc4044a7be284a182aa833532f3a1d37ea/pymetalink-6.5.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-26 20:59:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "metalink-dev",
    "github_project": "pymetalink",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pymetalink"
}
        
Elapsed time: 0.62521s