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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.1%) to scientific vocabulary
Repository
TDD Example
Basic Info
- Host: GitHub
- Owner: BorjaEst
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Size: 443 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
template-py
> WRITE HERE YOUR pROJECT DESCRIPTION <
📝 Table of Contents
About
Write here your Project about lines
This project aims to provide all the tools to start a python project. It includes utilities like:
- sqa Tools and tutorial to implement Software Quality Assurance based on EOSC Research Projects.
- TDD Tools and tutorial to develop using Test Driven Development.
- vscode basic configuration to run, containerize and debug python code with vscode.
- docs extended documentation folder template for sphinx with rst-cheatsheet and tutorials.
- GPLv3 this software is free licensed under GNU umbrella, we encourage you to reuse the license for your project.
- docker necessary tools to containerize your application with docker.
- setup tools configuration to build your python package.
- git with the necessary .gitignore file to keep clean your python python project repository.
- tox automation testing configuration template file to easily test your code and get rich pep8 and coverage reports.
Prerequisites
Write here your Project prerequisites
To use this template you need at lease the following knowledge: - Python programming. To create basic Python projects. - Git basics. Although if you are not an expert, I recommend you to use ungit .
Documentation
Point here where to find the project documentation or how to build it
This project contains useful tutorial on its documentation that you can use to build your project.
To build them you can use sphinx instructions.
```sh
$ pip install sphinx sphinxrtdtheme
...
Installing collected packages: sphinx, sphinx-rtd-theme
Successfully installed sphinx-3.4.3 sphinx-rtd-theme-0.5.1
$ cd docs
$ make html
Running Sphinx ...
...
build succeeded.
The HTML pages are in _build/html. ```
Or use the tox automation environment already defined as template to build and test it: ```sh $ tox -e docs ... build succeeded.
The HTML pages are in docs/build/html. _______________________________________________________________________________________________________ summary _________________________________________________________________________________________________________ docs: commands succeeded congratulations :) ```
Now you can read the the documentation using your browser using the index.html at in docs/_build/html.
Built using docker
Write here how to run your container with docker
Normally you would perform this step using on shell:
sh
$ docker build -t <dockerhub_user>/<dockerhub_repo>:<version> --build-arg arg=value .
Sending build context to Docker daemon 235.9MB
Step 1/24 : ARG version=...
...
Successfully built a42fdf57588a
Successfully <dockerhub_user>/<dockerhub_repo>:<version>
Run using udocker
Write here how to run using udocker.
To deploy the the application using udocker at the Runtime machine you need:
- Input path with data to be mounter on /app/data inside the container.
- Output path for results to be mounted on /app/output inside the container.
- Configuration files and other on /app/<config_file> inside the container.
Once the requirement are completed, pull the image from the image registry.
sh
$ udocker pull <registry>/<image>:<version>
...
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
...
Once the repository is added and the image downloaded, create the local container:
sh
$ udocker create --name=<container-name> <registry>/<image>:<version>
fa42a912-b0d4-3bfb-987f-1c243863802d
Finally, run the container. Note normally the described data, output and <configfile>_ have to be provided.
Also it is needed to specify the user (in this template application) that should run inside the container:
sh
$ udocker run \
--user=application \
--volume=${PWD}/<config_file>:/app/<config_file> \
--volume=${PWD}/data:/app/data \
--volume=${PWD}/output:/app/output \
<container-name> {container-arguments}
...
executing program
...
Testing
Write here how to test your project
Testing is based on sqa-baseline criteria. On top, tox automation is used to simplify the testing process.
You can run unit and functional tests with coverage using:
sh
$ tox
Authors
Write here the authors and contributors
Owner
- Login: BorjaEst
- Kind: user
- Location: Earth
- Company: None
- Repositories: 50
- Profile: https://github.com/BorjaEst
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 9 months
- Total issue authors: 0
- Total 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
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- BorjaEst (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- python 3
- python ${version} build
- python ${version}-slim build