Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
11d4aed
remove ide specific files
vgoehler Dec 2, 2019
5b4ca45
remove unused file
vgoehler Dec 2, 2019
b465a8a
removed videos from git
vgoehler Dec 2, 2019
1f0f308
created gitignore file
vgoehler Dec 2, 2019
ce5394d
removed chinese comment
vgoehler Dec 2, 2019
88c4890
added a requirements file
vgoehler Dec 2, 2019
02d2ef2
added git lfs support for avi and mp4
vgoehler Dec 2, 2019
66dca97
Create pythonapp.yml
vgoehler Dec 2, 2019
389068c
Merge branch 'master' of github.com:vgoehler/PyEVM
vgoehler Dec 2, 2019
dd70faa
arranged a package and put the CLI in
vgoehler Dec 3, 2019
fe0e4c5
package init file
vgoehler Dec 3, 2019
6eb985a
changed readme
vgoehler Dec 10, 2019
e75e3a2
changed readme, again
vgoehler Dec 10, 2019
ea5cb9b
changed readme
vgoehler Dec 10, 2019
ffc0f2e
created mode enum for color or motion
vgoehler Dec 20, 2019
46c6c1b
utf-8 comment, author notice, moved colour space converters
vgoehler Dec 20, 2019
bd5524d
refactored functions to get a better overview
vgoehler Dec 20, 2019
8be9ae9
added pytest to requirements
vgoehler Jan 2, 2020
ccfebac
added cookiecutter project skeleton
vgoehler Jan 2, 2020
06a638e
new src directory skeletion
vgoehler Jan 2, 2020
ab4ecfb
moved old code to new src dir
vgoehler Jan 2, 2020
94f9e98
changed python versions
vgoehler Jan 2, 2020
c11ecb0
moved the code to the new module structure
vgoehler Jan 2, 2020
915b3f7
Bump version: 0.1.0 → 0.2.0
vgoehler Jan 2, 2020
4859f16
requirements updated
vgoehler Jan 2, 2020
348ae60
remove obsolete file
vgoehler Jan 2, 2020
949f378
remove copyright info
vgoehler Jan 2, 2020
d31d388
formater changes
vgoehler Jan 3, 2020
35971cd
changed ci
vgoehler Feb 12, 2020
c7e2179
ci changes
vgoehler Feb 12, 2020
677d4df
relaxed prerequisite dependencies
vgoehler Feb 12, 2020
c8f1bcb
changed prerequisites
vgoehler Feb 12, 2020
d9e052f
modified first test
vgoehler Feb 13, 2020
0437a1a
removed ci dependencies, removed pypy3
vgoehler Feb 13, 2020
556b35f
removed pypy3 ine travis.yml
vgoehler Feb 13, 2020
1d7b5f5
code format corrected
vgoehler Feb 13, 2020
aa3ebe2
use twine check instead of setup.py
vgoehler Feb 13, 2020
8bbc30b
corrected readme
vgoehler Feb 13, 2020
18ee8fd
Update README.rst
vgoehler Feb 13, 2020
c6d4683
changed heading level
vgoehler Feb 13, 2020
cd2fd71
Merge branch 'master' of github.com:vgoehler/PyEVM
vgoehler Feb 13, 2020
787febb
removed logging bug in cli
vgoehler Feb 24, 2020
b8cd812
added type hints for temporal filter
vgoehler Feb 24, 2020
2e91210
cli arguments are now correctly handed to parser
vgoehler Feb 25, 2020
18d0060
connected enum correctly to argparser
vgoehler Feb 26, 2020
291b792
fixed options tests
vgoehler Feb 26, 2020
cfc8bdf
fixed tests, fixed behaviour
vgoehler Mar 2, 2020
34ba578
fixed more tests
vgoehler Mar 3, 2020
dd55db3
remove python 2.7 remnants
vgoehler Mar 3, 2020
bd290df
options to metadata object conversion
vgoehler Mar 3, 2020
7f9a3bc
store functionality of meta data done
vgoehler Mar 3, 2020
943aec3
stores now meta data after video is done
vgoehler Mar 3, 2020
db67949
wrong type hint
vgoehler Mar 3, 2020
2c8cd64
corrected code style issues
vgoehler Mar 3, 2020
a1ebb1f
add resources for tests
vgoehler Mar 3, 2020
404cf80
add resources for tests
vgoehler Mar 3, 2020
1a7a342
removed git lfs, because it is not integrated in public repositories
vgoehler Mar 3, 2020
56a211f
Bump version: 0.2.0 → 0.2.1
vgoehler Mar 3, 2020
1cca95d
Bump version: 0.2.1 → 0.3.0
vgoehler Mar 3, 2020
32d380f
Bump version: 0.3.0 → 0.4.0
vgoehler Mar 3, 2020
a15f00c
added timestamp for the processed output file
vgoehler Mar 4, 2020
38f5208
code style changes
vgoehler Mar 4, 2020
a4e6c4c
removed bug with get date in metadata module
vgoehler Mar 4, 2020
53e5fbf
one test for reconstruction of video
vgoehler Mar 4, 2020
b2db81d
workaround for the levels wrong dimensions rounding bug
vgoehler Mar 4, 2020
b63f062
Bump version: 0.4.0 → 0.4.1
vgoehler Mar 4, 2020
b731e2a
changed timeformat to a more windows friendly version
vgoehler Mar 5, 2020
44ce069
Bump version: 0.4.1 → 0.4.2
vgoehler Mar 5, 2020
c0e53bd
Update README.rst
vgoehler May 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
version: '{branch}-{build}'
build: off
environment:
global:
COVERALLS_EXTRAS: '-v'
COVERALLS_REPO_TOKEN: CmhNs4cpmc7aNcp5FPB4sf379OiXLhufo
matrix:
- TOXENV: check
TOXPYTHON: C:\Python36\python.exe
PYTHON_HOME: C:\Python36
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'
- TOXENV: py36,codecov,coveralls
TOXPYTHON: C:\Python36\python.exe
PYTHON_HOME: C:\Python36
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'
- TOXENV: py36,codecov,coveralls
TOXPYTHON: C:\Python36-x64\python.exe
PYTHON_HOME: C:\Python36-x64
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '64'
- TOXENV: py37,codecov,coveralls
TOXPYTHON: C:\Python37\python.exe
PYTHON_HOME: C:\Python37
PYTHON_VERSION: '3.7'
PYTHON_ARCH: '32'
- TOXENV: py37,codecov,coveralls
TOXPYTHON: C:\Python37-x64\python.exe
PYTHON_HOME: C:\Python37-x64
PYTHON_VERSION: '3.7'
PYTHON_ARCH: '64'
- TOXENV: py38,codecov,coveralls
TOXPYTHON: C:\Python38\python.exe
PYTHON_HOME: C:\Python38
PYTHON_VERSION: '3.8'
PYTHON_ARCH: '32'
- TOXENV: py38,codecov,coveralls
TOXPYTHON: C:\Python38-x64\python.exe
PYTHON_HOME: C:\Python38-x64
PYTHON_VERSION: '3.8'
PYTHON_ARCH: '64'
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
- '%PYTHON_HOME%\python -mpip install --progress-bar=off tox -rci/requirements.txt'
- '%PYTHON_HOME%\Scripts\virtualenv --version'
- '%PYTHON_HOME%\Scripts\easy_install --version'
- '%PYTHON_HOME%\Scripts\pip --version'
- '%PYTHON_HOME%\Scripts\tox --version'
test_script:
- cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd %PYTHON_HOME%\Scripts\tox
on_failure:
- ps: dir "env:"
- ps: get-content .tox\*\log\*

### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
21 changes: 21 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[bumpversion]
current_version = 0.4.2
commit = True
tag = True

[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'

[bumpversion:file:README.rst]
search = v{current_version}.
replace = v{new_version}.

[bumpversion:file:docs/conf.py]
search = version = release = '{current_version}'
replace = version = release = '{new_version}'

[bumpversion:file:src/python_eulerian_video_magnification/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

69 changes: 69 additions & 0 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# This file exists so you can easily regenerate your project.
#
# `cookiepatcher` is a convenient shim around `cookiecutter`
# for regenerating projects (it will generate a .cookiecutterrc
# automatically for any template). To use it:
#
# pip install cookiepatcher
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary project-path
#
# See:
# https://pypi.org/project/cookiepatcher
#
# Alternatively, you can run:
#
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary

default_context:

_extensions: ['jinja2_time.TimeExtension']
_template: 'gh:ionelmc/cookiecutter-pylibrary'
allow_tests_inside_package: 'no'
appveyor: 'yes'
c_extension_function: 'longest'
c_extension_module: '_python_eulerian_video_magnification'
c_extension_optional: 'no'
c_extension_support: 'no'
c_extension_test_pypi: 'no'
c_extension_test_pypi_username: 'vgoehler'
codacy: 'no'
codacy_projectid: '[Get ID from https://app.codacy.com/app/vgoehler/PyEVM/settings]'
codeclimate: 'no'
codecov: 'yes'
command_line_interface: 'argparse'
command_line_interface_bin_name: 'EVM'
coveralls: 'yes'
coveralls_token: 'CmhNs4cpmc7aNcp5FPB4sf379OiXLhufo'
distribution_name: 'PyEVM'
email: 'volker.goehler@informatik.tu-freiberg.de'
full_name: 'Volker G Göhler'
landscape: 'no'
license: 'BSD 2-Clause License'
linter: 'flake8'
package_name: 'python_eulerian_video_magnification'
project_name: 'Python Eulerian Video Magnification'
project_short_description: 'Eulerian Video Magnification for Python'
pypi_badge: 'no'
pypi_disable_upload: 'yes'
release_date: 'today'
repo_hosting: 'github.com'
repo_hosting_domain: 'github.com'
repo_name: 'PyEVM'
repo_username: 'vgoehler'
requiresio: 'yes'
scrutinizer: 'no'
setup_py_uses_setuptools_scm: 'no'
setup_py_uses_test_runner: 'no'
sphinx_docs: 'yes'
sphinx_docs_hosting: 'https://PyEVM.readthedocs.io/'
sphinx_doctest: 'no'
sphinx_theme: 'sphinx-rtd-theme'
test_matrix_configurator: 'no'
test_matrix_separate_coverage: 'no'
test_runner: 'pytest'
travis: 'yes'
travis_osx: 'no'
version: '0.1.0'
website: 'https://github.com/vgoehler'
year_from: '2019'
year_to: '2020'
16 changes: 16 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[paths]
source =
src
*/site-packages

[run]
branch = true
source =
python_eulerian_video_magnification
tests
parallel = true

[report]
show_missing = true
precision = 2
omit = *migrations*
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# see https://editorconfig.org/
root = true

[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
charset = utf-8

[*.{bat,cmd,ps1}]
end_of_line = crlf
30 changes: 30 additions & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python application

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pip install pytest
pytest
122 changes: 52 additions & 70 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,90 +1,72 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
__pycache__

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
# Packages
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
*.egg-info
dist
build
eggs
.eggs
parts
bin
var
sdist
wheelhouse
develop-eggs
.installed.cfg
lib
lib64
venv*/
pyvenv*/
pip-wheel-metadata/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.tox
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*,cover
.hypothesis/
htmlcov

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
.idea
*.iml
*.komodoproject

# Complexity
output/*.html
output/*/index.html

# Sphinx
docs/_build

.DS_Store
*~
.*.sw[po]
.build
.ve
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject
.idea/
.cache
.pytest
.benchmarks
.bootstrap
.appveyor.token
*.bak

# Mypy Cache
.mypy_cache/
videos/
12 changes: 0 additions & 12 deletions .idea/PyEVM.iml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

Loading