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

Uploaded Python 3

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 aed704a198de330600bc99ada69f38d932fc842c78813e658b42faa66b341e64
MD5 6b9c8cd03290fddaaef86744ee2dea05
BLAKE2b-256 770a29338de2fa15ac6b8a1d8f8d70acbbfa914a80c4dc4dfb5d66ab5ac936bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3a3b3a5718a02cc1b95314980cd9efa98fef150d4ff082836df7ddfb661534eb
MD5 5afd42cfa9035658692f0ed65f3d0512
BLAKE2b-256 2f8aeb137745b55d0993795741f5412fef2841dde0f7367a90afdadff7deface

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