stowrap


Namestowrap JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/yokoe/stowrap
Summarystowrap: Python Storage Service Wrapper.
upload_time2023-11-05 14:01:20
maintaineryokoe
docs_urlNone
authoryokoe
requires_python
licenseMIT
keywords gcs s3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # stowrap
Python Storage Service Wrapper

## How to use
### Initialize client
```
import stowrap

c = stowrap.Client("gcs")

or

c = stowrap.Client("s3")

```

### Upload a file
```
result = c.upload("my-bucket", "/path/to/local/file", "dstfile.txt")
print(result.url)
```


### Download a file
```
c.download("my-bucket", "some/remote/file.txt", "/path/to/local/file.txt")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yokoe/stowrap",
    "name": "stowrap",
    "maintainer": "yokoe",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "kreuz45@kreuz45.com",
    "keywords": "gcs s3",
    "author": "yokoe",
    "author_email": "kreuz45@kreuz45.com",
    "download_url": "https://files.pythonhosted.org/packages/d7/e9/de52d1396eba8d569ae7658d84f34b54ad1a4e1a61e14db37a51ec07fcb4/stowrap-0.0.6.tar.gz",
    "platform": null,
    "description": "# stowrap\nPython Storage Service Wrapper\n\n## How to use\n### Initialize client\n```\nimport stowrap\n\nc = stowrap.Client(\"gcs\")\n\nor\n\nc = stowrap.Client(\"s3\")\n\n```\n\n### Upload a file\n```\nresult = c.upload(\"my-bucket\", \"/path/to/local/file\", \"dstfile.txt\")\nprint(result.url)\n```\n\n\n### Download a file\n```\nc.download(\"my-bucket\", \"some/remote/file.txt\", \"/path/to/local/file.txt\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "stowrap: Python Storage Service Wrapper.",
    "version": "0.0.6",
    "project_urls": {
        "Download": "https://github.com/yokoe/stowrap",
        "Homepage": "https://github.com/yokoe/stowrap"
    },
    "split_keywords": [
        "gcs",
        "s3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7e9de52d1396eba8d569ae7658d84f34b54ad1a4e1a61e14db37a51ec07fcb4",
                "md5": "c8197533de9aba355746c9971553c131",
                "sha256": "0b87ea935f608ca5c5d19022318d95a4c5765919bdc0a98f5fd04db35b1aeda5"
            },
            "downloads": -1,
            "filename": "stowrap-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "c8197533de9aba355746c9971553c131",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3804,
            "upload_time": "2023-11-05T14:01:20",
            "upload_time_iso_8601": "2023-11-05T14:01:20.971122Z",
            "url": "https://files.pythonhosted.org/packages/d7/e9/de52d1396eba8d569ae7658d84f34b54ad1a4e1a61e14db37a51ec07fcb4/stowrap-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-05 14:01:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yokoe",
    "github_project": "stowrap",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "stowrap"
}
        
Elapsed time: 0.18244s