tc-gcs


Nametc-gcs JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummaryA simple Thumbor custom storage for Google Cloud Storage
upload_time2024-02-24 17:50:56
maintainer
docs_urlNone
authorNgo Sach Nhat (Chen)
requires_python
licenseMIT
keywords thumbor gcs google cloud storage
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Thumbor Google Cloud Storage

Thumbor Storage, Thumbor Loader and Thumbor Result Storage for [Google Cloud Storage](https://cloud.google.com/storage), aka `GCS`.

The thumbor storage can be customized as follows: [Storages](https://thumbor.readthedocs.io/en/latest/custom_storages.html), [Image Loaders](https://thumbor.readthedocs.io/en/latest/custom_loaders.html), [Result Storages](https://thumbor.readthedocs.io/en/latest/custom_result_storages.html).

## Installation
```
pip install tc-gcs
```

## Authentiation
Authentication is handled by the Google Cloud Storage SDK, see google-cloud-storage SDK [documentation](https://googleapis.dev/python/storage/latest/index.html).

## Configuration

### Storage settings
```
TC_GCS_STORAGE_PROJECT_ID = '' # GCS project id for Storage
TC_GCS_STORAGE_BUCKET_ID = '' # GCS bucket id for Storage
TC_GCS_STORAGE_ROOT_PATH = '' # GCS path prefix for Storage bucket
```

### Key settings
```
TC_GCS_RANDOMIZE_KEYS=False # Adds some randomization in the GCS keys for the Storage and Result Storage. Defaults to False for Backwards Compatibility, set it to True for performance.
TC_GCS_ROOT_IMAGE_NAME='root_image' # Sets a default name for requested images ending with a trailing /. Those images will be stored in result_storage and storage under the name set in this configuration.
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "tc-gcs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "thumbor gcs google cloud storage",
    "author": "Ngo Sach Nhat (Chen)",
    "author_email": "nhatns.uet@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/42/0b/c19905c90215039c377cc859977fd48868b4482005ac9f2b7e11262d480c/tc_gcs-0.1.1.tar.gz",
    "platform": null,
    "description": "# Thumbor Google Cloud Storage\n\nThumbor Storage, Thumbor Loader and Thumbor Result Storage for [Google Cloud Storage](https://cloud.google.com/storage), aka `GCS`.\n\nThe thumbor storage can be customized as follows: [Storages](https://thumbor.readthedocs.io/en/latest/custom_storages.html), [Image Loaders](https://thumbor.readthedocs.io/en/latest/custom_loaders.html), [Result Storages](https://thumbor.readthedocs.io/en/latest/custom_result_storages.html).\n\n## Installation\n```\npip install tc-gcs\n```\n\n## Authentiation\nAuthentication is handled by the Google Cloud Storage SDK, see google-cloud-storage SDK [documentation](https://googleapis.dev/python/storage/latest/index.html).\n\n## Configuration\n\n### Storage settings\n```\nTC_GCS_STORAGE_PROJECT_ID = '' # GCS project id for Storage\nTC_GCS_STORAGE_BUCKET_ID = '' # GCS bucket id for Storage\nTC_GCS_STORAGE_ROOT_PATH = '' # GCS path prefix for Storage bucket\n```\n\n### Key settings\n```\nTC_GCS_RANDOMIZE_KEYS=False # Adds some randomization in the GCS keys for the Storage and Result Storage. Defaults to False for Backwards Compatibility, set it to True for performance.\nTC_GCS_ROOT_IMAGE_NAME='root_image' # Sets a default name for requested images ending with a trailing /. Those images will be stored in result_storage and storage under the name set in this configuration.\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple Thumbor custom storage for Google Cloud Storage",
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [
        "thumbor",
        "gcs",
        "google",
        "cloud",
        "storage"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0be01a22a1240922f1d91eb3c78028d28099f9341360530d9b8b69b3afd28a67",
                "md5": "302d08bfd313bd27d920b64c2394650a",
                "sha256": "8c4ce8132a5ce7e9a4f40cf15c3d0414664220f9daa45dacf256e4fb675aedfb"
            },
            "downloads": -1,
            "filename": "tc_gcs-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "302d08bfd313bd27d920b64c2394650a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7217,
            "upload_time": "2024-02-24T17:50:55",
            "upload_time_iso_8601": "2024-02-24T17:50:55.038445Z",
            "url": "https://files.pythonhosted.org/packages/0b/e0/1a22a1240922f1d91eb3c78028d28099f9341360530d9b8b69b3afd28a67/tc_gcs-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "420bc19905c90215039c377cc859977fd48868b4482005ac9f2b7e11262d480c",
                "md5": "5d2e1cc2312e0a267aaab6ae3c4730ed",
                "sha256": "ed0e41bed9bc9c7aa0193257b038907176246d153b3b4072a70d4bbe8bc29875"
            },
            "downloads": -1,
            "filename": "tc_gcs-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5d2e1cc2312e0a267aaab6ae3c4730ed",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6585,
            "upload_time": "2024-02-24T17:50:56",
            "upload_time_iso_8601": "2024-02-24T17:50:56.093912Z",
            "url": "https://files.pythonhosted.org/packages/42/0b/c19905c90215039c377cc859977fd48868b4482005ac9f2b7e11262d480c/tc_gcs-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-24 17:50:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tc-gcs"
}
        
Elapsed time: 0.27755s