Skip to content

Commit

Permalink
Merge pull request #10 from KentVejrupMadsen/development
Browse files Browse the repository at this point in the history
sync. & addition of documentation
  • Loading branch information
KentVejrupMadsen authored Jun 8, 2023
2 parents b2ceda1 + ecff3ba commit 79663a4
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Default for all
* text=auto

*.md text diff=markdown eol=crlf
*.md text diff=markdown eol=lf

*.sh text diff=sh eol=lf
*.py text diff=python eol=lf
*.ipynb text eol=lf
Expand All @@ -13,4 +14,4 @@
.gitattributes text eol=lf

/.github export-ignore
CHANGELOG.md export-ignore

30 changes: 30 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python package

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "development" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ venv/*
# IDE Directories to ignore
.idea/*
dist/*
.pytest_cache/*
__*__/*

# directories to be ignored
hm_framework.egg-info/*
Expand Down
17 changes: 17 additions & 0 deletions License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# MIT License
Copyright 2023 Kent vejrup Madsen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11 changes: 8 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Project - The Hugin and Munin Framework
## Installation
# The Hugin and Munin Framework
## Summary
### Installation
pip install hm-framework

## Description
### Description
Framework with the purpose of
* to extract information from media files

Expand All @@ -13,3 +14,7 @@ Framework with the purpose of
* Output
* temporary configuration memory
* temporary working files

## Documentation
### Other libraries
* [Pytest](https://docs.pytest.org/en/7.3.x/contents.html)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pillow
pytest
1 change: 0 additions & 1 deletion src/.gitignore

This file was deleted.

0 comments on commit 79663a4

Please sign in to comment.