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
pandasfor easy and efficient data manipulation. - Numerical Computations: Leverage
numpyfor 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:
pip install poetry
Then, create a new project and add the necessary dependencies:
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:
# 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:
-
Configure Poetry: Add your PyPI token to Poetry configuration.
poetry config pypi-token.pypi pypi-<TOKEN_HERE>
-
Build the Project: Build your project using Poetry.
poetry build
-
Publish the Project: Publish your project to PyPI.
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 file for details.
Contact
For any questions or inquiries, please contact [Yiqiao Yin] at [eagle0504@gmail.com].
Metadata
Release files for wyn-template-library 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wyn_template_library-0.1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wyn_template_library-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / wyn_template_library-0.1.1.tar.gz
| Download URL | wyn_template_library-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d612010f7918084d88e555fe8cd58145ad2ce7a554a5cc19e41660493ea0561
|
|
BLAKE2b-256 checksum How to use checksums |
83d0dbc5a90bfe88fc92a5a6b693e55648aa8d1b79efcd37db18a9a3cf3caa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.1 Windows/10
|
Release files / wyn_template_library-0.1.1-py3-none-any.whl
| Download URL | wyn_template_library-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
453a73076df6e9f864b67e6261fced2f266084265f3568dab0925c3ce5185145
|
|
BLAKE2b-256 checksum How to use checksums |
2fe529065f3a88937c7c0db07c13c00593e2bacd4f99fe8f7cd29c68087c96d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.1 Windows/10
|