Name | gPhotosAlbum-JPEGcompression JSON |
Version |
1.4.3
JSON |
| download |
home_page | None |
Summary | Takes Google Photos Album (visible to anyone with url) and produces a zip file with compressed JPEGS. |
upload_time | 2024-09-15 19:38:52 |
maintainer | None |
docs_url | None |
author | Abhishek Venkatachalam |
requires_python | >=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
For more information about the author, visit [LinkedIn](https://www.linkedin.com/in/abhishek-venkatachalam-62121049/).
# Python Package - gPhotosAlbum_JPEGcompression
## Overview
Short Description:
Takes Google Photos Album (visible to anyone with url) and produces a zip file with compressed JPEGS.
USP:
- The JPEGS retain the metadata.
- 1.5x to 15x reduction in file size depending on the JPEG.
- Larger files with higher megapixel undergo very good compression.
- Almost perfect image clarity up to 250% magnification.
## Release Notes
### version 1.4.3
- Some fixes (as always).
### version 1.4.2
- First public release of gPhotosAlbum_JPEGcompression.
- JPEGS retain metadata.
## Installation
You can install the package using pip:
```bash
pip install gPhotosAlbum_JPEGcompression
```
## Methods
### compress_GoogleAlbum_jpeg
Takes the Google Photos Album url as Input. Ensure that the Photos are set to "Accesible by anyone with the url".
Returns: A zip file of the compressed images (JPEGs).
```python
from gPhotosAlbum_JPEGcompression import compress_GoogleAlbum_jpeg
googleAlbumURL = "https://photos.app.goo.gl/loremimpsunm56"
compress_GoogleAlbum_jpeg(googleAlbumURL)
```
#### Parameters:
- **googleAlbumURL** (str): Photos album Url.
- **stats** (Boolean, Optional, default="True"): Progress bar and stats.
- **output_path** (str, Optional, default=current directorty): The output path for the zip file, Kindly ensure the directories exist..
- **imageXpath** (str, Optional, default=xpath): Xpath for webscrpaing purposes, only provided as optional to use if Google changes the xpath.
- **url_prefix** (str, Optional , default="https://photos.google.com/"): Url prefix used for Webscraping, setting as an optional variable for future proofing and handling changes.
Raw data
{
"_id": null,
"home_page": null,
"name": "gPhotosAlbum-JPEGcompression",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Abhishek Venkatachalam",
"author_email": "abhishek.venkatachalam06@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f7/df/b773170ffb2d7b8f82bd84613dfbc9930af136ab22a686cd530227b47eda/gphotosalbum_jpegcompression-1.4.3.tar.gz",
"platform": null,
"description": "For more information about the author, visit [LinkedIn](https://www.linkedin.com/in/abhishek-venkatachalam-62121049/).\r\n\r\n# Python Package - gPhotosAlbum_JPEGcompression\r\n\r\n## Overview\r\n\r\nShort Description:\r\nTakes Google Photos Album (visible to anyone with url) and produces a zip file with compressed JPEGS.\r\n\r\nUSP:\r\n- The JPEGS retain the metadata.\r\n- 1.5x to 15x reduction in file size depending on the JPEG.\r\n- Larger files with higher megapixel undergo very good compression.\r\n- Almost perfect image clarity up to 250% magnification.\r\n\r\n\r\n## Release Notes\r\n\r\n### version 1.4.3\r\n- Some fixes (as always).\r\n\r\n\r\n### version 1.4.2\r\n- First public release of gPhotosAlbum_JPEGcompression.\r\n- JPEGS retain metadata.\r\n\r\n\r\n## Installation\r\n\r\nYou can install the package using pip:\r\n\r\n```bash\r\npip install gPhotosAlbum_JPEGcompression\r\n```\r\n\r\n## Methods\r\n\r\n### compress_GoogleAlbum_jpeg\r\n\r\nTakes the Google Photos Album url as Input. Ensure that the Photos are set to \"Accesible by anyone with the url\".\r\n\r\nReturns: A zip file of the compressed images (JPEGs).\r\n\r\n\r\n```python\r\nfrom gPhotosAlbum_JPEGcompression import compress_GoogleAlbum_jpeg\r\n\r\n\r\ngoogleAlbumURL = \"https://photos.app.goo.gl/loremimpsunm56\"\r\n\r\ncompress_GoogleAlbum_jpeg(googleAlbumURL)\r\n```\r\n\r\n#### Parameters:\r\n\r\n- **googleAlbumURL** (str): Photos album Url.\r\n- **stats** (Boolean, Optional, default=\"True\"): Progress bar and stats.\r\n- **output_path** (str, Optional, default=current directorty): The output path for the zip file, Kindly ensure the directories exist..\r\n- **imageXpath** (str, Optional, default=xpath): Xpath for webscrpaing purposes, only provided as optional to use if Google changes the xpath.\r\n- **url_prefix** (str, Optional , default=\"https://photos.google.com/\"): Url prefix used for Webscraping, setting as an optional variable for future proofing and handling changes.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Takes Google Photos Album (visible to anyone with url) and produces a zip file with compressed JPEGS.",
"version": "1.4.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e66ad73ce7bcae3cb925aad10e408aceb3d8bbeb4ffdad4e3eb30c5674ddf7f8",
"md5": "03031d3b00e5af33359e3a133f31035c",
"sha256": "8d77cff9efd24f2d6631f527cb723486a1827477b347896a5287aa2df6cd02e5"
},
"downloads": -1,
"filename": "gPhotosAlbum_JPEGcompression-1.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "03031d3b00e5af33359e3a133f31035c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6538,
"upload_time": "2024-09-15T19:38:50",
"upload_time_iso_8601": "2024-09-15T19:38:50.806497Z",
"url": "https://files.pythonhosted.org/packages/e6/6a/d73ce7bcae3cb925aad10e408aceb3d8bbeb4ffdad4e3eb30c5674ddf7f8/gPhotosAlbum_JPEGcompression-1.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f7dfb773170ffb2d7b8f82bd84613dfbc9930af136ab22a686cd530227b47eda",
"md5": "365eb940cad7d84c0115172bf0137fc9",
"sha256": "98b6ed57c0e37a25f832a2f1186c866b228f122a3991228cc3a55dd26b155f5d"
},
"downloads": -1,
"filename": "gphotosalbum_jpegcompression-1.4.3.tar.gz",
"has_sig": false,
"md5_digest": "365eb940cad7d84c0115172bf0137fc9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5879,
"upload_time": "2024-09-15T19:38:52",
"upload_time_iso_8601": "2024-09-15T19:38:52.127595Z",
"url": "https://files.pythonhosted.org/packages/f7/df/b773170ffb2d7b8f82bd84613dfbc9930af136ab22a686cd530227b47eda/gphotosalbum_jpegcompression-1.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-15 19:38:52",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "gphotosalbum-jpegcompression"
}