https://github.com/aiidateam/aiida-diff

AiiDA demo plugin that computes the difference between two files.

https://github.com/aiidateam/aiida-diff

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords

aiida-plugin

Keywords from Contributors

rabbitmq aiida quantum-espresso visualisation
Last synced: 9 months ago · JSON representation

Repository

AiiDA demo plugin that computes the difference between two files.

Basic Info
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 10
  • Open Issues: 1
  • Releases: 1
Topics
aiida-plugin
Created almost 8 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

Build Status Coverage Status Docs status PyPI version

aiida-diff

AiiDA demo plugin that wraps the diff executable for computing the difference between two files.

This plugin is the default output of the AiiDA plugin cutter, intended to help developers get started with their AiiDA plugins.

Repository contents

See also the following video sequences from the 2019-05 AiiDA tutorial:

For more information, see the developer guide of your plugin.

Features

  • Add input files using SinglefileData: python SinglefileData = DataFactory('core.singlefile') inputs['file1'] = SinglefileData(file='/path/to/file1') inputs['file2'] = SinglefileData(file='/path/to/file2')

  • Specify command line options via a python dictionary and DiffParameters: python d = { 'ignore-case': True } DiffParameters = DataFactory('diff') inputs['parameters'] = DiffParameters(dict=d)

  • DiffParameters dictionaries are validated using voluptuous. Find out about supported options: python DiffParameters = DataFactory('diff') print(DiffParameters.schema.schema)

Installation

shell pip install aiida-diff verdi quicksetup # better to set up a new profile verdi plugin list aiida.calculations # should now show your calclulation plugins

Usage

Here goes a complete example of how to submit a test calculation using this plugin.

A quick demo of how to submit a calculation: shell verdi daemon start # make sure the daemon is running cd examples ./example_01.py # run test calculation verdi process list -a # check record of calculation

The plugin also includes verdi commands to inspect its data types: shell verdi data diff list verdi data diff export <PK>

Development

shell git clone https://github.com/aiidateam/aiida-diff . cd aiida-diff pip install --upgrade pip pip install -e .[pre-commit,testing] # install extra dependencies pre-commit install # install pre-commit hooks pytest -v # discover and run all tests

See the developer guide for more information.

License

MIT

Owner

  • Name: AiiDA team
  • Login: aiidateam
  • Kind: organization

The development team of AiiDA

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 47
  • Total Committers: 4
  • Avg Commits per committer: 11.75
  • Development Distribution Score (DDS): 0.106
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Leopold Talirz l****z@g****m 42
Chris Sewell c****l@h****m 3
Sebastiaan Huber m****l@s****t 1
Katrin Leinweber 9****r 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 39
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 2 days
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.15
  • Merged pull requests: 35
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ltalirz (2)
  • greschd (1)
  • AmberLEE123456 (1)
Pull Request Authors
  • ltalirz (35)
  • chrisjsewell (3)
  • sphuber (1)
  • katrinleinweber (1)
  • agoscinski (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 71 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 6
  • Total maintainers: 3
pypi.org: aiida-diff

AiiDA demo plugin that wraps the `diff` executable for computing the difference between two files.

  • Versions: 6
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 71 Last month
Rankings
Dependent packages count: 4.7%
Forks count: 11.9%
Average: 18.4%
Dependent repos count: 21.7%
Downloads: 25.9%
Stargazers count: 27.8%
Maintainers (3)
Last synced: 9 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • postgres 10 docker
  • rabbitmq latest docker
.github/workflows/publish-on-pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
pyproject.toml pypi
  • aiida-core >=2.5,<3
  • voluptuous *