Python projeleri için dependency ve import analiz aracı
Project description
getlibs
getlibs, bir Python projesindeki tüm import ifadelerini analiz ederek:
- Yerel modülleri
- Built-in (standart kütüphane) modülleri
-
- parti (pip) paketleri
- Eksik / bilinmeyen import’ları
tespit eden bir dependency analiz aracıdır.
Özellikle:
- Mevcut bir projeden
requirements.txtçıkarmak - CI/CD süreçlerinde dependency denetimi yapmak
- Farklı Python ortamları için uyumluluk kontrolü yapmak
amacıyla tasarlanmıştır.
Özellikler
- 🔍 AST tabanlı gerçek import analizi (regex değil)
- 🧠
top_level.txtkullanarak import adı → pip paket adı eşlemesi - 🐍 Hedef Python executable üzerinden analiz (env farkı sorunu yok)
- 📄 4 farklı çıktı üretir:
- Detaylı TXT rapor
- CI uyumlu JSON
- Sadece kullanılan paketlerden
requirements.txt - Tüm ortamı kapsayan
constraints.txt
- 🧩 Yerel / built-in / 3. parti ayrımı net şekilde yapılır
Kurulum
pip3.13 install getlibs
cd /project/path/
getlibs --project-dir . --python-exec python3.13
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
getlibs-0.1.4.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getlibs-0.1.4.tar.gz.
File metadata
- Download URL: getlibs-0.1.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f56541740d74271f691732f5e99b85828b90b5dd32782a747bb7446de67672b
|
|
| MD5 |
e558693c0bba201a176774efff746c72
|
|
| BLAKE2b-256 |
b840c833d45d566fe226653b84d27357c5d43d1247a021eec647507362d1da11
|
File details
Details for the file getlibs-0.1.4-py3-none-any.whl.
File metadata
- Download URL: getlibs-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52552563c91b48201b1fb1ad48abf961b3ff1258f8aef092ef7251a41527b03c
|
|
| MD5 |
5c5fd059e46b61043c6897254953caa7
|
|
| BLAKE2b-256 |
4cb7a5e73937f48220667b0d6edc7099ba9c1bf7aa43c928af0d080f663367f8
|