Skip to main content

Automatic dependency installer for Python scripts

Project description

🚀 autopip

نصب‌کننده‌ی هوشمند کتابخانه‌های پایتون

دیگه لازم نیست دنبال خطای ModuleNotFoundError بدوی!
لیب autopip خودش همه‌ی وابستگی‌ها رو پیدا و نصب می‌کنه ✨

✨ چرا autopip؟

  • 🔍 تشخیص خودکار ایمپورت‌ها از سورس‌کد
  • 🧠نگاشت هوشمند ماژول→ پکیج (مثلاً cv2 → opencv-python)
  • نصب خودکار requirements.txt در صورت وجود
  • 🤫حالت silent بدون اسپم اضافی
  • 🎨 خروجی رنگی و مرحله‌ای برای تجربه‌ی کاربری بهتر
  • 📝 لاگ‌گیری ساده برای بررسی بعدی

⚡ نصب سریع

pip install autopip

🎯 استفاده

اجرای مستقیم به عنوان ماژول:

import autopip
import requests
import numpy as np

وقتی اجرا کنی خروجیش میشه این:

🔎 Libraries detected:
- requests
- numpy

📦 Installing missing libraries...
✔ requests installed
✔ numpy installed

✅ All libraries are ready!

توجه⚠️: حتما باید قبل از همه کتابخانه ها و در لاین1 ایمپورت شه تا درست کار کنه

🛠 امکانات CLI

- اجرای روی فایل خاص:

  autopip myscript.py

- حالت silent:

  autopip myscript.py --silent

- لاگ‌ها داخل فایل autopip.log ذخیره می‌شن.

📜 مجوز

این پروژه تحت مجوز MIT منتشر شده.

❤️ سازنده

FrameworkPython – با عشق برای جامعه‌ی پایتون

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

pyautopip-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

pyautopip-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pyautopip-0.1.0.tar.gz.

File metadata

  • Download URL: pyautopip-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.6.50-android15-8-gf4d86b214f24-ab13441063-4k

File hashes

Hashes for pyautopip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9b7deb243c653319fc1a78383d7a267173a656cdd63f19024b6cee16cd6a019
MD5 563952605143eb4ba3c8b91981fc5a4b
BLAKE2b-256 a3cc15c02e755bc51f5ed69b99c7625d92c8cbdb331817e88663680293d66815

See more details on using hashes here.

File details

Details for the file pyautopip-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyautopip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.6.50-android15-8-gf4d86b214f24-ab13441063-4k

File hashes

Hashes for pyautopip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7304b1ae4c6711b580faf4b16b016aab1572b5c5c89044e515dbd1b557f45d8
MD5 9668d8096901cdf1d0d6cff8e3d0da7a
BLAKE2b-256 7ffc8c544aaf58a83d8db6e54d6315ba6ae2fcd47c8b958f2ec761e452add6f5

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