https://github.com/ai4os/ai4-template
Minimal Template for AI4OS Hub modules
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.4%) to scientific vocabulary
Repository
Minimal Template for AI4OS Hub modules
Basic Info
Statistics
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
AI4OS Hub Modules Template (minimal)
For users
This is a minimal template for developing new modules in the AI4OS Platform. It uses Cookiecutter to generate the templates. This template is based on the Cookiecutter Data Science template.
This repository provides a minimal version of the AI4OS Hub template: Simple, minimal template, with the minimum requirements to integrate your AI model in AI4OS Hub.
There are other versions of the template:
advanced: this is a more advanced template. It makes more assumptions on how to structure projects and adds more files. If you want to integrate an already existing AI code, which you still want to keep in a separate repository, this template is for you.
child-module: this template specifically tailors to users performing a retraining of an existing at AI4OS-Hub module. It only creates a Docker repo whose container is based on an existing module's Docker image.
To create a new template of your project, either
install cookiecutter and run it with this template:
bash pip install cookiecutter cookiecutter https://github.com/ai4os/ai4-template.gitOR visit our Templates Hub service: https://templates.cloud.ai4eosc.eu/ and select the template
Once you answer all the questions, your repository <your-project> with the python package <your_project> will be created.
This is what the folder structures look like:
```
│
├── Dockerfile <- Describes main steps on integration of DEEPaaS API and
│
├── tests/ <- Scripts to perfrom code testing
|
├── metadata.json <- Metadata information propagated to the AI4OS Hub
│
├── pyproject.toml <- a configuration file used by packaging tools, so pip install -e .
│
├── requirements.txt <- The requirements file for reproducing the analysis environment, i.e.
│ contains a list of packages needed to make
```
More extended documentation can be found here. If you want to look at a minimal app using this template structure check demo_app.
For developers
Once you update the template, please, update this README.md and VERSION file with the corresponging, incremented version following SymVer specs.
Once commited, please, verify in the remote repository that the entry "__ai4_template" in the cookiecutter.json file was updated properly by the GitHub Action. The convention for the "__ai4_template" entry is to provide the template repository name, slash '/' closest version of the template, i.e. it should look like:
"__ai4_template": "ai4-template/2.1.0"
OR
"__ai4_template": "ai4-template-adv/2.1.0"
OR
"__ai4_template": "ai4-template-child/2.1.0"
Owner
- Name: AI4OS
- Login: ai4os
- Kind: organization
- Email: ai4eosc-po@listas.csic.es
- Website: http://ai4eosc.eu
- Twitter: AI4EOSC
- Repositories: 1
- Profile: https://github.com/ai4os
AI4OS is the software powering the AI4EOSC platform
GitHub Events
Total
- Issues event: 7
- Issue comment event: 4
- Push event: 8
- Pull request event: 3
- Create event: 2
Last Year
- Issues event: 7
- Issue comment event: 4
- Push event: 8
- Pull request event: 3
- Create event: 2
Dependencies
- indigodatacloud/ci-images python3.8
- {{ latest build
- cookiecutter *
- mkdocs *
- mkdocs-cinder *
- pytest *
- bandit >=1.1.0 test
- coverage * test
- flake8 * test
- pytest * test
- pytest-cov * test
- testtools >=1.4.0 test
- deepaas >=2.1.0
- webargs *