pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/SoftwareObservatorium/analyzer-python

ets.com/assets/github-cf976967feea1e66.css" /> GitHub - SoftwareObservatorium/analyzer-python: Code corpus creation for python code for the LASSO Platform. · GitHub
Skip to content

SoftwareObservatorium/analyzer-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy