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

Uploaded Python 3

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.3.tar.gz
  • Upload date:
  • Size: 2.9 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.3.tar.gz
Algorithm Hash digest
SHA256 403849e4a628bbd0936e08ea450648f1ba2d0bfa3e63a6293664572d87d2b3b1
MD5 380cd23c660692692b793790ba9fd268
BLAKE2b-256 d439d94bc1b06ddc4f41652c21d10f95bc9a21239e9e3a379f9671de88debef8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autopip_ninja_22-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e010d36bbaf63197d071daf013b7b0fcdac4ec05d57840773c2b432ada2150d3
MD5 7c43c0866767b1c3e0632d7646d59f82
BLAKE2b-256 1abfc799877a4dd7ac94db91e872b10a485a542a3d892f4b8e838082932bc2a4

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