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.5.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.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 32bf59e191824d3ab8d7f0a8b2222ba2465b5d8b5d1215c691702e4392bd2b37
MD5 a2aa2f4e2613d0d11e328feddab1fabf
BLAKE2b-256 cd1e2edc6722ffd055e531b539f6705cd5e0f0bd38fd1d72e95d3186d3bbd7aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa1e928b926c6680f8eaf085236ac86793dc0532c1d8d00330eaff88508bc4c
MD5 733ea0d8a4a9eb471630117e0b8822e3
BLAKE2b-256 882bd1f7962c8c28cee8632394fb58d366560c979cc99bd57c449275638fb079

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