GithubHelp home page GithubHelp logo

stack-analyzer's Introduction

Warestack Stack Analyzer

Purpose

This project is a library designed to analyze the technology stack of software projects hosted in repositories. By examining base files it determines the project's main programming languages, frameworks, runtime environments, and whether the project is Dockerized.

Expected Output

The analyzer should return an object detailing the analyzed tech stack of the provided repository. For example:

{
  "build_tools": ["Webpack"],
  "dependency_manager": "npm",
  "languages": ["JavaScript"],
  "framework": "Express",
  "dockerised": true
}

Importing the library

In case you want to use the analyzer in your python project you could install it via pip.

pip install stack-analyzer

Setting up your PAT token

The Stack Analyzer utilises the github API to analyze a repository's structure, so you it would require from you to generate a GitHub PAT token and then you would need to create a .env file on your project's root directory with the following content:

GITHUB_PAT=your_pat_token

Using the analyze_repository method

Then you could import the analyzer method in your python files as such:

from stack_analyzer.analyzer import analyze_repository

result = analyze_repository("https://github.com/example/repo")
print(result)

Contributing

If you consider contributing to the Stack Analyzer, make sure to check out our Contribution Guide and our Development Guide, for more information on how to run and test the project locally.

You are welcome to create your own analyzer, add a new feature, or look for our "Call For Contribution" @cfc comments in the codebase to contribute in extending existing analyzers.

stack-analyzer's People

Contributors

dimeloper avatar

Stargazers

 avatar  avatar Cesar Goncalves avatar

Watchers

 avatar Stelios Sotiriadis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.