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.
Files changed (149) hide show
  1. decaylanguage-0.1.0/.appveyor.yml +76 -0
  2. decaylanguage-0.1.0/.bumpversion.cfg +20 -0
  3. decaylanguage-0.1.0/.cookiecutterrc +53 -0
  4. decaylanguage-0.1.0/.coveragerc +16 -0
  5. decaylanguage-0.1.0/.editorconfig +13 -0
  6. decaylanguage-0.1.0/.travis.yml +46 -0
  7. decaylanguage-0.1.0/AUTHORS.rst +5 -0
  8. decaylanguage-0.1.0/CHANGELOG.rst +8 -0
  9. decaylanguage-0.1.0/CONTRIBUTING.rst +90 -0
  10. decaylanguage-0.1.0/LICENSE +23 -0
  11. decaylanguage-0.1.0/MANIFEST.in +26 -0
  12. decaylanguage-0.1.0/PKG-INFO +81 -0
  13. decaylanguage-0.1.0/Pipfile +26 -0
  14. decaylanguage-0.1.0/README.rst +100 -0
  15. decaylanguage-0.1.0/ci/appveyor-bootstrap.py +111 -0
  16. decaylanguage-0.1.0/ci/appveyor-download.py +109 -0
  17. decaylanguage-0.1.0/ci/appveyor-with-compiler.cmd +23 -0
  18. decaylanguage-0.1.0/ci/bootstrap.py +57 -0
  19. decaylanguage-0.1.0/ci/templates/.travis.yml +36 -0
  20. decaylanguage-0.1.0/ci/templates/appveyor.yml +51 -0
  21. decaylanguage-0.1.0/decaylanguage/__init__.py +0 -0
  22. decaylanguage-0.1.0/decaylanguage/decay/__init__.py +0 -0
  23. decaylanguage-0.1.0/decaylanguage/decay/ampgen2goofit.py +77 -0
  24. decaylanguage-0.1.0/decaylanguage/decay/ampline.py +79 -0
  25. decaylanguage-0.1.0/decaylanguage/decay/amplitudechain.py +323 -0
  26. decaylanguage-0.1.0/decaylanguage/decay/goofit.py +321 -0
  27. decaylanguage-0.1.0/decaylanguage/decay/utilities.py +51 -0
  28. decaylanguage-0.1.0/decaylanguage/goofit.py +23 -0
  29. decaylanguage-0.1.0/decaylanguage/particle/MintDalitzSpecialParticles.csv +41 -0
  30. decaylanguage-0.1.0/decaylanguage/particle/__init__.py +12 -0
  31. decaylanguage-0.1.0/decaylanguage/particle/mass_width.csv +736 -0
  32. decaylanguage-0.1.0/decaylanguage/particle/particle.py +435 -0
  33. decaylanguage-0.1.0/decaylanguage/particle/pdgID_to_latex.txt +337 -0
  34. decaylanguage-0.1.0/decaylanguage.egg-info/PKG-INFO +81 -0
  35. decaylanguage-0.1.0/decaylanguage.egg-info/SOURCES.txt +148 -0
  36. decaylanguage-0.1.0/decaylanguage.egg-info/dependency_links.txt +1 -0
  37. decaylanguage-0.1.0/decaylanguage.egg-info/requires.txt +14 -0
  38. decaylanguage-0.1.0/decaylanguage.egg-info/top_level.txt +1 -0
  39. decaylanguage-0.1.0/decaylanguage.egg-info/zip-safe +1 -0
  40. decaylanguage-0.1.0/docs/authors.rst +1 -0
  41. decaylanguage-0.1.0/docs/changelog.rst +1 -0
  42. decaylanguage-0.1.0/docs/conf.py +53 -0
  43. decaylanguage-0.1.0/docs/contributing.rst +1 -0
  44. decaylanguage-0.1.0/docs/html/.buildinfo +4 -0
  45. decaylanguage-0.1.0/docs/html/.doctrees/authors.doctree +0 -0
  46. decaylanguage-0.1.0/docs/html/.doctrees/changelog.doctree +0 -0
  47. decaylanguage-0.1.0/docs/html/.doctrees/contributing.doctree +0 -0
  48. decaylanguage-0.1.0/docs/html/.doctrees/environment.pickle +0 -0
  49. decaylanguage-0.1.0/docs/html/.doctrees/index.doctree +0 -0
  50. decaylanguage-0.1.0/docs/html/.doctrees/installation.doctree +0 -0
  51. decaylanguage-0.1.0/docs/html/.doctrees/readme.doctree +0 -0
  52. decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.decay.doctree +0 -0
  53. decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.doctree +0 -0
  54. decaylanguage-0.1.0/docs/html/.doctrees/reference/decaylanguage.particle.doctree +0 -0
  55. decaylanguage-0.1.0/docs/html/.doctrees/reference/index.doctree +0 -0
  56. decaylanguage-0.1.0/docs/html/.doctrees/usage.doctree +0 -0
  57. decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/amplitudechain.html +552 -0
  58. decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/goofit.html +526 -0
  59. decaylanguage-0.1.0/docs/html/_modules/decaylanguage/decay/utilities.html +276 -0
  60. decaylanguage-0.1.0/docs/html/_modules/decaylanguage/particle/particle.html +653 -0
  61. decaylanguage-0.1.0/docs/html/_modules/index.html +230 -0
  62. decaylanguage-0.1.0/docs/html/_sources/authors.rst.txt +1 -0
  63. decaylanguage-0.1.0/docs/html/_sources/changelog.rst.txt +1 -0
  64. decaylanguage-0.1.0/docs/html/_sources/contributing.rst.txt +1 -0
  65. decaylanguage-0.1.0/docs/html/_sources/index.rst.txt +22 -0
  66. decaylanguage-0.1.0/docs/html/_sources/installation.rst.txt +14 -0
  67. decaylanguage-0.1.0/docs/html/_sources/readme.rst.txt +1 -0
  68. decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.decay.rst.txt +18 -0
  69. decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.particle.rst.txt +9 -0
  70. decaylanguage-0.1.0/docs/html/_sources/reference/decaylanguage.rst.txt +9 -0
  71. decaylanguage-0.1.0/docs/html/_sources/reference/index.rst.txt +7 -0
  72. decaylanguage-0.1.0/docs/html/_sources/usage.rst.txt +7 -0
  73. decaylanguage-0.1.0/docs/html/_static/ajax-loader.gif +0 -0
  74. decaylanguage-0.1.0/docs/html/_static/basic.css +665 -0
  75. decaylanguage-0.1.0/docs/html/_static/comment-bright.png +0 -0
  76. decaylanguage-0.1.0/docs/html/_static/comment-close.png +0 -0
  77. decaylanguage-0.1.0/docs/html/_static/comment.png +0 -0
  78. decaylanguage-0.1.0/docs/html/_static/css/badge_only.css +2 -0
  79. decaylanguage-0.1.0/docs/html/_static/css/theme.css +5 -0
  80. decaylanguage-0.1.0/docs/html/_static/doctools.js +311 -0
  81. decaylanguage-0.1.0/docs/html/_static/documentation_options.js +9 -0
  82. decaylanguage-0.1.0/docs/html/_static/down-pressed.png +0 -0
  83. decaylanguage-0.1.0/docs/html/_static/down.png +0 -0
  84. decaylanguage-0.1.0/docs/html/_static/file.png +0 -0
  85. decaylanguage-0.1.0/docs/html/_static/fonts/Inconsolata-Bold.ttf +0 -0
  86. decaylanguage-0.1.0/docs/html/_static/fonts/Inconsolata-Regular.ttf +0 -0
  87. decaylanguage-0.1.0/docs/html/_static/fonts/Lato-Bold.ttf +0 -0
  88. decaylanguage-0.1.0/docs/html/_static/fonts/Lato-Regular.ttf +0 -0
  89. decaylanguage-0.1.0/docs/html/_static/fonts/RobotoSlab-Bold.ttf +0 -0
  90. decaylanguage-0.1.0/docs/html/_static/fonts/RobotoSlab-Regular.ttf +0 -0
  91. decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.eot +0 -0
  92. decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.svg +685 -0
  93. decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.ttf +0 -0
  94. decaylanguage-0.1.0/docs/html/_static/fonts/fontawesome-webfont.woff +0 -0
  95. decaylanguage-0.1.0/docs/html/_static/jquery-3.2.1.js +10253 -0
  96. decaylanguage-0.1.0/docs/html/_static/jquery.js +4 -0
  97. decaylanguage-0.1.0/docs/html/_static/js/modernizr.min.js +4 -0
  98. decaylanguage-0.1.0/docs/html/_static/js/theme.js +169 -0
  99. decaylanguage-0.1.0/docs/html/_static/minus.png +0 -0
  100. decaylanguage-0.1.0/docs/html/_static/plus.png +0 -0
  101. decaylanguage-0.1.0/docs/html/_static/pygments.css +67 -0
  102. decaylanguage-0.1.0/docs/html/_static/searchtools.js +761 -0
  103. decaylanguage-0.1.0/docs/html/_static/underscore-1.3.1.js +999 -0
  104. decaylanguage-0.1.0/docs/html/_static/underscore.js +31 -0
  105. decaylanguage-0.1.0/docs/html/_static/up-pressed.png +0 -0
  106. decaylanguage-0.1.0/docs/html/_static/up.png +0 -0
  107. decaylanguage-0.1.0/docs/html/_static/websupport.js +808 -0
  108. decaylanguage-0.1.0/docs/html/authors.html +244 -0
  109. decaylanguage-0.1.0/docs/html/changelog.html +247 -0
  110. decaylanguage-0.1.0/docs/html/contributing.html +345 -0
  111. decaylanguage-0.1.0/docs/html/genindex.html +409 -0
  112. decaylanguage-0.1.0/docs/html/index.html +276 -0
  113. decaylanguage-0.1.0/docs/html/installation.html +248 -0
  114. decaylanguage-0.1.0/docs/html/objects.inv +0 -0
  115. decaylanguage-0.1.0/docs/html/py-modindex.html +271 -0
  116. decaylanguage-0.1.0/docs/html/readme.html +314 -0
  117. decaylanguage-0.1.0/docs/html/reference/decaylanguage.decay.html +292 -0
  118. decaylanguage-0.1.0/docs/html/reference/decaylanguage.html +249 -0
  119. decaylanguage-0.1.0/docs/html/reference/decaylanguage.particle.html +393 -0
  120. decaylanguage-0.1.0/docs/html/reference/index.html +253 -0
  121. decaylanguage-0.1.0/docs/html/search.html +243 -0
  122. decaylanguage-0.1.0/docs/html/searchindex.js +1 -0
  123. decaylanguage-0.1.0/docs/html/usage.html +245 -0
  124. decaylanguage-0.1.0/docs/index.rst +22 -0
  125. decaylanguage-0.1.0/docs/installation.rst +14 -0
  126. decaylanguage-0.1.0/docs/readme.rst +1 -0
  127. decaylanguage-0.1.0/docs/reference/decaylanguage.decay.rst +33 -0
  128. decaylanguage-0.1.0/docs/reference/decaylanguage.particle.rst +9 -0
  129. decaylanguage-0.1.0/docs/reference/decaylanguage.rst +9 -0
  130. decaylanguage-0.1.0/docs/reference/index.rst +7 -0
  131. decaylanguage-0.1.0/docs/requirements.txt +3 -0
  132. decaylanguage-0.1.0/docs/spelling_wordlist.txt +11 -0
  133. decaylanguage-0.1.0/docs/usage.rst +24 -0
  134. decaylanguage-0.1.0/models/D0toKKpipi_model_v1.txt +455 -0
  135. decaylanguage-0.1.0/models/DtoKpipipi_v2.txt +224 -0
  136. decaylanguage-0.1.0/models/model2.csv +10 -0
  137. decaylanguage-0.1.0/notebooks/.ipynb_checkpoints/AmpGen2GooFit D2K3p-checkpoint.ipynb +1833 -0
  138. decaylanguage-0.1.0/notebooks/AmpGen2GooFit D2K3p.ipynb +1890 -0
  139. decaylanguage-0.1.0/notebooks/AmpGen2GooFit D2KKpipi.ipynb +1278 -0
  140. decaylanguage-0.1.0/notebooks/DtoKKpipi_v1.cu +715 -0
  141. decaylanguage-0.1.0/notebooks/DtoKpipipi_v2.cu +1539 -0
  142. decaylanguage-0.1.0/setup.cfg +35 -0
  143. decaylanguage-0.1.0/setup.py +77 -0
  144. decaylanguage-0.1.0/tests/output/DtoKpipipi_v2.cu +1539 -0
  145. decaylanguage-0.1.0/tests/test_convert.py +15 -0
  146. decaylanguage-0.1.0/tests/test_decaylanguage.py +6 -0
  147. decaylanguage-0.1.0/tests/test_goofit.py +19 -0
  148. decaylanguage-0.1.0/tests/test_particle.py +26 -0
  149. 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,16 @@
1
+ [paths]
2
+ source =
3
+ decaylanguage
4
+ */site-packages/decaylanguage
5
+
6
+ [run]
7
+ branch = true
8
+ source =
9
+ decaylanguage
10
+ tests
11
+ parallel = true
12
+
13
+ [report]
14
+ show_missing = true
15
+ precision = 2
16
+ omit = *migrations*
@@ -0,0 +1,13 @@
1
+ # see http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ end_of_line = lf
6
+ trim_trailing_whitespace = true
7
+ insert_final_newline = true
8
+ indent_style = space
9
+ indent_size = 4
10
+ charset = utf-8
11
+
12
+ [*.{bat,cmd,ps1}]
13
+ end_of_line = crlf
@@ -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,5 @@
1
+
2
+ Authors
3
+ =======
4
+
5
+ * Henry Fredrick Schreiner III - https://iscinumpy.gitlab.io
@@ -0,0 +1,8 @@
1
+
2
+ Changelog
3
+ =========
4
+
5
+ 0.1.0 (2018-03-13)
6
+ ------------------
7
+
8
+ * First release on PyPI.
@@ -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