aioseaweedfs


Nameaioseaweedfs JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://code.pobblelabs.org/fossil/aioseaweed
Summaryasync client for seaweedfs
upload_time2024-02-18 15:39:25
maintainer
docs_urlNone
authorDave St.Germain
requires_python>=3.9
licenseBSD 3-Clause License
keywords protocol
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # aioseaweedfs

This is an asyncio client for [seaweedfs](https://github.com/seaweedfs/seaweedfs).

## Installation

`pip install aioseaweedfs`

## Basic Usage

```python
import aioseaweedfs

async def main():
    master = aioseaweedfs.Master()

    volume, file_ids = await master.get_assign_key()

    await volume.post(file_ids[0], "File Content")

    content = await volume.get(file_ids[0])
```

## Filer Usage

```python
filer = aioseaweedfs.Filer()

await filer.post("/some/path/to/file.txt", "file contents", content_type="text/plain")

contents = await filer.get("/some/path/to/file.txt")
# contents will always be bytes
```


See [Documentation](https://code.pobblelabs.org/fossil/aioseaweed/doc/trunk/docs/index.md)

            

Raw data

            {
    "_id": null,
    "home_page": "https://code.pobblelabs.org/fossil/aioseaweed",
    "name": "aioseaweedfs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "protocol",
    "author": "Dave St.Germain",
    "author_email": "dave@st.germa.in",
    "download_url": "https://files.pythonhosted.org/packages/f1/dd/2387cbaf5c498e2ce0f36024d8ac938e055c664466ef67fd99b4841f5199/aioseaweedfs-0.3.1.tar.gz",
    "platform": null,
    "description": "# aioseaweedfs\n\nThis is an asyncio client for [seaweedfs](https://github.com/seaweedfs/seaweedfs).\n\n## Installation\n\n`pip install aioseaweedfs`\n\n## Basic Usage\n\n```python\nimport aioseaweedfs\n\nasync def main():\n    master = aioseaweedfs.Master()\n\n    volume, file_ids = await master.get_assign_key()\n\n    await volume.post(file_ids[0], \"File Content\")\n\n    content = await volume.get(file_ids[0])\n```\n\n## Filer Usage\n\n```python\nfiler = aioseaweedfs.Filer()\n\nawait filer.post(\"/some/path/to/file.txt\", \"file contents\", content_type=\"text/plain\")\n\ncontents = await filer.get(\"/some/path/to/file.txt\")\n# contents will always be bytes\n```\n\n\nSee [Documentation](https://code.pobblelabs.org/fossil/aioseaweed/doc/trunk/docs/index.md)\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "async client for seaweedfs",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://code.pobblelabs.org/fossil/aioseaweed"
    },
    "split_keywords": [
        "protocol"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "720e85eb9e5aef569842b6885adbff3614033096ec38fc7acb6ad3e6d2c7d49f",
                "md5": "7785376120c8171932fc0e93f5a81dbe",
                "sha256": "a6bb7b63d17edc36df3b38fa15895bdde28ac3bcf297ce05eb0cdeb50961c72c"
            },
            "downloads": -1,
            "filename": "aioseaweedfs-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7785376120c8171932fc0e93f5a81dbe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6310,
            "upload_time": "2024-02-18T15:39:23",
            "upload_time_iso_8601": "2024-02-18T15:39:23.500080Z",
            "url": "https://files.pythonhosted.org/packages/72/0e/85eb9e5aef569842b6885adbff3614033096ec38fc7acb6ad3e6d2c7d49f/aioseaweedfs-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1dd2387cbaf5c498e2ce0f36024d8ac938e055c664466ef67fd99b4841f5199",
                "md5": "debb8ce83cc758329d889471b81413d6",
                "sha256": "ac9c376b4365a23cf1ecb76d1fe66f00ee7c155e43a403669ae3fd2b3a021713"
            },
            "downloads": -1,
            "filename": "aioseaweedfs-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "debb8ce83cc758329d889471b81413d6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 7669,
            "upload_time": "2024-02-18T15:39:25",
            "upload_time_iso_8601": "2024-02-18T15:39:25.341499Z",
            "url": "https://files.pythonhosted.org/packages/f1/dd/2387cbaf5c498e2ce0f36024d8ac938e055c664466ef67fd99b4841f5199/aioseaweedfs-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 15:39:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aioseaweedfs"
}
        
Elapsed time: 0.18790s