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.7.tar.gz (3.3 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.7-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.7.tar.gz
  • Upload date:
  • Size: 3.3 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.7.tar.gz
Algorithm Hash digest
SHA256 3d60880ce014c6bbe05da5f49647d7114a43f523cbc039d9519b1510ed0543ca
MD5 e0ac9eff097b6e0613b60d65cac268f0
BLAKE2b-256 a9158df758565ebb4792391265ef20567ff4fecaba27cfab32f2f553a4298947

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 403ac3e79914ee04b8e03e9b6a988adc87a336f18dd9871555139da5527b3df7
MD5 ff9b0e86f05a24c2a2471bee4077004e
BLAKE2b-256 eddefd70dd8533aec8262858bfbbe5233882996ebb275f48605eb94391b558ec

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