lakefs-playground-utils


Namelakefs-playground-utils JSON
Version 0.0.14 PyPI version JSON
download
home_pagehttps://github.com/treeverse/lakefs-playground-utils
SummarylakeFS Playground Utilities
upload_time2022-12-01 11:14:35
maintainer
docs_urlNone
authorOr Tzabary
requires_python
licenseApache 2.0
keywords lakefs playground
VCS
bugtrack_url
requirements fsspec requests lakefs-client email-validator PyYAML
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lakeFS Playground Utilities

## Using in a notebook:

```python
>>> !pip install lakefs-playground-utils # Syntax used in Google Colab, might be different for Jupyter, Databricks, etc.
>>> 
>>> import playground
>>> conn = playground.get_or_create('myemail@example.com') # Creates a lakeFS playground environment, or returns an existing one
>>> playground.mount(conn) # Sets up a `lakefs://` protocol handler for pandas, pre-configured to read+write from our playground environment
```

Once set up, we can use pandas to read and write from a lakeFS repository on our playground installation:

```python
>>> import pandas as pd
>>> pd.read_parquet('lakefs://repo/branch/path/to/part-00000.snappy.parquet')
```

## License

Apache 2.0

See [LICENSE](./LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/treeverse/lakefs-playground-utils",
    "name": "lakefs-playground-utils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "lakefs playground",
    "author": "Or Tzabary",
    "author_email": "or.tzabary@treeverse.io",
    "download_url": "https://files.pythonhosted.org/packages/ca/e7/39dce49a6edc737e6b2a3548d60ee90bbf9db02ccfd22440846c9d698c18/lakefs-playground-utils-0.0.14.tar.gz",
    "platform": "any",
    "description": "# lakeFS Playground Utilities\n\n## Using in a notebook:\n\n```python\n>>> !pip install lakefs-playground-utils # Syntax used in Google Colab, might be different for Jupyter, Databricks, etc.\n>>> \n>>> import playground\n>>> conn = playground.get_or_create('myemail@example.com') # Creates a lakeFS playground environment, or returns an existing one\n>>> playground.mount(conn) # Sets up a `lakefs://` protocol handler for pandas, pre-configured to read+write from our playground environment\n```\n\nOnce set up, we can use pandas to read and write from a lakeFS repository on our playground installation:\n\n```python\n>>> import pandas as pd\n>>> pd.read_parquet('lakefs://repo/branch/path/to/part-00000.snappy.parquet')\n```\n\n## License\n\nApache 2.0\n\nSee [LICENSE](./LICENSE)\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "lakeFS Playground Utilities",
    "version": "0.0.14",
    "split_keywords": [
        "lakefs",
        "playground"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "c15136e4c7c5b6b9e30fb65ece1e2a52",
                "sha256": "e9dc28f89c419431c92839bd73dcc591af96c022206dd6d2736a0df56b541943"
            },
            "downloads": -1,
            "filename": "lakefs_playground_utils-0.0.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c15136e4c7c5b6b9e30fb65ece1e2a52",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11408,
            "upload_time": "2022-12-01T11:14:34",
            "upload_time_iso_8601": "2022-12-01T11:14:34.313814Z",
            "url": "https://files.pythonhosted.org/packages/11/d6/5076660c7f90ab2264489817d11601379d3e636d48fbb611c03904ebc855/lakefs_playground_utils-0.0.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "169e6db2a9ee8bb039cbe8b069d9d99f",
                "sha256": "47ac07fe229228366df83e2cd8ded5e2fac18d722e28ac7cefd75da553807fc5"
            },
            "downloads": -1,
            "filename": "lakefs-playground-utils-0.0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "169e6db2a9ee8bb039cbe8b069d9d99f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10114,
            "upload_time": "2022-12-01T11:14:35",
            "upload_time_iso_8601": "2022-12-01T11:14:35.714019Z",
            "url": "https://files.pythonhosted.org/packages/ca/e7/39dce49a6edc737e6b2a3548d60ee90bbf9db02ccfd22440846c9d698c18/lakefs-playground-utils-0.0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-01 11:14:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "treeverse",
    "github_project": "lakefs-playground-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "fsspec",
            "specs": [
                [
                    ">=",
                    "2021.11.0"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "lakefs-client",
            "specs": [
                [
                    "==",
                    "0.85.0"
                ]
            ]
        },
        {
            "name": "email-validator",
            "specs": [
                [
                    "==",
                    "1.3.0"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    ">=",
                    "6.0"
                ]
            ]
        }
    ],
    "lcname": "lakefs-playground-utils"
}
        
Elapsed time: 0.01536s