Skip to main content

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:

  1. 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
  1. 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)

Source distribution for autopip-Ninja-22 0.9
File Size Uploaded
autopip_ninja_22-0.9.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autopip-Ninja-22 0.9
File Interpreter ABI Platform
autopip_ninja_22-0.9-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page