Skip to main content

Peek extension and show respective sources

Project description

peeksrc
+++++++

Peek into the sources and list the file types contained in the sources.
Also, enable display the sources in tree format.

Purpose
=======

This tool can be used as the first step for source code reading and
understand the basic design.
* What are the different file types in the sources.
* To understand file interface design.
* Walk over specific extenstion on all directories.
* Show directories and files with max depth level.
* Generate header file path for doxygen

Interface
=========

commandline
-----------
peeksrc
-e [list] : Extension Lists
-g group : Extension group
-l level : File/Directory Level depth
-u : All unknown files
-p : List File extension Paths
-d : Destination Dir
-t : Directory Tree Structure
-o : Output File

API
---

source = peeksrc()
source.showextn()

Logging and Reporting
=====================

Console Logs and formatting
Generate HTML report
Generate Doxy tool input
Generate files to pipe

DataStructures
==============

Data Associations
File Extens -> Files
File Extens -> Paths
Directory -> File Extens -> Files

Data Structure

dirtree = ['dir1', "dir1", ..., ]

ExtnNodes = {
"group1" : {
'extn1' : {
'desc' : "Description",
'files' :
{ 'dir1' : [file1, file2, file3, ...]
'dir2' : [file1, file2, file3, ...]
}
}
'extn2' : {
'descr' : "Description",
'files' :
{ 'dir1' : [file1, file2, file3, ...]
'dir2' : [file1, file2, file3, ...]
}
}
}

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

peekextn-0.74.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

peekextn-0.74.linux-x86_64.exe (68.3 kB view details)

Uploaded Source

File details

Details for the file peekextn-0.74.tar.gz.

File metadata

  • Download URL: peekextn-0.74.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for peekextn-0.74.tar.gz
Algorithm Hash digest
SHA256 be1997642e552d0bb5ce9331d585c5924db45bd46ebfc045123be0ccf878755f
MD5 bf73f1880135f36f2a1f239706ed970f
BLAKE2b-256 15185f349c606794f9bbf9ffa4b26ea0f11dba5b34adedc776a21ae1127c24a7

See more details on using hashes here.

File details

Details for the file peekextn-0.74.linux-x86_64.exe.

File metadata

File hashes

Hashes for peekextn-0.74.linux-x86_64.exe
Algorithm Hash digest
SHA256 9b8eb50c19307651a5b6a7d27f4f35e56488313187d65784f541c9c15d738ac4
MD5 4c214754797bbbff5e955a992506c871
BLAKE2b-256 e884a827adb9e2b84a73c34d53927b311a0839a561cc4827d4d864519902e5c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page