decaylanguage 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- decaylanguage-0.1.0/.appveyor.yml +76 -0
- decaylanguage-0.1.0/.bumpversion.cfg +20 -0
- decaylanguage-0.1.0/.cookiecutterrc +53 -0
- decaylanguage-0.1.0/.coveragerc +16 -0
- decaylanguage-0.1.0/.editorconfig +13 -0
- decaylanguage-0.1.0/.travis.yml +46 -0
- decaylanguage-0.1.0/AUTHORS.rst +5 -0
- decaylanguage-0.1.0/CHANGELOG.rst +8 -0
- decaylanguage-0.1.0/CONTRIBUTING.rst +90 -0
- decaylanguage-0.1.0/LICENSE +23 -0
- decaylanguage-0.1.0/MANIFEST.in +26 -0
- decaylanguage-0.1.0/PKG-INFO +81 -0
- decaylanguage-0.1.0/Pipfile +26 -0
- decaylanguage-0.1.0/README.rst +100 -0
- decaylanguage-0.1.0/ci/appveyor-bootstrap.py +111 -0
- decaylanguage-0.1.0/ci/appveyor-download.py +109 -0
- decaylanguage-0.1.0/ci/appveyor-with-compiler.cmd +23 -0
- decaylanguage-0.1.0/ci/bootstrap.py +57 -0
- decaylanguage-0.1.0/ci/templates/.travis.yml +36 -0
- decaylanguage-0.1.0/ci/templates/appveyor.yml +51 -0
- decaylanguage-0.1.0/decaylanguage/__init__.py +0 -0
- decaylanguage-0.1.0/decaylanguage/decay/__init__.py +0 -0
- decaylanguage-0.1.0/decaylanguage/decay/ampgen2goofit.py +77 -0
- decaylanguage-0.1.0/decaylanguage/decay/ampline.py +79 -0
- decaylanguage-0.1.0/decaylanguage/decay/amplitudechain.py +323 -0
- decaylanguage-0.1.0/decaylanguage/decay/goofit.py +321 -0
- decaylanguage-0.1.0/decaylanguage/decay/utilities.py +51 -0
- decaylanguage-0.1.0/decaylanguage/goofit.py +23 -0
- decaylanguage-0.1.0/decaylanguage/particle/MintDalitzSpecialParticles.csv +41 -0
- decaylanguage-0.1.0/decaylanguage/particle/__init__.py +12 -0
- decaylanguage-0.1.0/decaylanguage/particle/mass_width.csv +736 -0
- decaylanguage-0.1.0/decaylanguage/particle/particle.py +435 -0
- decaylanguage-0.1.0/decaylanguage/particle/pdgID_to_latex.txt +337 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/PKG-INFO +81 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/SOURCES.txt +148 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/dependency_links.txt +1 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/requires.txt +14 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/top_level.txt +1 -0
- decaylanguage-0.1.0/decaylanguage.egg-info/zip-safe +1 -0
- decaylanguage-0.1.0/docs/authors.rst +1 -0
- decaylanguage-0.1.0/docs/changelog.rst +1 -0
- decaylanguage-0.1.0/docs/conf.py +53 -0
- decaylanguage-0.1.0/docs/contributing.rst +1 -0
- decaylanguage-0.1.0/docs/html/.buildinfo +4 -0
- decaylanguage-0.1.0/docs/html/.doctrees/authors.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/changelog.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/contributing.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/environment.pickle +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/index.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/installation.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/readme.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.decay.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.particle.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/reference/index.doctree +0 -0
- decaylanguage-0.1.0/docs/html/.doctrees/usage.doctree +0 -0
- decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/amplitudechain.html +552 -0
- decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/goofit.html +526 -0
- decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/utilities.html +276 -0
- decaylanguage-0.1.0/docs/html/_modules/decaylanguage/particle/particle.html +653 -0
- decaylanguage-0.1.0/docs/html/_modules/index.html +230 -0
- decaylanguage-0.1.0/docs/html/_sources/authors.rst.txt +1 -0
- decaylanguage-0.1.0/docs/html/_sources/changelog.rst.txt +1 -0
- decaylanguage-0.1.0/docs/html/_sources/contributing.rst.txt +1 -0
- decaylanguage-0.1.0/docs/html/_sources/index.rst.txt +22 -0
- decaylanguage-0.1.0/docs/html/_sources/installation.rst.txt +14 -0
- decaylanguage-0.1.0/docs/html/_sources/readme.rst.txt +1 -0
- decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.decay.rst.txt +18 -0
- decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.particle.rst.txt +9 -0
- decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.rst.txt +9 -0
- decaylanguage-0.1.0/docs/html/_sources/reference/index.rst.txt +7 -0
- decaylanguage-0.1.0/docs/html/_sources/usage.rst.txt +7 -0
- decaylanguage-0.1.0/docs/html/_static/ajax-loader.gif +0 -0
- decaylanguage-0.1.0/docs/html/_static/basic.css +665 -0
- decaylanguage-0.1.0/docs/html/_static/comment-bright.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/comment-close.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/comment.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/css/badge_only.css +2 -0
- decaylanguage-0.1.0/docs/html/_static/css/theme.css +5 -0
- decaylanguage-0.1.0/docs/html/_static/doctools.js +311 -0
- decaylanguage-0.1.0/docs/html/_static/documentation_options.js +9 -0
- decaylanguage-0.1.0/docs/html/_static/down-pressed.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/down.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/file.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/Inconsolata-Bold.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/Inconsolata-Regular.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/Lato-Bold.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/Lato-Regular.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/RobotoSlab-Bold.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/RobotoSlab-Regular.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.eot +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.svg +685 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.ttf +0 -0
- decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.woff +0 -0
- decaylanguage-0.1.0/docs/html/_static/jquery-3.2.1.js +10253 -0
- decaylanguage-0.1.0/docs/html/_static/jquery.js +4 -0
- decaylanguage-0.1.0/docs/html/_static/js/modernizr.min.js +4 -0
- decaylanguage-0.1.0/docs/html/_static/js/theme.js +169 -0
- decaylanguage-0.1.0/docs/html/_static/minus.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/plus.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/pygments.css +67 -0
- decaylanguage-0.1.0/docs/html/_static/searchtools.js +761 -0
- decaylanguage-0.1.0/docs/html/_static/underscore-1.3.1.js +999 -0
- decaylanguage-0.1.0/docs/html/_static/underscore.js +31 -0
- decaylanguage-0.1.0/docs/html/_static/up-pressed.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/up.png +0 -0
- decaylanguage-0.1.0/docs/html/_static/websupport.js +808 -0
- decaylanguage-0.1.0/docs/html/authors.html +244 -0
- decaylanguage-0.1.0/docs/html/changelog.html +247 -0
- decaylanguage-0.1.0/docs/html/contributing.html +345 -0
- decaylanguage-0.1.0/docs/html/genindex.html +409 -0
- decaylanguage-0.1.0/docs/html/index.html +276 -0
- decaylanguage-0.1.0/docs/html/installation.html +248 -0
- decaylanguage-0.1.0/docs/html/objects.inv +0 -0
- decaylanguage-0.1.0/docs/html/py-modindex.html +271 -0
- decaylanguage-0.1.0/docs/html/readme.html +314 -0
- decaylanguage-0.1.0/docs/html/reference/decaylanguage.decay.html +292 -0
- decaylanguage-0.1.0/docs/html/reference/decaylanguage.html +249 -0
- decaylanguage-0.1.0/docs/html/reference/decaylanguage.particle.html +393 -0
- decaylanguage-0.1.0/docs/html/reference/index.html +253 -0
- decaylanguage-0.1.0/docs/html/search.html +243 -0
- decaylanguage-0.1.0/docs/html/searchindex.js +1 -0
- decaylanguage-0.1.0/docs/html/usage.html +245 -0
- decaylanguage-0.1.0/docs/index.rst +22 -0
- decaylanguage-0.1.0/docs/installation.rst +14 -0
- decaylanguage-0.1.0/docs/readme.rst +1 -0
- decaylanguage-0.1.0/docs/reference/decaylanguage.decay.rst +33 -0
- decaylanguage-0.1.0/docs/reference/decaylanguage.particle.rst +9 -0
- decaylanguage-0.1.0/docs/reference/decaylanguage.rst +9 -0
- decaylanguage-0.1.0/docs/reference/index.rst +7 -0
- decaylanguage-0.1.0/docs/requirements.txt +3 -0
- decaylanguage-0.1.0/docs/spelling_wordlist.txt +11 -0
- decaylanguage-0.1.0/docs/usage.rst +24 -0
- decaylanguage-0.1.0/models/D0toKKpipi_model_v1.txt +455 -0
- decaylanguage-0.1.0/models/DtoKpipipi_v2.txt +224 -0
- decaylanguage-0.1.0/models/model2.csv +10 -0
- decaylanguage-0.1.0/notebooks/.ipynb_checkpoints/AmpGen2GooFit D2K3p-checkpoint.ipynb +1833 -0
- decaylanguage-0.1.0/notebooks/AmpGen2GooFit D2K3p.ipynb +1890 -0
- decaylanguage-0.1.0/notebooks/AmpGen2GooFit D2KKpipi.ipynb +1278 -0
- decaylanguage-0.1.0/notebooks/DtoKKpipi_v1.cu +715 -0
- decaylanguage-0.1.0/notebooks/DtoKpipipi_v2.cu +1539 -0
- decaylanguage-0.1.0/setup.cfg +35 -0
- decaylanguage-0.1.0/setup.py +77 -0
- decaylanguage-0.1.0/tests/output/DtoKpipipi_v2.cu +1539 -0
- decaylanguage-0.1.0/tests/test_convert.py +15 -0
- decaylanguage-0.1.0/tests/test_decaylanguage.py +6 -0
- decaylanguage-0.1.0/tests/test_goofit.py +19 -0
- decaylanguage-0.1.0/tests/test_particle.py +26 -0
- decaylanguage-0.1.0/tox.ini +100 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
version: '{branch}-{build}'
|
|
2
|
+
build: off
|
|
3
|
+
cache:
|
|
4
|
+
- '%LOCALAPPDATA%\pip\Cache'
|
|
5
|
+
environment:
|
|
6
|
+
global:
|
|
7
|
+
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
|
|
8
|
+
matrix:
|
|
9
|
+
- TOXENV: check
|
|
10
|
+
TOXPYTHON: C:\Python27\python.exe
|
|
11
|
+
PYTHON_HOME: C:\Python27
|
|
12
|
+
PYTHON_VERSION: '2.7'
|
|
13
|
+
PYTHON_ARCH: '32'
|
|
14
|
+
- TOXENV: 'py27,report'
|
|
15
|
+
TOXPYTHON: C:\Python27\python.exe
|
|
16
|
+
PYTHON_HOME: C:\Python27
|
|
17
|
+
PYTHON_VERSION: '2.7'
|
|
18
|
+
PYTHON_ARCH: '32'
|
|
19
|
+
- TOXENV: 'py27,report'
|
|
20
|
+
TOXPYTHON: C:\Python27-x64\python.exe
|
|
21
|
+
WINDOWS_SDK_VERSION: v7.0
|
|
22
|
+
PYTHON_HOME: C:\Python27-x64
|
|
23
|
+
PYTHON_VERSION: '2.7'
|
|
24
|
+
PYTHON_ARCH: '64'
|
|
25
|
+
- TOXENV: 'py34,report'
|
|
26
|
+
TOXPYTHON: C:\Python34\python.exe
|
|
27
|
+
PYTHON_HOME: C:\Python34
|
|
28
|
+
PYTHON_VERSION: '3.4'
|
|
29
|
+
PYTHON_ARCH: '32'
|
|
30
|
+
- TOXENV: 'py34,report'
|
|
31
|
+
TOXPYTHON: C:\Python34-x64\python.exe
|
|
32
|
+
WINDOWS_SDK_VERSION: v7.1
|
|
33
|
+
PYTHON_HOME: C:\Python34-x64
|
|
34
|
+
PYTHON_VERSION: '3.4'
|
|
35
|
+
PYTHON_ARCH: '64'
|
|
36
|
+
- TOXENV: 'py35,report'
|
|
37
|
+
TOXPYTHON: C:\Python35\python.exe
|
|
38
|
+
PYTHON_HOME: C:\Python35
|
|
39
|
+
PYTHON_VERSION: '3.5'
|
|
40
|
+
PYTHON_ARCH: '32'
|
|
41
|
+
- TOXENV: 'py35,report'
|
|
42
|
+
TOXPYTHON: C:\Python35-x64\python.exe
|
|
43
|
+
PYTHON_HOME: C:\Python35-x64
|
|
44
|
+
PYTHON_VERSION: '3.5'
|
|
45
|
+
PYTHON_ARCH: '64'
|
|
46
|
+
- TOXENV: 'py36,report'
|
|
47
|
+
TOXPYTHON: C:\Python36\python.exe
|
|
48
|
+
PYTHON_HOME: C:\Python36
|
|
49
|
+
PYTHON_VERSION: '3.6'
|
|
50
|
+
PYTHON_ARCH: '32'
|
|
51
|
+
- TOXENV: 'py36,report'
|
|
52
|
+
TOXPYTHON: C:\Python36-x64\python.exe
|
|
53
|
+
PYTHON_HOME: C:\Python36-x64
|
|
54
|
+
PYTHON_VERSION: '3.6'
|
|
55
|
+
PYTHON_ARCH: '64'
|
|
56
|
+
init:
|
|
57
|
+
- ps: echo $env:TOXENV
|
|
58
|
+
- ps: ls C:\Python*
|
|
59
|
+
install:
|
|
60
|
+
- python -u ci\appveyor-bootstrap.py
|
|
61
|
+
- '%PYTHON_HOME%\Scripts\virtualenv --version'
|
|
62
|
+
- '%PYTHON_HOME%\Scripts\easy_install --version'
|
|
63
|
+
- '%PYTHON_HOME%\Scripts\pip --version'
|
|
64
|
+
- '%PYTHON_HOME%\Scripts\tox --version'
|
|
65
|
+
test_script:
|
|
66
|
+
- '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'
|
|
67
|
+
|
|
68
|
+
on_failure:
|
|
69
|
+
- ps: dir "env:"
|
|
70
|
+
- ps: get-content .tox\*\log\*
|
|
71
|
+
artifacts:
|
|
72
|
+
- path: dist\*
|
|
73
|
+
|
|
74
|
+
### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
|
|
75
|
+
# on_finish:
|
|
76
|
+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[bumpversion]
|
|
2
|
+
current_version = 0.1.0
|
|
3
|
+
commit = True
|
|
4
|
+
tag = True
|
|
5
|
+
|
|
6
|
+
[bumpversion:file:setup.py]
|
|
7
|
+
search = version='{current_version}'
|
|
8
|
+
replace = version='{new_version}'
|
|
9
|
+
|
|
10
|
+
[bumpversion:file:README.rst]
|
|
11
|
+
search = v{current_version}.
|
|
12
|
+
replace = v{new_version}.
|
|
13
|
+
|
|
14
|
+
[bumpversion:file:docs/conf.py]
|
|
15
|
+
search = version = release = '{current_version}'
|
|
16
|
+
replace = version = release = '{new_version}'
|
|
17
|
+
|
|
18
|
+
[bumpversion:file:decaylanguage/__init__.py]
|
|
19
|
+
search = __version__ = '{current_version}'
|
|
20
|
+
replace = __version__ = '{new_version}'
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# This file exists so you can easily regenerate your project.
|
|
2
|
+
#
|
|
3
|
+
# `cookiepatcher` is a convenient shim around `cookiecutter`
|
|
4
|
+
# for regenerating projects (it will generate a .cookiecutterrc
|
|
5
|
+
# automatically for any template). To use it:
|
|
6
|
+
#
|
|
7
|
+
# pip install cookiepatcher
|
|
8
|
+
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary project-path
|
|
9
|
+
#
|
|
10
|
+
# See:
|
|
11
|
+
# https://pypi.python.org/pypi/cookiepatcher
|
|
12
|
+
#
|
|
13
|
+
# Alternatively, you can run:
|
|
14
|
+
#
|
|
15
|
+
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary
|
|
16
|
+
|
|
17
|
+
default_context:
|
|
18
|
+
|
|
19
|
+
_template: 'gh:ionelmc/cookiecutter-pylibrary'
|
|
20
|
+
appveyor: 'yes'
|
|
21
|
+
c_extension_function: 'longest'
|
|
22
|
+
c_extension_module: '_decaylanguage'
|
|
23
|
+
c_extension_optional: 'no'
|
|
24
|
+
c_extension_support: 'no'
|
|
25
|
+
codacy: 'no'
|
|
26
|
+
codeclimate: 'no'
|
|
27
|
+
codecov: 'no'
|
|
28
|
+
command_line_interface: 'no'
|
|
29
|
+
command_line_interface_bin_name: 'decaylanguage'
|
|
30
|
+
coveralls: 'yes'
|
|
31
|
+
distribution_name: 'decaylanguage'
|
|
32
|
+
email: 'henry.schreiner@cern.ch'
|
|
33
|
+
full_name: 'Henry Fredrick Schreiner III'
|
|
34
|
+
github_username: 'henryiii'
|
|
35
|
+
landscape: 'no'
|
|
36
|
+
license: 'BSD 3-Clause License'
|
|
37
|
+
linter: 'flake8'
|
|
38
|
+
package_name: 'decaylanguage'
|
|
39
|
+
project_name: 'decaylanguage'
|
|
40
|
+
project_short_description: 'A language to describe particle decays, and tools to work with them.'
|
|
41
|
+
release_date: 'today'
|
|
42
|
+
repo_name: 'decaylanguage'
|
|
43
|
+
requiresio: 'yes'
|
|
44
|
+
scrutinizer: 'no'
|
|
45
|
+
sphinx_doctest: 'no'
|
|
46
|
+
sphinx_theme: 'sphinx-rtd-theme'
|
|
47
|
+
test_matrix_configurator: 'no'
|
|
48
|
+
test_matrix_separate_coverage: 'no'
|
|
49
|
+
test_runner: 'pytest'
|
|
50
|
+
travis: 'yes'
|
|
51
|
+
version: '0.1.0'
|
|
52
|
+
website: 'https://iscinumpy.gitlab.io'
|
|
53
|
+
year: 'now'
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
language: python
|
|
2
|
+
sudo: false
|
|
3
|
+
cache: pip
|
|
4
|
+
env:
|
|
5
|
+
global:
|
|
6
|
+
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
|
|
7
|
+
- SEGFAULT_SIGNALS=all
|
|
8
|
+
matrix:
|
|
9
|
+
- TOXENV=check
|
|
10
|
+
- TOXENV=docs
|
|
11
|
+
matrix:
|
|
12
|
+
include:
|
|
13
|
+
- python: '2.7'
|
|
14
|
+
env:
|
|
15
|
+
- TOXENV=py27,report,coveralls
|
|
16
|
+
- python: '3.4'
|
|
17
|
+
env:
|
|
18
|
+
- TOXENV=py34,report,coveralls
|
|
19
|
+
- python: '3.5'
|
|
20
|
+
env:
|
|
21
|
+
- TOXENV=py35,report,coveralls
|
|
22
|
+
- python: '3.6'
|
|
23
|
+
env:
|
|
24
|
+
- TOXENV=py36,report,coveralls
|
|
25
|
+
- python: 'pypy-5.4'
|
|
26
|
+
env:
|
|
27
|
+
- TOXENV=pypy,report,coveralls
|
|
28
|
+
before_install:
|
|
29
|
+
- python --version
|
|
30
|
+
- uname -a
|
|
31
|
+
- lsb_release -a
|
|
32
|
+
install:
|
|
33
|
+
- pip install tox
|
|
34
|
+
- virtualenv --version
|
|
35
|
+
- easy_install --version
|
|
36
|
+
- pip --version
|
|
37
|
+
- tox --version
|
|
38
|
+
script:
|
|
39
|
+
- tox -v
|
|
40
|
+
after_failure:
|
|
41
|
+
- more .tox/log/* | cat
|
|
42
|
+
- more .tox/*/log/* | cat
|
|
43
|
+
notifications:
|
|
44
|
+
email:
|
|
45
|
+
on_success: never
|
|
46
|
+
on_failure: always
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
============
|
|
2
|
+
Contributing
|
|
3
|
+
============
|
|
4
|
+
|
|
5
|
+
Contributions are welcome, and they are greatly appreciated! Every
|
|
6
|
+
little bit helps, and credit will always be given.
|
|
7
|
+
|
|
8
|
+
Bug reports
|
|
9
|
+
===========
|
|
10
|
+
|
|
11
|
+
When `reporting a bug <https://github.com/henryiii/decaylanguage/issues>`_ please include:
|
|
12
|
+
|
|
13
|
+
* Your operating system name and version.
|
|
14
|
+
* Any details about your local setup that might be helpful in troubleshooting.
|
|
15
|
+
* Detailed steps to reproduce the bug.
|
|
16
|
+
|
|
17
|
+
Documentation improvements
|
|
18
|
+
==========================
|
|
19
|
+
|
|
20
|
+
decaylanguage could always use more documentation, whether as part of the
|
|
21
|
+
official decaylanguage docs, in docstrings, or even on the web in blog posts,
|
|
22
|
+
articles, and such.
|
|
23
|
+
|
|
24
|
+
Feature requests and feedback
|
|
25
|
+
=============================
|
|
26
|
+
|
|
27
|
+
The best way to send feedback is to file an issue at https://github.com/henryiii/decaylanguage/issues.
|
|
28
|
+
|
|
29
|
+
If you are proposing a feature:
|
|
30
|
+
|
|
31
|
+
* Explain in detail how it would work.
|
|
32
|
+
* Keep the scope as narrow as possible, to make it easier to implement.
|
|
33
|
+
* Remember that this is a volunteer-driven project, and that code contributions are welcome :)
|
|
34
|
+
|
|
35
|
+
Development
|
|
36
|
+
===========
|
|
37
|
+
|
|
38
|
+
To set up `decaylanguage` for local development:
|
|
39
|
+
|
|
40
|
+
1. Fork `decaylanguage <https://github.com/henryiii/decaylanguage>`_
|
|
41
|
+
(look for the "Fork" button).
|
|
42
|
+
2. Clone your fork locally::
|
|
43
|
+
|
|
44
|
+
git clone git@github.com:your_name_here/decaylanguage.git
|
|
45
|
+
|
|
46
|
+
3. Create a branch for local development::
|
|
47
|
+
|
|
48
|
+
git checkout -b name-of-your-bugfix-or-feature
|
|
49
|
+
|
|
50
|
+
Now you can make your changes locally.
|
|
51
|
+
|
|
52
|
+
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.io/en/latest/install.html>`_ one command::
|
|
53
|
+
|
|
54
|
+
tox
|
|
55
|
+
|
|
56
|
+
5. Commit your changes and push your branch to GitHub::
|
|
57
|
+
|
|
58
|
+
git add .
|
|
59
|
+
git commit -m "Your detailed description of your changes."
|
|
60
|
+
git push origin name-of-your-bugfix-or-feature
|
|
61
|
+
|
|
62
|
+
6. Submit a pull request through the GitHub website.
|
|
63
|
+
|
|
64
|
+
Pull Request Guidelines
|
|
65
|
+
-----------------------
|
|
66
|
+
|
|
67
|
+
If you need some code review or feedback while you're developing the code just make the pull request.
|
|
68
|
+
|
|
69
|
+
For merging, you should:
|
|
70
|
+
|
|
71
|
+
1. Include passing tests (run ``tox``) [1]_.
|
|
72
|
+
2. Update documentation when there's new API, functionality etc.
|
|
73
|
+
3. Add a note to ``CHANGELOG.rst`` about the changes.
|
|
74
|
+
4. Add yourself to ``AUTHORS.rst``.
|
|
75
|
+
|
|
76
|
+
.. [1] If you don't have all the necessary python versions available locally you can rely on Travis - it will
|
|
77
|
+
`run the tests <https://travis-ci.org/henryiii/decaylanguage/pull_requests>`_ for each change you add in the pull request.
|
|
78
|
+
|
|
79
|
+
It will be slower though ...
|
|
80
|
+
|
|
81
|
+
Tips
|
|
82
|
+
----
|
|
83
|
+
|
|
84
|
+
To run a subset of tests::
|
|
85
|
+
|
|
86
|
+
tox -e envname -- py.test -k test_myfeature
|
|
87
|
+
|
|
88
|
+
To run all the test environments in *parallel* (you need to ``pip install detox``)::
|
|
89
|
+
|
|
90
|
+
detox
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018, Henry Fredrick Schreiner III
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
|
|
7
|
+
conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
|
|
12
|
+
disclaimer in the documentation and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
|
|
15
|
+
derived from this software without specific prior written permission.
|
|
16
|
+
|
|
17
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
|
|
18
|
+
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
|
19
|
+
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
20
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
21
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
22
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
23
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
graft docs
|
|
2
|
+
graft decaylangauge
|
|
3
|
+
graft ci
|
|
4
|
+
graft tests
|
|
5
|
+
graft notebooks
|
|
6
|
+
graft scripts
|
|
7
|
+
graft models
|
|
8
|
+
|
|
9
|
+
include .bumpversion.cfg
|
|
10
|
+
include .coveragerc
|
|
11
|
+
include .cookiecutterrc
|
|
12
|
+
include .editorconfig
|
|
13
|
+
|
|
14
|
+
include AUTHORS.rst
|
|
15
|
+
include CHANGELOG.rst
|
|
16
|
+
include CONTRIBUTING.rst
|
|
17
|
+
include LICENSE
|
|
18
|
+
include README.rst
|
|
19
|
+
include Pipfile
|
|
20
|
+
|
|
21
|
+
include tox.ini .travis.yml .appveyor.yml
|
|
22
|
+
|
|
23
|
+
recursive-include decaylanguage *.csv
|
|
24
|
+
recursive-include decaylanguage *.txt
|
|
25
|
+
|
|
26
|
+
global-exclude *.py[cod] __pycache__ *.so *.dylib
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: decaylanguage
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A language to describe particle decays, and tools to work with them.
|
|
5
|
+
Home-page: https://github.com/henryiii/decaylanguage
|
|
6
|
+
Author: Henry Fredrick Schreiner III
|
|
7
|
+
Author-email: henry.schreiner@cern.ch
|
|
8
|
+
License: BSD 3-Clause License
|
|
9
|
+
Description-Content-Type: UNKNOWN
|
|
10
|
+
Description: ========
|
|
11
|
+
Overview
|
|
12
|
+
========
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
A language to describe particle decays, and tools to work with them.
|
|
17
|
+
|
|
18
|
+
* Free software: BSD 3-Clause License
|
|
19
|
+
|
|
20
|
+
Installation
|
|
21
|
+
============
|
|
22
|
+
|
|
23
|
+
::
|
|
24
|
+
|
|
25
|
+
pip install decaylanguage
|
|
26
|
+
|
|
27
|
+
Documentation
|
|
28
|
+
=============
|
|
29
|
+
|
|
30
|
+
https://decaylanguage.readthedocs.io/
|
|
31
|
+
|
|
32
|
+
Development
|
|
33
|
+
===========
|
|
34
|
+
|
|
35
|
+
To run the all tests run::
|
|
36
|
+
|
|
37
|
+
tox
|
|
38
|
+
|
|
39
|
+
Note, to combine the coverage data from all the tox environments run:
|
|
40
|
+
|
|
41
|
+
.. list-table::
|
|
42
|
+
:widths: 10 90
|
|
43
|
+
:stub-columns: 1
|
|
44
|
+
|
|
45
|
+
- - Windows
|
|
46
|
+
- ::
|
|
47
|
+
|
|
48
|
+
set PYTEST_ADDOPTS=--cov-append
|
|
49
|
+
tox
|
|
50
|
+
|
|
51
|
+
- - Other
|
|
52
|
+
- ::
|
|
53
|
+
|
|
54
|
+
PYTEST_ADDOPTS=--cov-append tox
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
Changelog
|
|
58
|
+
=========
|
|
59
|
+
|
|
60
|
+
0.1.0 (2018-03-13)
|
|
61
|
+
------------------
|
|
62
|
+
|
|
63
|
+
* First release on PyPI.
|
|
64
|
+
|
|
65
|
+
Keywords: particle,decay,HEP
|
|
66
|
+
Platform: UNKNOWN
|
|
67
|
+
Classifier: Development Status :: 3 - Alpha
|
|
68
|
+
Classifier: Intended Audience :: Developers
|
|
69
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
70
|
+
Classifier: Operating System :: Unix
|
|
71
|
+
Classifier: Operating System :: POSIX
|
|
72
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
73
|
+
Classifier: Programming Language :: Python
|
|
74
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
75
|
+
Classifier: Programming Language :: Python :: 3
|
|
76
|
+
Classifier: Programming Language :: Python :: 3.4
|
|
77
|
+
Classifier: Programming Language :: Python :: 3.5
|
|
78
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
79
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
80
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
81
|
+
Classifier: Topic :: Utilities
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[[source]]
|
|
2
|
+
|
|
3
|
+
url = "https://pypi.python.org/simple"
|
|
4
|
+
verify_ssl = true
|
|
5
|
+
name = "pypi"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
[packages]
|
|
9
|
+
|
|
10
|
+
attrs = "*"
|
|
11
|
+
pandas = "*"
|
|
12
|
+
graphviz = "*"
|
|
13
|
+
plumbum = "*"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
[dev-packages]
|
|
17
|
+
|
|
18
|
+
pytest = "*"
|
|
19
|
+
"e1839a8" = {path = ".", editable = true}
|
|
20
|
+
jupyter = {extras = ["all"]}
|
|
21
|
+
sphinx = "*"
|
|
22
|
+
sphinx-rtd-theme = "*"
|
|
23
|
+
|
|
24
|
+
[requires]
|
|
25
|
+
|
|
26
|
+
python_version = "3.6"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
========
|
|
2
|
+
Overview
|
|
3
|
+
========
|
|
4
|
+
|
|
5
|
+
.. start-badges
|
|
6
|
+
|
|
7
|
+
.. list-table::
|
|
8
|
+
:stub-columns: 1
|
|
9
|
+
|
|
10
|
+
* - docs
|
|
11
|
+
- |docs|
|
|
12
|
+
* - tests
|
|
13
|
+
- | |travis| |appveyor| |requires|
|
|
14
|
+
| |coveralls|
|
|
15
|
+
* - package
|
|
16
|
+
- | |version| |wheel| |supported-versions| |supported-implementations|
|
|
17
|
+
| |commits-since|
|
|
18
|
+
|
|
19
|
+
.. |docs| image:: https://readthedocs.org/projects/decaylanguage/badge/?style=flat
|
|
20
|
+
:target: https://readthedocs.org/projects/decaylanguage
|
|
21
|
+
:alt: Documentation Status
|
|
22
|
+
|
|
23
|
+
.. |travis| image:: https://travis-ci.org/henryiii/decaylanguage.svg?branch=master
|
|
24
|
+
:alt: Travis-CI Build Status
|
|
25
|
+
:target: https://travis-ci.org/henryiii/decaylanguage
|
|
26
|
+
|
|
27
|
+
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/henryiii/decaylanguage?branch=master&svg=true
|
|
28
|
+
:alt: AppVeyor Build Status
|
|
29
|
+
:target: https://ci.appveyor.com/project/henryiii/decaylanguage
|
|
30
|
+
|
|
31
|
+
.. |requires| image:: https://requires.io/github/henryiii/decaylanguage/requirements.svg?branch=master
|
|
32
|
+
:alt: Requirements Status
|
|
33
|
+
:target: https://requires.io/github/henryiii/decaylanguage/requirements/?branch=master
|
|
34
|
+
|
|
35
|
+
.. |coveralls| image:: https://coveralls.io/repos/henryiii/decaylanguage/badge.svg?branch=master&service=github
|
|
36
|
+
:alt: Coverage Status
|
|
37
|
+
:target: https://coveralls.io/r/henryiii/decaylanguage
|
|
38
|
+
|
|
39
|
+
.. |version| image:: https://img.shields.io/pypi/v/decaylanguage.svg
|
|
40
|
+
:alt: PyPI Package latest release
|
|
41
|
+
:target: https://pypi.python.org/pypi/decaylanguage
|
|
42
|
+
|
|
43
|
+
.. |commits-since| image:: https://img.shields.io/github/commits-since/henryiii/decaylanguage/v0.1.0.svg
|
|
44
|
+
:alt: Commits since latest release
|
|
45
|
+
:target: https://github.com/henryiii/decaylanguage/compare/v0.1.0...master
|
|
46
|
+
|
|
47
|
+
.. |wheel| image:: https://img.shields.io/pypi/wheel/decaylanguage.svg
|
|
48
|
+
:alt: PyPI Wheel
|
|
49
|
+
:target: https://pypi.python.org/pypi/decaylanguage
|
|
50
|
+
|
|
51
|
+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/decaylanguage.svg
|
|
52
|
+
:alt: Supported versions
|
|
53
|
+
:target: https://pypi.python.org/pypi/decaylanguage
|
|
54
|
+
|
|
55
|
+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/decaylanguage.svg
|
|
56
|
+
:alt: Supported implementations
|
|
57
|
+
:target: https://pypi.python.org/pypi/decaylanguage
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
.. end-badges
|
|
61
|
+
|
|
62
|
+
A language to describe particle decays, and tools to work with them.
|
|
63
|
+
|
|
64
|
+
* Free software: BSD 3-Clause License
|
|
65
|
+
|
|
66
|
+
Installation
|
|
67
|
+
============
|
|
68
|
+
|
|
69
|
+
::
|
|
70
|
+
|
|
71
|
+
pip install decaylanguage
|
|
72
|
+
|
|
73
|
+
Documentation
|
|
74
|
+
=============
|
|
75
|
+
|
|
76
|
+
https://decaylanguage.readthedocs.io/
|
|
77
|
+
|
|
78
|
+
Development
|
|
79
|
+
===========
|
|
80
|
+
|
|
81
|
+
To run the all tests run::
|
|
82
|
+
|
|
83
|
+
tox
|
|
84
|
+
|
|
85
|
+
Note, to combine the coverage data from all the tox environments run:
|
|
86
|
+
|
|
87
|
+
.. list-table::
|
|
88
|
+
:widths: 10 90
|
|
89
|
+
:stub-columns: 1
|
|
90
|
+
|
|
91
|
+
- - Windows
|
|
92
|
+
- ::
|
|
93
|
+
|
|
94
|
+
set PYTEST_ADDOPTS=--cov-append
|
|
95
|
+
tox
|
|
96
|
+
|
|
97
|
+
- - Other
|
|
98
|
+
- ::
|
|
99
|
+
|
|
100
|
+
PYTEST_ADDOPTS=--cov-append tox
|