Python package to analyze compliance with fair-software.eu recommendations
Project description
Python package to analyze a GitHub repository’s compliance with the fair-software.eu recommendations.
Install
# while the package has not been released on PyPI yet, install with
pip3 install --user git+https://github.com/fair-software/howfairis
Afterwards check that the install directory was added to the PATH environment variable. You should then be able to call the executable, like so:
howfairis https://github.com/owner/repo # Linux | Mac
howfairis.exe https://github.com/owner/repo # Windows
Expected output
Depending on for which repository you are doing the analysis, the output looks something like this:
Checking compliance with fair-software.eu...
Running for https://github.com/fair-software/badge-test
(1/5) repository
has_open_repository: true
(2/5) license
has_license: true
(3/5) registry
has_pypi_badge: true
has_conda_badge: false
has_bintray_badge: false
is_on_github_marketplace: false
(4/5) citation
has_zenodo_badge: true
has_citationcff_file: false
has_citation_file: false
has_zenodo_metadata_file: false
has_codemeta_file: false
(5/5) checklist
has_core_infrastructures_badge: true
has_sonarcloud_badge: false
Calculated compliance: ● ● ● ● ●
Expected badge is equal to the actual badge. It's all good.
Development install
# Create a virtualenv, e.g. with
python3 -m virtualenv -p python3 venv3
# activate virtualenv
source venv3/bin/activate
# (from the project root directory)
# install howfairis as an editable package
pip install --editable .
pip install --editable .[dev]
Afterwards check that the install directory was added to the PATH environment variable. You should then be able to call the executable, like so:
howfairis https://github.com/owner/repo # Linux | Mac
howfairis.exe https://github.com/owner/repo # Windows
For maintainers
Bumping the version across all files is done with bump2version, e.g.
bump2version minor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file howfairis-0.4.0.tar.gz
.
File metadata
- Download URL: howfairis-0.4.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e0da6d383b05571a62227a02b27ed7863ce9c21a77a1a8c700b2bc2ef098be |
|
MD5 | 1211d36a55f4a101bacea8a50eabf27d |
|
BLAKE2b-256 | e89a57bde6ee8ee0cb17a053cde6eef3adb840031609b5d2995cf28cb316d666 |