AutoPIP
Python modüllerini otomatik yükleyen kütüphane. Import edilen modüller eksikse otomatik olarak pip ile yükleme yapar.
Kurulum
pip install autopip-Ninja-22
Kullanım
İki farklı kullanım şekli var:
- Kod çalışırken otomatik yükleme:
import autopip
autopip.watch() # Bu satırı kodunuzun başına ekleyin
# Artık eksik modüller otomatik yüklenecek
import pandas # pandas yüklü değilse otomatik yüklenir
- Belirli bir kod parçası için yükleme:
import autopip
kod = """
import pandas
import numpy
"""
# Eksik modülleri yükle
yuklenenler = autopip.auto_install(kod)
print("Yüklenen modüller:", yuklenenler)
Özellikler
- Python kodundaki import ifadelerini otomatik tespit eder
- Eksik modülleri pip ile otomatik yükler
- Standart kütüphane modüllerini yüklemeye çalışmaz
- İki farklı kullanım modu (watch ve auto_install)
Lisans
MIT License
Metadata
Release files for autopip-Ninja-22 0.9
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 | Actions |
|---|---|---|---|---|
| autopip_ninja_22-0.9.tar.gz | 3.9 kB | Without provenance | Details for autopip_ninja_22-0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autopip_ninja_22-0.9-py3-none-any.whl | Python 3 | none | any | Details for autopip_ninja_22-0.9-py3-none-any.whl |
Total release size: 7.9 kB
Release files / autopip_ninja_22-0.9.tar.gz
| Download URL | autopip_ninja_22-0.9.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ee7bc341a838e1ec71b6611dd6c31f4aa9bffedb59bf5945f23265a1ca13fb6
|
|
BLAKE2b-256 checksum How to use checksums |
8709f69a5370783d322a8fa95138d393c0e18957a93e711a30984d0add67d8d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / autopip_ninja_22-0.9-py3-none-any.whl
| Download URL | autopip_ninja_22-0.9-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a188e9ac17089e56f85d4d5469a847abd886b4d4d3a6577e2be708d4919710a
|
|
BLAKE2b-256 checksum How to use checksums |
8d9de46932c8ee77cb6bebba7cb4d1e68c3e69e7b2e004000a80e9dcfd1f0515
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for autopip-Ninja-22 0.9
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.