Skip to main content

Python modüllerini otomatik yükleyen kütüphane

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autopip_ninja_22-0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autopip_ninja_22-0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file autopip_ninja_22-0.1.tar.gz.

File metadata

  • Download URL: autopip_ninja_22-0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for autopip_ninja_22-0.1.tar.gz
Algorithm Hash digest
SHA256 776050678d21d45d0c50dbb90197298fac2ba712c1dd71d76f75d8ba33e36529
MD5 1796572553a577356a15e16a4f44388e
BLAKE2b-256 271026e18202ef974ac71ad8eff606bf8e9e58944999ee23cca23e748bd5b535

See more details on using hashes here.

File details

Details for the file autopip_ninja_22-0.1-py3-none-any.whl.

File metadata

  • Download URL: autopip_ninja_22-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for autopip_ninja_22-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23dec4e1f5d370101317eeda481b8202cb6efa3ee7e2b350788cd8afce8282e4
MD5 34dc9be1ab8ce7f0b33f80b78a75efae
BLAKE2b-256 432d9d77c3209b1bdeddccb87e1b2df202fe93684a12ea158197e06bd5ed6c20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page