pinecone-notebooks


Namepinecone-notebooks JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://www.pinecone.io
SummaryHelpers for using Pinecone with notebooks
upload_time2024-05-20 17:14:28
maintainerNone
docs_urlNone
authorPinecone Systems, Inc.
requires_python<4.0,>=3.10
licenseApache-2.0
keywords pinecone vector database cloud jupyter colab notebooks
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pinecone helpers for notebooks
This package contains helper functions for working with Pinecone in the context of a Jupyter or
Google Colab notebook.

## Google Colab
### Authenticate
This helper function displays a widget to allow the user to authenticate with Pinecone. Once the
user authenticates, they are prompted to select the Pinecone organization and project that they want
to grant access to. An API key is then generated and set as the environment variable
`PINECONE_API_KEY`.
#### Usage
To display the authentication widget:
```py
from pinecone_notebooks.colab import Authenticate

Authenticate()
```
Note that any usage of the API key should take place in a later cell. The user must complete the
authentication flow before the `PINECONE_API_KEY` environment variable can be used.
```py
from pinecone import Pinecone

api_key = os.environ.get('PINECONE_API_KEY')
pinecone_client = Pinecone(api_key=api_key)

# ... proceed to use pinecone_client to create indexes, upload data, query, etc.
```
##### source_tag
The `Authenticate` function has an optional `source_tag` parameter. Pinecone partners should set
this value to receive attribution credit for users of their notebooks who signup to Pinecone.
```py
from pinecone_notebooks.colab import Authenticate

Authenticate(source_tag='MyAwesomeApp')
```

## Jupyter
Coming soon!

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.pinecone.io",
    "name": "pinecone-notebooks",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "Pinecone, vector, database, cloud, jupyter, colab, notebooks",
    "author": "Pinecone Systems, Inc.",
    "author_email": "support@pinecone.io",
    "download_url": null,
    "platform": null,
    "description": "# Pinecone helpers for notebooks\nThis package contains helper functions for working with Pinecone in the context of a Jupyter or\nGoogle Colab notebook.\n\n## Google Colab\n### Authenticate\nThis helper function displays a widget to allow the user to authenticate with Pinecone. Once the\nuser authenticates, they are prompted to select the Pinecone organization and project that they want\nto grant access to. An API key is then generated and set as the environment variable\n`PINECONE_API_KEY`.\n#### Usage\nTo display the authentication widget:\n```py\nfrom pinecone_notebooks.colab import Authenticate\n\nAuthenticate()\n```\nNote that any usage of the API key should take place in a later cell. The user must complete the\nauthentication flow before the `PINECONE_API_KEY` environment variable can be used.\n```py\nfrom pinecone import Pinecone\n\napi_key = os.environ.get('PINECONE_API_KEY')\npinecone_client = Pinecone(api_key=api_key)\n\n# ... proceed to use pinecone_client to create indexes, upload data, query, etc.\n```\n##### source_tag\nThe `Authenticate` function has an optional `source_tag` parameter. Pinecone partners should set\nthis value to receive attribution credit for users of their notebooks who signup to Pinecone.\n```py\nfrom pinecone_notebooks.colab import Authenticate\n\nAuthenticate(source_tag='MyAwesomeApp')\n```\n\n## Jupyter\nComing soon!\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Helpers for using Pinecone with notebooks",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://pinecone.io/docs",
        "Homepage": "https://www.pinecone.io"
    },
    "split_keywords": [
        "pinecone",
        " vector",
        " database",
        " cloud",
        " jupyter",
        " colab",
        " notebooks"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b833d0eff668327fbfc844037790351e01260c697f70574d7bcf6167e6f3e4c",
                "md5": "ac32ee1ca40cec3056261fbc7ff9dca1",
                "sha256": "6f5eb0b163fe7d50e3ef61d4fe2e0a6d5c15b762214c5f756979adf7a44f7762"
            },
            "downloads": -1,
            "filename": "pinecone_notebooks-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac32ee1ca40cec3056261fbc7ff9dca1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 7294,
            "upload_time": "2024-05-20T17:14:28",
            "upload_time_iso_8601": "2024-05-20T17:14:28.399467Z",
            "url": "https://files.pythonhosted.org/packages/2b/83/3d0eff668327fbfc844037790351e01260c697f70574d7bcf6167e6f3e4c/pinecone_notebooks-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-20 17:14:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pinecone-notebooks"
}
        
Elapsed time: 0.86489s