CognxCore


NameCognxCore JSON
Version 0.26 PyPI version JSON
download
home_pageNone
SummaryA small gemini-python package for Cognito or Cogni.
upload_time2024-06-27 09:31:57
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CognxCore
Google Gemini api python package

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install CognxCore.

```bash
pip install CognxCore
```

## Usage

```python
import CognxCore

#Google Gemini API Key
api_key = input("Enter your API key: ")
ai = CognxCore(api_key)

#Prompt and response
prompt = input("Enter your prompt: ")
response = ai.generate_content(prompt)
print(response)

```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "CognxCore",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Conradium <leiconrad5@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/f1/32/f5c378a0dbe05e1052837bd5353cd98d76c6f6b1e3a69d3f9f200eabb448/cognxcore-0.26.tar.gz",
    "platform": null,
    "description": "# CognxCore\r\nGoogle Gemini api python package\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install CognxCore.\r\n\r\n```bash\r\npip install CognxCore\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nimport CognxCore\r\n\r\n#Google Gemini API Key\r\napi_key = input(\"Enter your API key: \")\r\nai = CognxCore(api_key)\r\n\r\n#Prompt and response\r\nprompt = input(\"Enter your prompt: \")\r\nresponse = ai.generate_content(prompt)\r\nprint(response)\r\n\r\n```\r\n\r\n## Contributing\r\n\r\nPull requests are welcome. For major changes, please open an issue first\r\nto discuss what you would like to change.\r\n\r\nPlease make sure to update tests as appropriate.\r\n\r\n## License\r\n\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A small gemini-python package for Cognito or Cogni.",
    "version": "0.26",
    "project_urls": {
        "Homepage": "https://github.com/Conradium/CogniCore",
        "Issues": "https://github.com/Conradium/CogniCore/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f132f5c378a0dbe05e1052837bd5353cd98d76c6f6b1e3a69d3f9f200eabb448",
                "md5": "9042ee3b8e5a33a0b19edbca76cac73b",
                "sha256": "ff2ada17bf306016aff49e81d45f90dd7a0faedb0548c40753ae614cd28d69ce"
            },
            "downloads": -1,
            "filename": "cognxcore-0.26.tar.gz",
            "has_sig": false,
            "md5_digest": "9042ee3b8e5a33a0b19edbca76cac73b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3475,
            "upload_time": "2024-06-27T09:31:57",
            "upload_time_iso_8601": "2024-06-27T09:31:57.123622Z",
            "url": "https://files.pythonhosted.org/packages/f1/32/f5c378a0dbe05e1052837bd5353cd98d76c6f6b1e3a69d3f9f200eabb448/cognxcore-0.26.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-27 09:31:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Conradium",
    "github_project": "CogniCore",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cognxcore"
}
        
Elapsed time: 2.55830s