pyopensign 1.0.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 (50) hide show
  1. pyopensign-1.0.0/.github/workflows/build.yml +54 -0
  2. pyopensign-1.0.0/.github/workflows/release.yml +42 -0
  3. pyopensign-1.0.0/.gitignore +18 -0
  4. pyopensign-1.0.0/.pre-commit-config.yaml +21 -0
  5. pyopensign-1.0.0/.readthedocs.yaml +22 -0
  6. pyopensign-1.0.0/LICENSE +21 -0
  7. pyopensign-1.0.0/LICENSE.license +3 -0
  8. pyopensign-1.0.0/LICENSES/MIT.txt +19 -0
  9. pyopensign-1.0.0/LICENSES/Unlicense.txt +20 -0
  10. pyopensign-1.0.0/PKG-INFO +75 -0
  11. pyopensign-1.0.0/README.rst +50 -0
  12. pyopensign-1.0.0/README.rst.license +3 -0
  13. pyopensign-1.0.0/docs/_static/.gitignore +8 -0
  14. pyopensign-1.0.0/docs/api.rst +3 -0
  15. pyopensign-1.0.0/docs/api.rst.license +3 -0
  16. pyopensign-1.0.0/docs/conf.py +164 -0
  17. pyopensign-1.0.0/docs/examples.rst +6 -0
  18. pyopensign-1.0.0/docs/examples.rst.license +3 -0
  19. pyopensign-1.0.0/docs/index.rst +33 -0
  20. pyopensign-1.0.0/docs/index.rst.license +3 -0
  21. pyopensign-1.0.0/docs/installation.rst +132 -0
  22. pyopensign-1.0.0/docs/installation.rst.license +3 -0
  23. pyopensign-1.0.0/docs/requirements.txt +7 -0
  24. pyopensign-1.0.0/examples/64x32_two_lines.py +28 -0
  25. pyopensign-1.0.0/examples/background.jpg +0 -0
  26. pyopensign-1.0.0/examples/background.jpg.license +3 -0
  27. pyopensign-1.0.0/examples/demo.py +71 -0
  28. pyopensign-1.0.0/examples/logo.png +0 -0
  29. pyopensign-1.0.0/examples/logo.png.license +3 -0
  30. pyopensign-1.0.0/examples/multicolored_text.py +28 -0
  31. pyopensign-1.0.0/examples/opensign_is_available.py +31 -0
  32. pyopensign-1.0.0/examples/stroked_text.py +28 -0
  33. pyopensign-1.0.0/examples/stroked_text_on_background_with_shadow.py +31 -0
  34. pyopensign-1.0.0/examples/text_on_background.py +29 -0
  35. pyopensign-1.0.0/install-service.sh +69 -0
  36. pyopensign-1.0.0/install.sh +102 -0
  37. pyopensign-1.0.0/opensign/__init__.py +737 -0
  38. pyopensign-1.0.0/opensign/canvas.py +293 -0
  39. pyopensign-1.0.0/pyopensign.egg-info/PKG-INFO +75 -0
  40. pyopensign-1.0.0/pyopensign.egg-info/SOURCES.txt +48 -0
  41. pyopensign-1.0.0/pyopensign.egg-info/dependency_links.txt +1 -0
  42. pyopensign-1.0.0/pyopensign.egg-info/requires.txt +1 -0
  43. pyopensign-1.0.0/pyopensign.egg-info/top_level.txt +1 -0
  44. pyopensign-1.0.0/pyproject.toml +54 -0
  45. pyopensign-1.0.0/requirements.txt +5 -0
  46. pyopensign-1.0.0/ruff.toml +107 -0
  47. pyopensign-1.0.0/service/opensign.conf +14 -0
  48. pyopensign-1.0.0/service/opensign.service +25 -0
  49. pyopensign-1.0.0/setup.cfg +4 -0
  50. pyopensign-1.0.0/startup.py +64 -0
@@ -0,0 +1,54 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Build CI
6
+
7
+ on: [pull_request, push]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Set up Python 3.12
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: "3.12"
17
+ - name: Versions
18
+ run: |
19
+ python3 --version
20
+ - name: Checkout Current Repo
21
+ uses: actions/checkout@v4
22
+ with:
23
+ submodules: true
24
+ fetch-depth: 0
25
+ - name: Install dependencies
26
+ run: |
27
+ sudo apt-get update
28
+ sudo apt-get install -y gettext
29
+ pip install -r requirements.txt
30
+ - name: Install RGB Matrix Library Python Bindings
31
+ run: |
32
+ sudo apt-get install -y python3-dev cython3
33
+ PILLOW_SRC="$RUNNER_TEMP/pillow-src"
34
+ pip download --no-binary :all: --no-deps pillow -d "$PILLOW_SRC"
35
+ tar xzf "$PILLOW_SRC"/pillow-*.tar.gz -C "$PILLOW_SRC"
36
+ PILLOW_INC=$(dirname $(find "$PILLOW_SRC" -name Imaging.h | head -1))
37
+ CFLAGS="-I$PILLOW_INC" pip install git+https://github.com/hzeller/rpi-rgb-led-matrix
38
+ - name: Install ruff, reuse, & Sphinx
39
+ run: |
40
+ pip install --force-reinstall ruff reuse Sphinx sphinx-rtd-theme
41
+ - name: Library version
42
+ run: git describe --dirty --always --tags
43
+ - name: Check formatting
44
+ run: |
45
+ ruff format --check
46
+ - name: Lint
47
+ run: |
48
+ ruff check
49
+ - name: Check License Compliance
50
+ run: |
51
+ reuse lint
52
+ - name: Build docs
53
+ working-directory: docs
54
+ run: sphinx-build -E -W -b html . _build/html
@@ -0,0 +1,42 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Release Actions
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ upload-pypi:
13
+ runs-on: ubuntu-latest
14
+ # Trusted Publishing (OIDC) needs an environment + id-token permission.
15
+ environment: pypi
16
+ permissions:
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
22
+ - name: Check For pyproject.toml
23
+ id: need-pypi
24
+ run: |
25
+ echo "pyproject-toml=$( find . -wholename './pyproject.toml' )" >> $GITHUB_OUTPUT
26
+ - name: Set up Python
27
+ if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
28
+ uses: actions/setup-python@v5
29
+ with:
30
+ python-version: "3.12"
31
+ - name: Install dependencies
32
+ if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
33
+ run: |
34
+ python -m pip install --upgrade pip
35
+ pip install build
36
+ - name: Build
37
+ if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
38
+ run: |
39
+ python -m build
40
+ - name: Publish to PyPI
41
+ if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
42
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,18 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ *.mpy
6
+ .idea
7
+ __pycache__
8
+ _build
9
+ *.pyc
10
+ .env
11
+ .python-version
12
+ build*/
13
+ bundles
14
+ *.DS_Store
15
+ .eggs
16
+ dist
17
+ **/*.egg-info
18
+ .vscode
@@ -0,0 +1,21 @@
1
+ # SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v6.0.0
8
+ hooks:
9
+ - id: check-yaml
10
+ - id: end-of-file-fixer
11
+ - id: trailing-whitespace
12
+ - repo: https://github.com/astral-sh/ruff-pre-commit
13
+ rev: v0.15.8
14
+ hooks:
15
+ - id: ruff-format
16
+ - id: ruff
17
+ args: ["--fix"]
18
+ - repo: https://github.com/fsfe/reuse-tool
19
+ rev: v6.2.0
20
+ hooks:
21
+ - id: reuse
@@ -0,0 +1,22 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # Read the Docs configuration file
6
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
7
+
8
+ # Required
9
+ version: 2
10
+
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+
14
+ build:
15
+ os: ubuntu-lts-latest
16
+ tools:
17
+ python: "3"
18
+
19
+ python:
20
+ install:
21
+ - requirements: docs/requirements.txt
22
+ - requirements: requirements.txt
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Melissa LeBlanc-Williams
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.
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+
3
+ SPDX-License-Identifier: MIT
@@ -0,0 +1,19 @@
1
+ MIT License Copyright (c) <year> <copyright holders>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is furnished
8
+ to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice (including the next
11
+ paragraph) shall be included in all copies or substantial portions of the
12
+ Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
17
+ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19
+ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or distribute
4
+ this software, either in source code form or as a compiled binary, for any
5
+ purpose, commercial or non-commercial, and by any means.
6
+
7
+ In jurisdictions that recognize copyright laws, the author or authors of this
8
+ software dedicate any and all copyright interest in the software to the public
9
+ domain. We make this dedication for the benefit of the public at large and
10
+ to the detriment of our heirs and successors. We intend this dedication to
11
+ be an overt act of relinquishment in perpetuity of all present and future
12
+ rights to this software under copyright law.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
17
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
19
+ THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information,
20
+ please refer to <https://unlicense.org/>
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyopensign
3
+ Version: 1.0.0
4
+ Summary: A library to facilitate easy Python RGB Matrix Sign Animations.
5
+ Author-email: Melissa LeBlanc-Williams <melissa@makermelissa.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Maker-Melissa/PyOpenSign
8
+ Keywords: opensign,open,sign,rgb,matrix,led,animation,hzeller,makermelissa
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Libraries
12
+ Classifier: Topic :: System :: Hardware
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.8
20
+ Description-Content-Type: text/x-rst
21
+ License-File: LICENSE
22
+ License-File: LICENSE.license
23
+ Requires-Dist: pillow>=9.2.0
24
+ Dynamic: license-file
25
+
26
+ Introduction
27
+ ============
28
+
29
+ .. image:: https://readthedocs.org/projects/pyopensign/badge/?version=latest
30
+ :target: https://pyopensign.readthedocs.io/en/latest/
31
+ :alt: Documentation Status
32
+
33
+ .. image:: https://github.com/Maker-Melissa/PyOpenSign/workflows/Build%20CI/badge.svg
34
+ :target: https://github.com/Maker-Melissa/PyOpenSign/actions
35
+ :alt: Build Status
36
+
37
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
38
+ :target: https://github.com/astral-sh/ruff
39
+ :alt: Code Style: Ruff
40
+
41
+ A library to facilitate easy RGB Matrix Sign Animations.
42
+
43
+
44
+ Dependencies
45
+ =============
46
+ This library depends on:
47
+
48
+ * `Henner Zeller RPi RGB LED Matrix <https://github.com/hzeller/rpi-rgb-led-matrix/>`_
49
+ * `Python Bindings for RGB Matrix Library <https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/bindings/python>`_
50
+ * `Python Imaging Library (Pillow) <https://pypi.org/project/Pillow/>`_
51
+
52
+ Installing from PyPI
53
+ =====================
54
+
55
+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
56
+ PyPI <https://pypi.org/project/pyopensign/>`_. To install for current user:
57
+
58
+ .. code-block:: shell
59
+
60
+ pip3 install pyopensign
61
+
62
+ To install system-wide (this may be required in some cases):
63
+
64
+ .. code-block:: shell
65
+
66
+ sudo pip3 install pyopensign
67
+
68
+ To install in a virtual environment in your current project:
69
+
70
+ .. code-block:: shell
71
+
72
+ mkdir project-name && cd project-name
73
+ python3 -m venv .env
74
+ source .env/bin/activate
75
+ pip3 install pyopensign
@@ -0,0 +1,50 @@
1
+ Introduction
2
+ ============
3
+
4
+ .. image:: https://readthedocs.org/projects/pyopensign/badge/?version=latest
5
+ :target: https://pyopensign.readthedocs.io/en/latest/
6
+ :alt: Documentation Status
7
+
8
+ .. image:: https://github.com/Maker-Melissa/PyOpenSign/workflows/Build%20CI/badge.svg
9
+ :target: https://github.com/Maker-Melissa/PyOpenSign/actions
10
+ :alt: Build Status
11
+
12
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
13
+ :target: https://github.com/astral-sh/ruff
14
+ :alt: Code Style: Ruff
15
+
16
+ A library to facilitate easy RGB Matrix Sign Animations.
17
+
18
+
19
+ Dependencies
20
+ =============
21
+ This library depends on:
22
+
23
+ * `Henner Zeller RPi RGB LED Matrix <https://github.com/hzeller/rpi-rgb-led-matrix/>`_
24
+ * `Python Bindings for RGB Matrix Library <https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/bindings/python>`_
25
+ * `Python Imaging Library (Pillow) <https://pypi.org/project/Pillow/>`_
26
+
27
+ Installing from PyPI
28
+ =====================
29
+
30
+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
31
+ PyPI <https://pypi.org/project/pyopensign/>`_. To install for current user:
32
+
33
+ .. code-block:: shell
34
+
35
+ pip3 install pyopensign
36
+
37
+ To install system-wide (this may be required in some cases):
38
+
39
+ .. code-block:: shell
40
+
41
+ sudo pip3 install pyopensign
42
+
43
+ To install in a virtual environment in your current project:
44
+
45
+ .. code-block:: shell
46
+
47
+ mkdir project-name && cd project-name
48
+ python3 -m venv .env
49
+ source .env/bin/activate
50
+ pip3 install pyopensign
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+
3
+ SPDX-License-Identifier: MIT
@@ -0,0 +1,8 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # Ignore everything in this directory
6
+ *
7
+ # Except this file
8
+ !.gitignore
@@ -0,0 +1,3 @@
1
+
2
+ .. automodule:: opensign
3
+ :members:
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+
3
+ SPDX-License-Identifier: MIT
@@ -0,0 +1,164 @@
1
+ # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ import os
6
+ import sys
7
+
8
+ sys.path.insert(0, os.path.abspath(".."))
9
+
10
+ # -- General configuration ------------------------------------------------
11
+
12
+ # Add any Sphinx extension module names here, as strings. They can be
13
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
14
+ # ones.
15
+ extensions = [
16
+ "sphinx.ext.autodoc",
17
+ "sphinx.ext.intersphinx",
18
+ "sphinx.ext.napoleon",
19
+ "sphinx.ext.todo",
20
+ ]
21
+
22
+ autodoc_mock_imports = ["rgbmatrix"]
23
+
24
+ intersphinx_mapping = {
25
+ "python": ("https://docs.python.org/3.12", None),
26
+ }
27
+
28
+ # Add any paths that contain templates here, relative to this directory.
29
+ templates_path = ["_templates"]
30
+
31
+ source_suffix = ".rst"
32
+
33
+ # The master toctree document.
34
+ master_doc = "index"
35
+
36
+ # General information about the project.
37
+ project = "PyOpenSign Library"
38
+ copyright = "2020 Melissa LeBlanc-Williams"
39
+ author = "Melissa LeBlanc-Williams"
40
+
41
+ # The version info for the project you're documenting, acts as replacement for
42
+ # |version| and |release|, also used in various other places throughout the
43
+ # built documents.
44
+ #
45
+ # The short X.Y version.
46
+ version = "1.0"
47
+ # The full version, including alpha/beta/rc tags.
48
+ release = "1.0"
49
+
50
+ # The language for content autogenerated by Sphinx. Refer to documentation
51
+ # for a list of supported languages.
52
+ #
53
+ # This is also used if you do content translation via gettext catalogs.
54
+ # Usually you set "language" from the command line for these cases.
55
+ language = "en"
56
+
57
+ # List of patterns, relative to source directory, that match files and
58
+ # directories to ignore when looking for source files.
59
+ # This patterns also effect to html_static_path and html_extra_path
60
+ exclude_patterns = [
61
+ "_build",
62
+ "Thumbs.db",
63
+ ".DS_Store",
64
+ ".env",
65
+ "CODE_OF_CONDUCT.md",
66
+ ]
67
+
68
+ # The reST default role (used for this markup: `text`) to use for all
69
+ # documents.
70
+ #
71
+ default_role = "any"
72
+
73
+ # If true, '()' will be appended to :func: etc. cross-reference text.
74
+ #
75
+ add_function_parentheses = True
76
+
77
+ # The name of the Pygments (syntax highlighting) style to use.
78
+ pygments_style = "sphinx"
79
+
80
+ # If true, `todo` and `todoList` produce output, else they produce nothing.
81
+ todo_include_todos = False
82
+
83
+ # If this is True, todo emits a warning for each TODO entries. The default is False.
84
+ todo_emit_warnings = True
85
+
86
+ napoleon_numpy_docstring = False
87
+
88
+ # -- Options for HTML output ----------------------------------------------
89
+
90
+ # The theme to use for HTML and HTML Help pages. See the documentation for
91
+ # a list of builtin themes.
92
+ #
93
+ html_theme = "sphinx_rtd_theme"
94
+
95
+ # Add any paths that contain custom static files (such as style sheets) here,
96
+ # relative to this directory. They are copied after the builtin static files,
97
+ # so a file named "default.css" will overwrite the builtin "default.css".
98
+ html_static_path = ["_static"]
99
+
100
+ # The name of an image file (relative to this directory) to use as a favicon of
101
+ # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
102
+ # pixels large.
103
+ #
104
+ html_favicon = ""
105
+
106
+ # Output file base name for HTML help builder.
107
+ htmlhelp_basename = "PyOpenSignLibrarydoc"
108
+
109
+ # -- Options for LaTeX output ---------------------------------------------
110
+
111
+ latex_elements = {
112
+ # The paper size ('letterpaper' or 'a4paper').
113
+ # 'papersize': 'letterpaper',
114
+ # The font size ('10pt', '11pt' or '12pt').
115
+ # 'pointsize': '10pt',
116
+ # Additional stuff for the LaTeX preamble.
117
+ # 'preamble': '',
118
+ # Latex figure (float) alignment
119
+ # 'figure_align': 'htbp',
120
+ }
121
+
122
+ # Grouping the document tree into LaTeX files. List of tuples
123
+ # (source start file, target name, title,
124
+ # author, documentclass [howto, manual, or own class]).
125
+ latex_documents = [
126
+ (
127
+ master_doc,
128
+ "PyOpenSignLibrary.tex",
129
+ "PyOpenSign Library Documentation",
130
+ author,
131
+ "manual",
132
+ ),
133
+ ]
134
+
135
+ # -- Options for manual page output ---------------------------------------
136
+
137
+ # One entry per manual page. List of tuples
138
+ # (source start file, name, description, authors, manual section).
139
+ man_pages = [
140
+ (
141
+ master_doc,
142
+ "pyopensignlibrary",
143
+ "PyOpenSign Library Documentation",
144
+ [author],
145
+ 1,
146
+ ),
147
+ ]
148
+
149
+ # -- Options for Texinfo output -------------------------------------------
150
+
151
+ # Grouping the document tree into Texinfo files. List of tuples
152
+ # (source start file, target name, title, author,
153
+ # dir menu entry, description, category)
154
+ texinfo_documents = [
155
+ (
156
+ master_doc,
157
+ "PyOpenSignLibrary",
158
+ "PyOpenSign Library Documentation",
159
+ author,
160
+ "PyOpenSignLibrary",
161
+ "One line description of project.",
162
+ "Miscellaneous",
163
+ ),
164
+ ]
@@ -0,0 +1,6 @@
1
+ Demo
2
+ ------------
3
+
4
+ .. literalinclude:: ../examples/demo.py
5
+ :caption: examples/demo.py
6
+ :linenos:
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+
3
+ SPDX-License-Identifier: MIT
@@ -0,0 +1,33 @@
1
+ .. include:: ../README.rst
2
+
3
+ Table of Contents
4
+ =================
5
+
6
+ .. toctree::
7
+ :maxdepth: 4
8
+ :hidden:
9
+
10
+ self
11
+
12
+ .. toctree::
13
+ :caption: Installation
14
+
15
+ installation
16
+
17
+ .. toctree::
18
+ :caption: API Reference
19
+ :maxdepth: 3
20
+
21
+ api
22
+
23
+ .. toctree::
24
+ :caption: Examples
25
+
26
+ examples
27
+
28
+ Indices and tables
29
+ ==================
30
+
31
+ * :ref:`genindex`
32
+ * :ref:`modindex`
33
+ * :ref:`search`
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams
2
+
3
+ SPDX-License-Identifier: MIT