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
pip install getlibs
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.1.tar.gz
(4.0 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.1.tar.gz.
File metadata
- Download URL: getlibs-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9453674a38646d86e324d97b6fea5424bc21b4d038546954a7feca9d7772763
|
|
| MD5 |
d27a78fc462764bdc006575196457935
|
|
| BLAKE2b-256 |
d1f3f18c6b27d9fcead6e17ba965267832866607b41074b10120bdacac7eccd8
|
File details
Details for the file getlibs-0.1.1-py3-none-any.whl.
File metadata
- Download URL: getlibs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 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 |
017f8b236fd4d89b25523558c17e5427046fb91405d04de34efc025cb2b206a8
|
|
| MD5 |
7990ee750133010fe6ce1fe1f97e994c
|
|
| BLAKE2b-256 |
8887d4aada47df510b0eab028ba34138854abc5932b62e8240ebfef80ce24f38
|