https://github.com/langchain-opentutorial/langchain-opentutorial-pypi
langchain opentutorial utility package for Open Tutorial
https://github.com/langchain-opentutorial/langchain-opentutorial-pypi
Last synced: 9 months ago
JSON representation
langchain opentutorial utility package for Open Tutorial
- Host: GitHub
- URL: https://github.com/langchain-opentutorial/langchain-opentutorial-pypi
- Owner: LangChain-OpenTutorial
- Created: 2024-12-19T15:52:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T09:02:20.000Z (over 1 year ago)
- Last Synced: 2024-12-31T10:17:48.818Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LangChain-OpenTutorial PyPi
- This is a package for LangChain-OpenTutorial.
## Package File Creation
1. Install Dependency Packages (First Time Only)
- Ensure that `setuptools` and `wheel` are up-to-date.
```bash
pip install --upgrade setuptools wheel
```
2. Create Package
- Move to the project root directory in the terminal and execute the following command:
```bash
python setup.py sdist bdist_wheel
```
- This command generates distribution-ready package files (.tar.gz and .whl) in the `dist/` directory.
3. Test Package Installation
- Install the generated package locally for testing.
```bash
pip install dist/langchain_opentutorial-0.0.0-py3-none-any.whl
```
- After local testing, upload the package to PyPI using `twine`.
4. Install `twine`
- Install `twine` to upload the package to PyPI.
```bash
pip install twine
```
5. Upload to PyPI
- Use `twine` to upload the package to PyPI.
```bash
twine upload dist/*
```
- A PyPI account is required, and login credentials will be needed.