Skip to main content

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
    1. 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.txt kullanarak 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)

Uploaded Source

Built Distribution

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

getlibs-0.1.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for getlibs-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4f56541740d74271f691732f5e99b85828b90b5dd32782a747bb7446de67672b
MD5 e558693c0bba201a176774efff746c72
BLAKE2b-256 b840c833d45d566fe226653b84d27357c5d43d1247a021eec647507362d1da11

See more details on using hashes here.

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

Hashes for getlibs-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 52552563c91b48201b1fb1ad48abf961b3ff1258f8aef092ef7251a41527b03c
MD5 5c5fd059e46b61043c6897254953caa7
BLAKE2b-256 4cb7a5e73937f48220667b0d6edc7099ba9c1bf7aa43c928af0d080f663367f8

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