This is a template python library.
Project description
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
:
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].
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wyn_template_library-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d612010f7918084d88e555fe8cd58145ad2ce7a554a5cc19e41660493ea0561 |
|
MD5 | 6daac63bf1c239c49ce8c44143eecf22 |
|
BLAKE2b-256 | 83d0dbc5a90bfe88fc92a5a6b693e55648aa8d1b79efcd37db18a9a3cf3caa97 |
Hashes for wyn_template_library-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453a73076df6e9f864b67e6261fced2f266084265f3568dab0925c3ce5185145 |
|
MD5 | bada43a49c8333fdab4592ba8fe77784 |
|
BLAKE2b-256 | 2fe529065f3a88937c7c0db07c13c00593e2bacd4f99fe8f7cd29c68087c96d6 |