simple-dag 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.
@@ -0,0 +1,13 @@
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * Tim Rohner <info@timrohner.ch>
9
+
10
+ Contributors
11
+ ------------
12
+
13
+ None yet. Why not be the first?
@@ -0,0 +1,128 @@
1
+ .. highlight:: shell
2
+
3
+ ============
4
+ Contributing
5
+ ============
6
+
7
+ Contributions are welcome, and they are greatly appreciated! Every little bit
8
+ helps, and credit will always be given.
9
+
10
+ You can contribute in many ways:
11
+
12
+ Types of Contributions
13
+ ----------------------
14
+
15
+ Report Bugs
16
+ ~~~~~~~~~~~
17
+
18
+ Report bugs at https://github.com/leokster/simple_dag/issues.
19
+
20
+ If you are reporting a bug, please include:
21
+
22
+ * Your operating system name and version.
23
+ * Any details about your local setup that might be helpful in troubleshooting.
24
+ * Detailed steps to reproduce the bug.
25
+
26
+ Fix Bugs
27
+ ~~~~~~~~
28
+
29
+ Look through the GitHub issues for bugs. Anything tagged with "bug" and "help
30
+ wanted" is open to whoever wants to implement it.
31
+
32
+ Implement Features
33
+ ~~~~~~~~~~~~~~~~~~
34
+
35
+ Look through the GitHub issues for features. Anything tagged with "enhancement"
36
+ and "help wanted" is open to whoever wants to implement it.
37
+
38
+ Write Documentation
39
+ ~~~~~~~~~~~~~~~~~~~
40
+
41
+ simple_dag could always use more documentation, whether as part of the
42
+ official simple_dag docs, in docstrings, or even on the web in blog posts,
43
+ articles, and such.
44
+
45
+ Submit Feedback
46
+ ~~~~~~~~~~~~~~~
47
+
48
+ The best way to send feedback is to file an issue at https://github.com/leokster/simple_dag/issues.
49
+
50
+ If you are proposing a feature:
51
+
52
+ * Explain in detail how it would work.
53
+ * Keep the scope as narrow as possible, to make it easier to implement.
54
+ * Remember that this is a volunteer-driven project, and that contributions
55
+ are welcome :)
56
+
57
+ Get Started!
58
+ ------------
59
+
60
+ Ready to contribute? Here's how to set up `simple_dag` for local development.
61
+
62
+ 1. Fork the `simple_dag` repo on GitHub.
63
+ 2. Clone your fork locally::
64
+
65
+ $ git clone git@github.com:your_name_here/simple_dag.git
66
+
67
+ 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
68
+
69
+ $ mkvirtualenv simple_dag
70
+ $ cd simple_dag/
71
+ $ python setup.py develop
72
+
73
+ 4. Create a branch for local development::
74
+
75
+ $ git checkout -b name-of-your-bugfix-or-feature
76
+
77
+ Now you can make your changes locally.
78
+
79
+ 5. When you're done making changes, check that your changes pass flake8 and the
80
+ tests, including testing other Python versions with tox::
81
+
82
+ $ flake8 simple_dag tests
83
+ $ python setup.py test or pytest
84
+ $ tox
85
+
86
+ To get flake8 and tox, just pip install them into your virtualenv.
87
+
88
+ 6. Commit your changes and push your branch to GitHub::
89
+
90
+ $ git add .
91
+ $ git commit -m "Your detailed description of your changes."
92
+ $ git push origin name-of-your-bugfix-or-feature
93
+
94
+ 7. Submit a pull request through the GitHub website.
95
+
96
+ Pull Request Guidelines
97
+ -----------------------
98
+
99
+ Before you submit a pull request, check that it meets these guidelines:
100
+
101
+ 1. The pull request should include tests.
102
+ 2. If the pull request adds functionality, the docs should be updated. Put
103
+ your new functionality into a function with a docstring, and add the
104
+ feature to the list in README.rst.
105
+ 3. The pull request should work for Python 3.5, 3.6, 3.7 and 3.8, and for PyPy. Check
106
+ https://travis-ci.com/leokster/simple_dag/pull_requests
107
+ and make sure that the tests pass for all supported Python versions.
108
+
109
+ Tips
110
+ ----
111
+
112
+ To run a subset of tests::
113
+
114
+ $ pytest tests.test_simple_dag
115
+
116
+
117
+ Deploying
118
+ ---------
119
+
120
+ A reminder for the maintainers on how to deploy.
121
+ Make sure all your changes are committed (including an entry in HISTORY.rst).
122
+ Then run::
123
+
124
+ $ bump2version patch # possible: major / minor / patch
125
+ $ git push
126
+ $ git push --tags
127
+
128
+ Travis will then deploy to PyPI if tests pass.
@@ -0,0 +1,8 @@
1
+ =======
2
+ History
3
+ =======
4
+
5
+ 0.1.0 (2023-05-18)
6
+ ------------------
7
+
8
+ * First release on PyPI.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023, Tim Rohner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,11 @@
1
+ include AUTHORS.rst
2
+ include CONTRIBUTING.rst
3
+ include HISTORY.rst
4
+ include LICENSE
5
+ include README.rst
6
+
7
+ recursive-include tests *
8
+ recursive-exclude * __pycache__
9
+ recursive-exclude * *.py[co]
10
+
11
+ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.1
2
+ Name: simple_dag
3
+ Version: 0.1.0
4
+ Summary: Create simple Pipelines with Python
5
+ Author-email: Tim Rohner <info@timrohner.ch>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2023, Tim Rohner
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+
29
+ Project-URL: Source, https://github.com/leokster/simple_dag
30
+ Keywords: simple_dag
31
+ Classifier: Development Status :: 2 - Pre-Alpha
32
+ Classifier: Intended Audience :: Developers
33
+ Classifier: License :: OSI Approved :: MIT License
34
+ Classifier: Natural Language :: English
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3.6
37
+ Classifier: Programming Language :: Python :: 3.7
38
+ Classifier: Programming Language :: Python :: 3.8
39
+ Description-Content-Type: text/x-rst
40
+ Provides-Extra: dev
41
+ License-File: LICENSE
42
+ License-File: AUTHORS.rst
43
+
44
+ ===============
45
+ simple_dag
46
+ ===============
47
+
48
+
49
+ .. image:: https://img.shields.io/pypi/v/simple_dag.svg
50
+ :target: https://pypi.python.org/pypi/simple_dag
51
+
52
+ .. image:: https://img.shields.io/travis/leokster/simple_dag.svg
53
+ :target: https://travis-ci.com/leokster/simple_dag
54
+
55
+ .. image:: https://readthedocs.org/projects/simple-pipeline/badge/?version=latest
56
+ :target: https://simple-pipeline.readthedocs.io/en/latest/?version=latest
57
+ :alt: Documentation Status
58
+
59
+
60
+ .. image:: https://pyup.io/repos/github/leokster/simple_dag/shield.svg
61
+ :target: https://pyup.io/repos/github/leokster/simple_dag/
62
+ :alt: Updates
63
+
64
+
65
+
66
+ Create simple Pipelines with Python
67
+
68
+
69
+ * Free software: MIT license
70
+ * Documentation: https://simple-pipeline.readthedocs.io.
71
+
72
+
73
+ Install:
74
+
75
+ .. code-block:: bash
76
+
77
+ pip install simple_dag
78
+
79
+ Features
80
+ --------
81
+
82
+ * TODO
83
+
@@ -0,0 +1,40 @@
1
+ ===============
2
+ simple_dag
3
+ ===============
4
+
5
+
6
+ .. image:: https://img.shields.io/pypi/v/simple_dag.svg
7
+ :target: https://pypi.python.org/pypi/simple_dag
8
+
9
+ .. image:: https://img.shields.io/travis/leokster/simple_dag.svg
10
+ :target: https://travis-ci.com/leokster/simple_dag
11
+
12
+ .. image:: https://readthedocs.org/projects/simple-pipeline/badge/?version=latest
13
+ :target: https://simple-pipeline.readthedocs.io/en/latest/?version=latest
14
+ :alt: Documentation Status
15
+
16
+
17
+ .. image:: https://pyup.io/repos/github/leokster/simple_dag/shield.svg
18
+ :target: https://pyup.io/repos/github/leokster/simple_dag/
19
+ :alt: Updates
20
+
21
+
22
+
23
+ Create simple Pipelines with Python
24
+
25
+
26
+ * Free software: MIT license
27
+ * Documentation: https://simple-pipeline.readthedocs.io.
28
+
29
+
30
+ Install:
31
+
32
+ .. code-block:: bash
33
+
34
+ pip install simple_dag
35
+
36
+ Features
37
+ --------
38
+
39
+ * TODO
40
+
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = python -msphinx
7
+ SPHINXPROJ = simple_dag
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1 @@
1
+ .. include:: ../AUTHORS.rst
@@ -0,0 +1,162 @@
1
+ #!/usr/bin/env python
2
+ #
3
+ # simple_dag documentation build configuration file, created by
4
+ # sphinx-quickstart on Fri Jun 9 13:47:02 2017.
5
+ #
6
+ # This file is execfile()d with the current directory set to its
7
+ # containing dir.
8
+ #
9
+ # Note that not all possible configuration values are present in this
10
+ # autogenerated file.
11
+ #
12
+ # All configuration values have a default; values that are commented out
13
+ # serve to show the default.
14
+
15
+ # If extensions (or modules to document with autodoc) are in another
16
+ # directory, add these directories to sys.path here. If the directory is
17
+ # relative to the documentation root, use os.path.abspath to make it
18
+ # absolute, like shown here.
19
+ #
20
+ import os
21
+ import sys
22
+ sys.path.insert(0, os.path.abspath('..'))
23
+
24
+ import simple_dag
25
+
26
+ # -- General configuration ---------------------------------------------
27
+
28
+ # If your documentation needs a minimal Sphinx version, state it here.
29
+ #
30
+ # needs_sphinx = '1.0'
31
+
32
+ # Add any Sphinx extension module names here, as strings. They can be
33
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34
+ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
35
+
36
+ # Add any paths that contain templates here, relative to this directory.
37
+ templates_path = ['_templates']
38
+
39
+ # The suffix(es) of source filenames.
40
+ # You can specify multiple suffix as a list of string:
41
+ #
42
+ # source_suffix = ['.rst', '.md']
43
+ source_suffix = '.rst'
44
+
45
+ # The master toctree document.
46
+ master_doc = 'index'
47
+
48
+ # General information about the project.
49
+ project = 'simple_dag'
50
+ copyright = "2023, Tim Rohner"
51
+ author = "Tim Rohner"
52
+
53
+ # The version info for the project you're documenting, acts as replacement
54
+ # for |version| and |release|, also used in various other places throughout
55
+ # the built documents.
56
+ #
57
+ # The short X.Y version.
58
+ version = simple_dag.__version__
59
+ # The full version, including alpha/beta/rc tags.
60
+ release = simple_dag.__version__
61
+
62
+ # The language for content autogenerated by Sphinx. Refer to documentation
63
+ # for a list of supported languages.
64
+ #
65
+ # This is also used if you do content translation via gettext catalogs.
66
+ # Usually you set "language" from the command line for these cases.
67
+ language = None
68
+
69
+ # List of patterns, relative to source directory, that match files and
70
+ # directories to ignore when looking for source files.
71
+ # This patterns also effect to html_static_path and html_extra_path
72
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
73
+
74
+ # The name of the Pygments (syntax highlighting) style to use.
75
+ pygments_style = 'sphinx'
76
+
77
+ # If true, `todo` and `todoList` produce output, else they produce nothing.
78
+ todo_include_todos = False
79
+
80
+
81
+ # -- Options for HTML output -------------------------------------------
82
+
83
+ # The theme to use for HTML and HTML Help pages. See the documentation for
84
+ # a list of builtin themes.
85
+ #
86
+ html_theme = "sphinx_rtd_theme"
87
+
88
+ # Theme options are theme-specific and customize the look and feel of a
89
+ # theme further. For a list of options available for each theme, see the
90
+ # documentation.
91
+ #
92
+ # html_theme_options = {}
93
+
94
+ # Add any paths that contain custom static files (such as style sheets) here,
95
+ # relative to this directory. They are copied after the builtin static files,
96
+ # so a file named "default.css" will overwrite the builtin "default.css".
97
+ html_static_path = ['_static']
98
+
99
+
100
+ # -- Options for HTMLHelp output ---------------------------------------
101
+
102
+ # Output file base name for HTML help builder.
103
+ htmlhelp_basename = 'simple_dagdoc'
104
+
105
+
106
+ # -- Options for LaTeX output ------------------------------------------
107
+
108
+ latex_elements = {
109
+ # The paper size ('letterpaper' or 'a4paper').
110
+ #
111
+ # 'papersize': 'letterpaper',
112
+
113
+ # The font size ('10pt', '11pt' or '12pt').
114
+ #
115
+ # 'pointsize': '10pt',
116
+
117
+ # Additional stuff for the LaTeX preamble.
118
+ #
119
+ # 'preamble': '',
120
+
121
+ # Latex figure (float) alignment
122
+ #
123
+ # 'figure_align': 'htbp',
124
+ }
125
+
126
+ # Grouping the document tree into LaTeX files. List of tuples
127
+ # (source start file, target name, title, author, documentclass
128
+ # [howto, manual, or own class]).
129
+ latex_documents = [
130
+ (master_doc, 'simple_dag.tex',
131
+ 'simple_dag Documentation',
132
+ 'Tim Rohner', 'manual'),
133
+ ]
134
+
135
+
136
+ # -- Options for manual page output ------------------------------------
137
+
138
+ # One entry per manual page. List of tuples
139
+ # (source start file, name, description, authors, manual section).
140
+ man_pages = [
141
+ (master_doc, 'simple_dag',
142
+ 'simple_dag Documentation',
143
+ [author], 1)
144
+ ]
145
+
146
+
147
+ # -- Options for Texinfo output ----------------------------------------
148
+
149
+ # Grouping the document tree into Texinfo files. List of tuples
150
+ # (source start file, target name, title, author,
151
+ # dir menu entry, description, category)
152
+ texinfo_documents = [
153
+ (master_doc, 'simple_dag',
154
+ 'simple_dag Documentation',
155
+ author,
156
+ 'simple_dag',
157
+ 'One line description of project.',
158
+ 'Miscellaneous'),
159
+ ]
160
+
161
+
162
+
@@ -0,0 +1 @@
1
+ .. include:: ../CONTRIBUTING.rst
@@ -0,0 +1 @@
1
+ .. include:: ../HISTORY.rst
@@ -0,0 +1,20 @@
1
+ Welcome to simple_dag's documentation!
2
+ ===========================================
3
+
4
+
5
+ .. toctree::
6
+ :maxdepth: 2
7
+ :caption: Contents:
8
+
9
+ readme
10
+ installation
11
+ usage
12
+ contributing
13
+ authors
14
+ history
15
+
16
+ Indices and tables
17
+ ==================
18
+ * :ref:`genindex`
19
+ * :ref:`modindex`
20
+ * :ref:`search`
@@ -0,0 +1,51 @@
1
+ .. highlight:: shell
2
+
3
+ ============
4
+ Installation
5
+ ============
6
+
7
+
8
+ Stable release
9
+ --------------
10
+
11
+ To install simple_dag, run this command in your terminal:
12
+
13
+ .. code-block:: console
14
+
15
+ $ pip install simple_dag
16
+
17
+ This is the preferred method to install simple_dag, as it will always install the most recent stable release.
18
+
19
+ If you don't have `pip`_ installed, this `Python installation guide`_ can guide
20
+ you through the process.
21
+
22
+ .. _pip: https://pip.pypa.io
23
+ .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
24
+
25
+
26
+ From sources
27
+ ------------
28
+
29
+ The sources for simple_dag can be downloaded from the `Github repo`_.
30
+
31
+ You can either clone the public repository:
32
+
33
+ .. code-block:: console
34
+
35
+ $ git clone git://github.com/leokster/simple_dag
36
+
37
+ Or download the `tarball`_:
38
+
39
+ .. code-block:: console
40
+
41
+ $ curl -OJL https://github.com/leokster/simple_dag/tarball/master
42
+
43
+ Once you have a copy of the source, you can install it with:
44
+
45
+ .. code-block:: console
46
+
47
+ $ python setup.py install
48
+
49
+
50
+ .. _Github repo: https://github.com/leokster/simple_dag
51
+ .. _tarball: https://github.com/leokster/simple_dag/tarball/master
@@ -0,0 +1,36 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=python -msphinx
9
+ )
10
+ set SOURCEDIR=.
11
+ set BUILDDIR=_build
12
+ set SPHINXPROJ=simple_dag
13
+
14
+ if "%1" == "" goto help
15
+
16
+ %SPHINXBUILD% >NUL 2>NUL
17
+ if errorlevel 9009 (
18
+ echo.
19
+ echo.The Sphinx module was not found. Make sure you have Sphinx installed,
20
+ echo.then set the SPHINXBUILD environment variable to point to the full
21
+ echo.path of the 'sphinx-build' executable. Alternatively you may add the
22
+ echo.Sphinx directory to PATH.
23
+ echo.
24
+ echo.If you don't have Sphinx installed, grab it from
25
+ echo.http://sphinx-doc.org/
26
+ exit /b 1
27
+ )
28
+
29
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30
+ goto end
31
+
32
+ :help
33
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34
+
35
+ :end
36
+ popd
@@ -0,0 +1,7 @@
1
+ simple_dag
2
+ ===============
3
+
4
+ .. toctree::
5
+ :maxdepth: 4
6
+
7
+ simple_dag
@@ -0,0 +1 @@
1
+ .. include:: ../README.rst
@@ -0,0 +1,37 @@
1
+ simple\_pipeline package
2
+ ========================
3
+
4
+ Submodules
5
+ ----------
6
+
7
+ simple\_pipeline.cli module
8
+ ---------------------------
9
+
10
+ .. automodule:: simple_dag.cli
11
+ :members:
12
+ :undoc-members:
13
+ :show-inheritance:
14
+
15
+ simple\_pipeline.dagster module
16
+ -------------------------------
17
+
18
+ .. automodule:: simple_dag.dagster
19
+ :members:
20
+ :undoc-members:
21
+ :show-inheritance:
22
+
23
+ simple\_pipeline.transforms module
24
+ ----------------------------------
25
+
26
+ .. automodule:: simple_dag.transforms
27
+ :members:
28
+ :undoc-members:
29
+ :show-inheritance:
30
+
31
+ Module contents
32
+ ---------------
33
+
34
+ .. automodule:: simple_dag
35
+ :members:
36
+ :undoc-members:
37
+ :show-inheritance:
@@ -0,0 +1,7 @@
1
+ =====
2
+ Usage
3
+ =====
4
+
5
+ To use simple_dag in a project::
6
+
7
+ import simple_dag
@@ -0,0 +1,63 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+
4
+ [project]
5
+ name = "simple_dag"
6
+ version = "0.1.0"
7
+ description = "Create simple Pipelines with Python"
8
+ readme = "README.rst"
9
+ license = {file = "LICENSE"}
10
+ authors = [{name = "Tim Rohner", email = "info@timrohner.ch"}]
11
+ keywords = ["simple_dag"]
12
+ # homepage = "https://github.com/leokster/simple_dag"
13
+ classifiers = [
14
+ "Development Status :: 2 - Pre-Alpha",
15
+ "Intended Audience :: Developers",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Natural Language :: English",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.6",
20
+ "Programming Language :: Python :: 3.7",
21
+ "Programming Language :: Python :: 3.8"
22
+ ]
23
+ dependencies = [
24
+ "Click>=7.0, <=8.1.3",
25
+ "dagit>=1.3.4",
26
+ "dagster>=0.10.0",
27
+ "pandas>=2.0.1, <=2.0.1"
28
+ ]
29
+
30
+
31
+ [project.scripts]
32
+ simple_dag = "simple_dag.cli:main"
33
+
34
+ [project.urls]
35
+ Source = "https://github.com/leokster/simple_dag"
36
+
37
+
38
+ [project.optional-dependencies]
39
+ dev = [
40
+ "pip >=19.2.3, <= 23.1.2",
41
+ "bump2version >=0.5.11, <= 1.0.1",
42
+ "wheel >=0.33.6, <= 0.40.0",
43
+ "watchdog >=0.9.0, <= 3.0.0",
44
+ "flake8 >=3.7.8, <= 3.7.8",
45
+ "tox >=3.14.0, <= 4.5.1",
46
+ "coverage >=4.5.4, <= 7.2.5",
47
+ "Sphinx >=1.8.5, <= 6.2.1",
48
+ "sphinx-rtd-theme >= 1.2.0, <= 1.2.0",
49
+ "twine >=1.14.0, <= 1.14.0",
50
+ "Click >=7.1.2, <= 8.1.3",
51
+ "pytest >=6.2.4, <= 7.3.1",
52
+ "black >=21.7b0, <= 23.3.0"
53
+ ]
54
+
55
+
56
+ [tool.setuptools.packages.find]
57
+ include = ["simple_dag", "simple_dag.*"]
58
+
59
+ # [tool.setuptools.package-data]
60
+ # "*" = ["*.html"]
61
+
62
+ [tool.setuptools_scm]
63
+ write_to = "simple_dag/_version.py"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.1
2
+ Name: simple-dag
3
+ Version: 0.1.0
4
+ Summary: Create simple Pipelines with Python
5
+ Author-email: Tim Rohner <info@timrohner.ch>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2023, Tim Rohner
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+
29
+ Project-URL: Source, https://github.com/leokster/simple_dag
30
+ Keywords: simple_dag
31
+ Classifier: Development Status :: 2 - Pre-Alpha
32
+ Classifier: Intended Audience :: Developers
33
+ Classifier: License :: OSI Approved :: MIT License
34
+ Classifier: Natural Language :: English
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3.6
37
+ Classifier: Programming Language :: Python :: 3.7
38
+ Classifier: Programming Language :: Python :: 3.8
39
+ Description-Content-Type: text/x-rst
40
+ Provides-Extra: dev
41
+ License-File: LICENSE
42
+ License-File: AUTHORS.rst
43
+
44
+ ===============
45
+ simple_dag
46
+ ===============
47
+
48
+
49
+ .. image:: https://img.shields.io/pypi/v/simple_dag.svg
50
+ :target: https://pypi.python.org/pypi/simple_dag
51
+
52
+ .. image:: https://img.shields.io/travis/leokster/simple_dag.svg
53
+ :target: https://travis-ci.com/leokster/simple_dag
54
+
55
+ .. image:: https://readthedocs.org/projects/simple-pipeline/badge/?version=latest
56
+ :target: https://simple-pipeline.readthedocs.io/en/latest/?version=latest
57
+ :alt: Documentation Status
58
+
59
+
60
+ .. image:: https://pyup.io/repos/github/leokster/simple_dag/shield.svg
61
+ :target: https://pyup.io/repos/github/leokster/simple_dag/
62
+ :alt: Updates
63
+
64
+
65
+
66
+ Create simple Pipelines with Python
67
+
68
+
69
+ * Free software: MIT license
70
+ * Documentation: https://simple-pipeline.readthedocs.io.
71
+
72
+
73
+ Install:
74
+
75
+ .. code-block:: bash
76
+
77
+ pip install simple_dag
78
+
79
+ Features
80
+ --------
81
+
82
+ * TODO
83
+
@@ -0,0 +1,30 @@
1
+ AUTHORS.rst
2
+ CONTRIBUTING.rst
3
+ HISTORY.rst
4
+ LICENSE
5
+ MANIFEST.in
6
+ README.rst
7
+ pyproject.toml
8
+ docs/Makefile
9
+ docs/authors.rst
10
+ docs/conf.py
11
+ docs/contributing.rst
12
+ docs/history.rst
13
+ docs/index.rst
14
+ docs/installation.rst
15
+ docs/make.bat
16
+ docs/modules.rst
17
+ docs/readme.rst
18
+ docs/simple_pipeline.rst
19
+ docs/usage.rst
20
+ docs/_build/html/_static/file.png
21
+ docs/_build/html/_static/minus.png
22
+ docs/_build/html/_static/plus.png
23
+ simple_dag.egg-info/PKG-INFO
24
+ simple_dag.egg-info/SOURCES.txt
25
+ simple_dag.egg-info/dependency_links.txt
26
+ simple_dag.egg-info/entry_points.txt
27
+ simple_dag.egg-info/requires.txt
28
+ simple_dag.egg-info/top_level.txt
29
+ tests/__init__.py
30
+ tests/test_simple_pipeline.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ simple_dag = simple_dag.cli:main
@@ -0,0 +1,19 @@
1
+ Click<=8.1.3,>=7.0
2
+ dagit>=1.3.4
3
+ dagster>=0.10.0
4
+ pandas<=2.0.1,>=2.0.1
5
+
6
+ [dev]
7
+ pip<=23.1.2,>=19.2.3
8
+ bump2version<=1.0.1,>=0.5.11
9
+ wheel<=0.40.0,>=0.33.6
10
+ watchdog<=3.0.0,>=0.9.0
11
+ flake8<=3.7.8,>=3.7.8
12
+ tox<=4.5.1,>=3.14.0
13
+ coverage<=7.2.5,>=4.5.4
14
+ Sphinx<=6.2.1,>=1.8.5
15
+ sphinx-rtd-theme<=1.2.0,>=1.2.0
16
+ twine<=1.14.0,>=1.14.0
17
+ Click<=8.1.3,>=7.1.2
18
+ pytest<=7.3.1,>=6.2.4
19
+ black<=23.3.0,>=21.7b0
@@ -0,0 +1 @@
1
+ """Unit test package for simple_dag."""
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env python
2
+
3
+ """Tests for `simple_dag` package."""
4
+
5
+ import pytest
6
+
7
+ from click.testing import CliRunner
8
+
9
+ from simple_dag import simple_dag
10
+ from simple_dag import cli
11
+
12
+
13
+ @pytest.fixture
14
+ def response():
15
+ """Sample pytest fixture.
16
+
17
+ See more at: http://doc.pytest.org/en/latest/fixture.html
18
+ """
19
+ # import requests
20
+ # return requests.get('https://github.com/audreyr/cookiecutter-pypackage')
21
+
22
+
23
+ def test_content(response):
24
+ """Sample pytest test function with the pytest fixture as an argument."""
25
+ # from bs4 import BeautifulSoup
26
+ # assert 'GitHub' in BeautifulSoup(response.content).title.string
27
+
28
+
29
+ def test_command_line_interface():
30
+ """Test the CLI."""
31
+ runner = CliRunner()
32
+ result = runner.invoke(cli.main)
33
+ assert result.exit_code == 0
34
+ assert 'simple_dag.cli.main' in result.output
35
+ help_result = runner.invoke(cli.main, ['--help'])
36
+ assert help_result.exit_code == 0
37
+ assert '--help Show this message and exit.' in help_result.output