使用方法 : from auto_fix import es
@es def main(): # 您的代码逻辑 print("开始执行主程序") # 故意引入一个错误 x = 1 / 0 print("程序执行完毕")
if name == 'main': main()
但是运行之前 请务必设置 : export OPENAI_API_KEY='your_openai_api_key' export DEEPSEEK_API_KEY='your_deepseek_api_key'
Deepseek ai 他们的ai 个人认为非常好.所以就使用了他们的 如果您不喜欢可以设置none 另外一个就是openai 的api
Metadata
Release files for auto-fix 1.2.5211
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| auto_fix-1.2.5211.tar.gz | 1.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auto_fix-1.2.5211-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 kB
Release files / auto_fix-1.2.5211.tar.gz
| Download URL | auto_fix-1.2.5211.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b80232c1d379aa5f96b84666b3111575c1a10128b9c596a25e469691b725be0
|
|
BLAKE2b-256 checksum How to use checksums |
163c4a4504bf125e6cebcf90edbb7131d9947b1605dcb5cb52ad0e660e334218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / auto_fix-1.2.5211-py3-none-any.whl
| Download URL | auto_fix-1.2.5211-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cbd9c3007f039f64926c8c0e5183cda4dee5e3e3bb6530e5291d7b395f29f4d
|
|
BLAKE2b-256 checksum How to use checksums |
afb902e9a8e94ffd2621bf61ac3827202d23edff970ea73f8b92d1639b590763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Security for auto-fix 1.2.5211
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.