Skip to main content

Anubis

Anubis, a codemetrics tool.

You can read more about anubisgit on the internal docummentation page page.

Work in progress

Today, Anubis is essentially the script timemachine.py. the time machine is a loop can spawn various versions of a code from its gitbase, and perform analysis on it

Installation

Anubis I under fast development, and we do not update PiPY very often. For a quick installation in a simplified virtual environment

python3 -m venv venv_anubisgit
source venv_anubisgit/bin/activate
python -m pip install 'anubisgit @ git+https://gitlab.com/cerfacs/anubisgit.git'

You can obiously install it from the sources available on gitlab.com

main Usage

For now , there is a minimal CLI, limited to the execution of the time machine of Anubis Type >anubisgit to see what is available :

 >anubisgit
Usage: anubisgit [OPTIONS] COMMAND [ARGS]...

  Package anubisgit v0.7.0

  ---------------    Anubis  --------------------

      You are now using the Command line interface of anubisgit package,     a
      set of tools created at CERFACS (https://cerfacs.fr).

      This is a python package currently installed in your python
      environement.

Options:
  --help  Show this message and exit.

Commands:
  anew          Create a default input file in current folder.
  authors-list  Retrieve authors list from joined_commits_monthly.json
  branches      Analyze branch health
  chronology    Code geology
  complexity    Analyse code health
  join-db       Join Anubis database
  timemachine   Build anubisgit database

If your new to anubisgit, you can find a quick how to tutorial there

Good practice

Althought anubisgit timemachine cli command won't let you start a run if your repository is not clean. It is highly recommended to git clone the repository you want to analyze and have a repository for your work repository to avoid any unwanted behaviour or file deletion during the timemachine process.

Most common troubleshoots
  • Unclean repository
  • .gitignore
Acknowledgements

coec

This work has been initially supported by the COEC project which has received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No 952181 .

Metadata

Release files for anubisgit 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anubisgit 0.7.0
File Size Uploaded
anubisgit-0.7.0.tar.gz 52.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anubisgit 0.7.0
File Interpreter ABI Platform
anubisgit-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 112.3 kB

Release files / anubisgit-0.7.0.tar.gz

Download URL anubisgit-0.7.0.tar.gz
Size 52.1 kB
Tags Source
SHA-256 checksum
How to use checksums
be925eee24f20d4a76d2b7de5bad579e196c9c07219b5eb1258c81349e817c41
BLAKE2b-256 checksum
How to use checksums
7dc64ffe1f39e009d121073ed424fcc24f7192e0efc37b62e374b4d9ecb5e9fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / anubisgit-0.7.0-py3-none-any.whl

Download URL anubisgit-0.7.0-py3-none-any.whl
Size 60.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f156326e3565926612f890ee6cffc0fa6b243e68601274ee56aaa6cb4fdd4fc
BLAKE2b-256 checksum
How to use checksums
0235eda6d46ed5b7e39a5db04c8148e563d67d54a2b65feaf31b0b0db34a8c2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page