semvec/pypi-packages huggingface dataset:
topmenz 1.1
topmenz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
dipneumonesz 1.1
dipneumonesz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
tacitz 1.1
tacitz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
francophilz 1.1
francophilz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
gipsyfyz 1.1
gipsyfyz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
easy-ernie 1.0.1
简洁的调用文心一言的WebAPI
License: MIT
Requires Python: >=3.8

## Easy-Ernie原仓库误删,新建的
## 提示
1. 有封号风险.
2. 由于文心一言的Acs-Token算法的参数不定时的变化,所以包里调用了API.感兴趣的或有自动更新方法的可以联系我.
3. 若出现了`用户访问被限制`请到[Isuue](https://github.com/XiaoXinYo/Easy-Ernie/issues/1)回复,我会及时更新Acs-Token算法的参数.
---
![Release](https://img.shields.io/badge/Release-1.0.1-blue)
---
## 介绍
简洁的调用文心一言的WebAPI.
## 需求
1. 语言: Python3.8+.
2. 其他: 文心一言账户.
## 安装
`pip install easy-ernie --upgrade`
## Cookie
![图片1](https://s1.ax1x.com/2023/04/26/p9KDUYR.md.png)
1. 访问[文心一言](https://yiyan.baidu.com).
2. 打开开发者工具.
3. 找到应用程序(Application).
4. 在左侧点击存储(Storage)-Cookies-https://yiyan.baidu.com.
5. 在列表中点击BAIDUID.
6. 复制下方Value的值.
7. BDUSS_BFESS同理.
## 示例
### Ernie
```python
from easy_ernie import Ernie

if __name__ == '__main__':
    ernie = Ernie('BAIDUID', 'BDUSS_BFESS')
    sessionName = '你好'
    response1 = ernie.ask('你好', sessionName=sessionName)
    print(response1.answer)
    response2 = ernie.ask('我给你发的上一条消息是什么', sessionId=response1.sessionId, sessionName=sessionName, parentChatId=response1.botChatId)
    print(response2.answer)
    ernie.deleteSession(response1.sessionId)
```
### FastErinie
```python
from easy_ernie import FastErnie

if __name__ == '__main__':
    fastErnie = FastErnie('BAIDUID', 'BDUSS_BFESS')
    print(fastErnie.ask('你好').answer)
    print(fastErnie.ask('我给你发的上一条消息是什么').answer)
    fastErnie.close()
```
更多方法查看[Wiki](https://github.com/XiaoXinYo/Easy-Ernie/wiki).
## 感谢
灵感来源自[acheong08](https://github.com/acheong08),[ls233](https://github.com/lss233).
scapementz 1.1
scapementz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
berylatez 1.1
berylatez
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
fixupsz 1.1
fixupsz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
airstripsz 1.1
airstripsz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
escallopsz 1.1
escallopsz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
scabiousz 1.1
scabiousz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```