Default template for PDM package
Project description
aimock
借助AI自动生成测试数据
快速开始
from mock import MockModel, Field
class User(MockModel):
name: str = Field(description="用户名")
age: int = Field(description="年龄")
email: str = Field(description="邮箱")
phone: str = Field(description="电话")
api_key = "xxx"
base_url = "xxx"
MockModel.init(api_key, base_url, model="gpt-3.5-turbo")
print(User.create())
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
amock-0.1.1.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
amock-0.1.1-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file amock-0.1.1.tar.gz.
File metadata
- Download URL: amock-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7931c37f8d53604d96e4037edd71be22a600c3a315f76da9e2c72766ebd9ccf2
|
|
| MD5 |
28c39b3a1591906288187d44ed03e9cb
|
|
| BLAKE2b-256 |
14da3ac52fe1b05978b0170136325f8bdd2a2efb13d236ebc709b792693424b3
|
File details
Details for the file amock-0.1.1-py3-none-any.whl.
File metadata
- Download URL: amock-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
207f2dc0ac417a0ac5b4150574dd948b28caf25fd7e44efe08d279637f45c892
|
|
| MD5 |
2f19fdbe32fdc0477aa959f401badda4
|
|
| BLAKE2b-256 |
c58be18c236286a5710f7fb718373e80ee4a87de16a5fadd6e49376fe87b015c
|