hamel


Namehamel JSON
Version 0.0.16 PyPI version JSON
download
home_pagehttps://github.com/hamelsmu/hamel
SummaryGeneral Utilities
upload_time2023-11-08 18:41:01
maintainer
docs_urlNone
authorHamel Husain
requires_python>=3.7
licenseApache Software License 2.0
keywords nbdev jupyter notebook python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # hamel

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

[Hamel’s](https://hamel.dev) python utilities for rapid development.

## Install

``` sh
pip install hamel
```

## How to use

``` python
!oai_list_models --owned openai --limit 15
```

    | Name                    | Created Dt   |
    |:------------------------|:-------------|
    | gpt-4                   | 2023-06-27   |
    | gpt-4-0314              | 2023-06-27   |
    | gpt-4-0613              | 2023-06-12   |
    | gpt-3.5-turbo-0613      | 2023-06-12   |
    | gpt-3.5-turbo-16k-0613  | 2023-05-30   |
    | gpt-3.5-turbo-16k       | 2023-05-10   |
    | tts-1                   | 2023-04-19   |
    | gpt-3.5-turbo-0301      | 2023-02-28   |
    | gpt-3.5-turbo           | 2023-02-28   |
    | whisper-1               | 2023-02-27   |
    | text-embedding-ada-002  | 2022-12-16   |
    | text-davinci-003        | 2022-11-27   |
    | curie-similarity        | 2022-04-28   |
    | babbage-search-document | 2022-04-28   |
    | ada-code-search-text    | 2022-04-28   |

``` python
!oai_new_func --help
```

    usage: oai_new_func [-h] [--name NAME] [--description DESCRIPTION] [--url URL]
                        [--email EMAIL]

    Generate minimal scaffolding for an OpenAI Plugin.

    options:
      -h, --help                 show this help message and exit
      --name NAME                the name of your app for the LLM, ex: `todo`. By
                                 default, this is inferred from the name of your git
                                 repo.
      --description DESCRIPTION  the description of your application that will be
                                 read by the LLM.
      --url URL                  The url of your function endpoint. (default:
                                 http://localhost:8000)
      --email EMAIL              The email associated with your app. By default this
                                 is inferred by git.

``` python
!fetch_site --help
```

    usage: fetch_site [-h] [--to_html] url output_dir

    Fetch content from the specified URL and save it to the given directory. Saves
    the content as a markdown file unless `to_html` is True.

    positional arguments:
      url         The site that you want to fetch documents from
      output_dir  The output directory to write documents to,

    options:
      -h, --help  show this help message and exit
      --to_html   Write output as HTML instead of markdown. (default: False)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hamelsmu/hamel",
    "name": "hamel",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "nbdev jupyter notebook python",
    "author": "Hamel Husain",
    "author_email": "hamel.husain@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d7/64/2f8c8573876fb80101cb5492937ba88279c87e3aa3c8d9e1447789831cc8/hamel-0.0.16.tar.gz",
    "platform": null,
    "description": "# hamel\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n[Hamel\u2019s](https://hamel.dev) python utilities for rapid development.\n\n## Install\n\n``` sh\npip install hamel\n```\n\n## How to use\n\n``` python\n!oai_list_models --owned openai --limit 15\n```\n\n    | Name                    | Created Dt   |\n    |:------------------------|:-------------|\n    | gpt-4                   | 2023-06-27   |\n    | gpt-4-0314              | 2023-06-27   |\n    | gpt-4-0613              | 2023-06-12   |\n    | gpt-3.5-turbo-0613      | 2023-06-12   |\n    | gpt-3.5-turbo-16k-0613  | 2023-05-30   |\n    | gpt-3.5-turbo-16k       | 2023-05-10   |\n    | tts-1                   | 2023-04-19   |\n    | gpt-3.5-turbo-0301      | 2023-02-28   |\n    | gpt-3.5-turbo           | 2023-02-28   |\n    | whisper-1               | 2023-02-27   |\n    | text-embedding-ada-002  | 2022-12-16   |\n    | text-davinci-003        | 2022-11-27   |\n    | curie-similarity        | 2022-04-28   |\n    | babbage-search-document | 2022-04-28   |\n    | ada-code-search-text    | 2022-04-28   |\n\n``` python\n!oai_new_func --help\n```\n\n    usage: oai_new_func [-h] [--name NAME] [--description DESCRIPTION] [--url URL]\n                        [--email EMAIL]\n\n    Generate minimal scaffolding for an OpenAI Plugin.\n\n    options:\n      -h, --help                 show this help message and exit\n      --name NAME                the name of your app for the LLM, ex: `todo`. By\n                                 default, this is inferred from the name of your git\n                                 repo.\n      --description DESCRIPTION  the description of your application that will be\n                                 read by the LLM.\n      --url URL                  The url of your function endpoint. (default:\n                                 http://localhost:8000)\n      --email EMAIL              The email associated with your app. By default this\n                                 is inferred by git.\n\n``` python\n!fetch_site --help\n```\n\n    usage: fetch_site [-h] [--to_html] url output_dir\n\n    Fetch content from the specified URL and save it to the given directory. Saves\n    the content as a markdown file unless `to_html` is True.\n\n    positional arguments:\n      url         The site that you want to fetch documents from\n      output_dir  The output directory to write documents to,\n\n    options:\n      -h, --help  show this help message and exit\n      --to_html   Write output as HTML instead of markdown. (default: False)\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "General Utilities",
    "version": "0.0.16",
    "project_urls": {
        "Homepage": "https://github.com/hamelsmu/hamel"
    },
    "split_keywords": [
        "nbdev",
        "jupyter",
        "notebook",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26c218aa5b17067c0f25b4daf622a95db7c4c25d751b6a86784379b6e634793c",
                "md5": "7b2c56c085bc15faa069ce658093c7fb",
                "sha256": "91a1b4f1756261e0d5d4aefc65a1dde7403dd5818ed863e46c6c64afd01646ba"
            },
            "downloads": -1,
            "filename": "hamel-0.0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7b2c56c085bc15faa069ce658093c7fb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 12224,
            "upload_time": "2023-11-08T18:40:59",
            "upload_time_iso_8601": "2023-11-08T18:40:59.747915Z",
            "url": "https://files.pythonhosted.org/packages/26/c2/18aa5b17067c0f25b4daf622a95db7c4c25d751b6a86784379b6e634793c/hamel-0.0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7642f8c8573876fb80101cb5492937ba88279c87e3aa3c8d9e1447789831cc8",
                "md5": "d39092362a9eb8237da790f788772f18",
                "sha256": "03587df5a3da60416177f22051e550edcd51446e1a5475c1aaedf3ef014f1743"
            },
            "downloads": -1,
            "filename": "hamel-0.0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "d39092362a9eb8237da790f788772f18",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12465,
            "upload_time": "2023-11-08T18:41:01",
            "upload_time_iso_8601": "2023-11-08T18:41:01.361327Z",
            "url": "https://files.pythonhosted.org/packages/d7/64/2f8c8573876fb80101cb5492937ba88279c87e3aa3c8d9e1447789831cc8/hamel-0.0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-08 18:41:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hamelsmu",
    "github_project": "hamel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hamel"
}
        
Elapsed time: 0.31461s