GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SoftwareObservatorium/analyzer-python: Code corpus creation for python code for the LASSO Platform.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
analyzer
analyzer
 
 
testdata/basic/examples
testdata/basic/examples
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.MD
README.MD
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Analyzer for Python

Code corpus creation for python code for the LASSO Platform.

Implementation of analyzer for Python code.

Install

Assumes Python3 >= 3.12 (tested with Ubuntu 24.04 LTS)

Using pip

Example using Python's virtual environment (you need to have virtualenv installed; e.g. using pip)

pip3 install virtualenv # depending on your OS/Python distribution

Clone and install all required dependencies

git clone https://github.com/SoftwareObservatorium/arena-python.git
python3 -m venv arena
source arena/bin/activate
cd arena-python/

Install packages

pip3 install -r requirements.txt

Usage: Docker

Build

docker build -t swtrepo.informatik.uni-mannheim.de:5050/docker/lasso/analyzer-python:latest -f Dockerfile .

Run on ony project directory

docker run -v "$PWD":/project swtrepo.informatik.uni-mannheim.de:5050/docker/lasso/analyzer-python:latest \
    --solrurl http://localhost:8983/solr/lasso_quickstart/update/json/docs \
    --projectroot=/project --batchsize=50 --meta meta_project_category=python \
    --meta meta_customfield=foo \
    --solruser mysolruser \
    --solrpass mysolrpass

Example (no user/pass)

# --network host -> access solr running in container
docker run --network host -v "$PWD":/project swtrepo.informatik.uni-mannheim.de:5050/docker/lasso/analyzer-python:latest \
    --solrurl http://localhost:8983/solr/lasso_quickstart/update/json/docs \
    --projectroot=/project --batchsize=50 --meta meta_project_category=python \
    --meta meta_customfield=foo

About

Code corpus creation for python code for the LASSO Platform.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.