wyn-template-library


Namewyn-template-library JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryThis is a template python library.
upload_time2024-06-22 03:40:09
maintainerNone
docs_urlNone
authorYiqiao Yin
requires_python<4.0,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WYN-Template-Library

## Overview

`WYN-Template-Library` is a Python library that leverages the power of `numpy`, `pandas`, `matplotlib`, and `openai` to provide robust data analysis and visualization capabilities. This library aims to simplify complex data processing tasks and help users visualize their data effectively.

## Features

- **Data Manipulation**: Use `pandas` for easy and efficient data manipulation.
- **Numerical Computations**: Leverage `numpy` for high-performance numerical computations.
- **Data Visualization**: Create stunning visualizations with `matplotlib`.

## Installation

To install the `WYN-Template-Library` library, you can use `poetry`. First, ensure you have `poetry` installed. If not, you can install it using `pip`:

```terminal
pip install poetry
```

Then, create a new project and add the necessary dependencies:

```terminal
poetry new WYN-Template-Library
cd WYNTemplate
poetry add numpy pandas matplotlib
```

## Usage

Here is a simple example of how to use `WYN-Template-Library`:

```python
# YOUR CODE HERE

# Install
! pip install wyn-template-library

# Inspect
ChatBot

# Grab your API key
from google.colab import userdata
OPENAI_API_KEY = userdata.get('OPENAI_API_KEY')

# Define bot
bot = ChatBot(
    OPENAI_API_KEY=OPENAI_API_KEY,
    PROTOCOL="You are a helpful assistant",
    MODEL="gpt-3.5-turbo"
)

# Try it out!
bot.generate_response("Tell me a joke")
# Sure! Here's a joke for you: Why did the scarecrow win an award? Because he was outstanding in his field!

bot.generate_response("My name is John, what's your name?")
# I'm just a virtual assistant, you can call me Assistant. How can I help you today, John?

bot.generate_response("What questions did I ask you?")
# You asked me to tell you a joke and you also told me your name is John. How can I assist you further, John?
```

## Publishing to PyPI

To publish your library to PyPI, follow these steps:

1. **Configure Poetry**: Add your PyPI token to Poetry configuration.

    ```terminal
    poetry config pypi-token.pypi pypi-<TOKEN_HERE>
    ```

2. **Build the Project**: Build your project using Poetry.

    ```terminal
    poetry build
    ```

3. **Publish the Project**: Publish your project to PyPI.

    ```terminal
    poetry publish
    ```

## Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contact

For any questions or inquiries, please contact [Yiqiao Yin] at [eagle0504@gmail.com].
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wyn-template-library",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Yiqiao Yin",
    "author_email": "eagle0504@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/83/d0/dbc5a90bfe88fc92a5a6b693e55648aa8d1b79efcd37db18a9a3cf3caa97/wyn_template_library-0.1.1.tar.gz",
    "platform": null,
    "description": "# WYN-Template-Library\n\n## Overview\n\n`WYN-Template-Library` is a Python library that leverages the power of `numpy`, `pandas`, `matplotlib`, and `openai` to provide robust data analysis and visualization capabilities. This library aims to simplify complex data processing tasks and help users visualize their data effectively.\n\n## Features\n\n- **Data Manipulation**: Use `pandas` for easy and efficient data manipulation.\n- **Numerical Computations**: Leverage `numpy` for high-performance numerical computations.\n- **Data Visualization**: Create stunning visualizations with `matplotlib`.\n\n## Installation\n\nTo install the `WYN-Template-Library` library, you can use `poetry`. First, ensure you have `poetry` installed. If not, you can install it using `pip`:\n\n```terminal\npip install poetry\n```\n\nThen, create a new project and add the necessary dependencies:\n\n```terminal\npoetry new WYN-Template-Library\ncd WYNTemplate\npoetry add numpy pandas matplotlib\n```\n\n## Usage\n\nHere is a simple example of how to use `WYN-Template-Library`:\n\n```python\n# YOUR CODE HERE\n\n# Install\n! pip install wyn-template-library\n\n# Inspect\nChatBot\n\n# Grab your API key\nfrom google.colab import userdata\nOPENAI_API_KEY = userdata.get('OPENAI_API_KEY')\n\n# Define bot\nbot = ChatBot(\n    OPENAI_API_KEY=OPENAI_API_KEY,\n    PROTOCOL=\"You are a helpful assistant\",\n    MODEL=\"gpt-3.5-turbo\"\n)\n\n# Try it out!\nbot.generate_response(\"Tell me a joke\")\n# Sure! Here's a joke for you: Why did the scarecrow win an award? Because he was outstanding in his field!\n\nbot.generate_response(\"My name is John, what's your name?\")\n# I'm just a virtual assistant, you can call me Assistant. How can I help you today, John?\n\nbot.generate_response(\"What questions did I ask you?\")\n# You asked me to tell you a joke and you also told me your name is John. How can I assist you further, John?\n```\n\n## Publishing to PyPI\n\nTo publish your library to PyPI, follow these steps:\n\n1. **Configure Poetry**: Add your PyPI token to Poetry configuration.\n\n    ```terminal\n    poetry config pypi-token.pypi pypi-<TOKEN_HERE>\n    ```\n\n2. **Build the Project**: Build your project using Poetry.\n\n    ```terminal\n    poetry build\n    ```\n\n3. **Publish the Project**: Publish your project to PyPI.\n\n    ```terminal\n    poetry publish\n    ```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or inquiries, please contact [Yiqiao Yin] at [eagle0504@gmail.com].",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is a template python library.",
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2fe529065f3a88937c7c0db07c13c00593e2bacd4f99fe8f7cd29c68087c96d6",
                "md5": "bada43a49c8333fdab4592ba8fe77784",
                "sha256": "453a73076df6e9f864b67e6261fced2f266084265f3568dab0925c3ce5185145"
            },
            "downloads": -1,
            "filename": "wyn_template_library-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bada43a49c8333fdab4592ba8fe77784",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 2988,
            "upload_time": "2024-06-22T03:40:08",
            "upload_time_iso_8601": "2024-06-22T03:40:08.755082Z",
            "url": "https://files.pythonhosted.org/packages/2f/e5/29065f3a88937c7c0db07c13c00593e2bacd4f99fe8f7cd29c68087c96d6/wyn_template_library-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83d0dbc5a90bfe88fc92a5a6b693e55648aa8d1b79efcd37db18a9a3cf3caa97",
                "md5": "6daac63bf1c239c49ce8c44143eecf22",
                "sha256": "1d612010f7918084d88e555fe8cd58145ad2ce7a554a5cc19e41660493ea0561"
            },
            "downloads": -1,
            "filename": "wyn_template_library-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6daac63bf1c239c49ce8c44143eecf22",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 2631,
            "upload_time": "2024-06-22T03:40:09",
            "upload_time_iso_8601": "2024-06-22T03:40:09.904567Z",
            "url": "https://files.pythonhosted.org/packages/83/d0/dbc5a90bfe88fc92a5a6b693e55648aa8d1b79efcd37db18a9a3cf3caa97/wyn_template_library-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-22 03:40:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wyn-template-library"
}
        
Elapsed time: 0.27558s