plexer-cli 0.0.1a0__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,6 @@
1
+ ---
2
+ exclude_paths:
3
+ - ".github/**"
4
+ - "**_test.go"
5
+ - "README.md"
6
+ - "CODE_OF_CONDUCT.md"
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: magneticstain
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: magneticstain
7
+
8
+ ---
9
+
10
+ **Feature Summary**
11
+ What does this feature do?
12
+
13
+ **Benefit**
14
+ What is the benefit of implementing this?
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,11 @@
1
+ # PR Summary
2
+
3
+ ## General Changes
4
+
5
+ - A
6
+ - B
7
+ - C
8
+
9
+ ## Related Issue(s)
10
+
11
+ Related to:
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: "/"
5
+ schedule:
6
+ interval: weekly
@@ -0,0 +1,47 @@
1
+ # REFs:
2
+ # * https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-openssf-scorecards-to-secure-workflows
3
+ # * https://github.com/actions/starter-workflows/blob/666350e29b10d665a82d5c6d1501a29e50d63c29/code-scanning/scorecard.yml
4
+
5
+ name: Scorecard supply-chain security scan
6
+ on:
7
+ schedule:
8
+ - cron: '0 0 * * *' # run a scan everyday at 00:00 UTC
9
+ push:
10
+ branches: [ main ]
11
+
12
+ permissions: read-all
13
+
14
+ jobs:
15
+ analysis:
16
+ name: Scorecard analysis
17
+ runs-on: ubuntu-latest
18
+ permissions:
19
+ # Needed to upload the results to code-scanning dashboard.
20
+ security-events: write
21
+ # Needed to publish results and get a badge (see publish_results below).
22
+ id-token: write
23
+
24
+ steps:
25
+ - name: "Checkout code"
26
+ uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
27
+ with:
28
+ persist-credentials: false
29
+
30
+ - name: "Run analysis"
31
+ uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
32
+ with:
33
+ results_file: results.sarif
34
+ results_format: sarif
35
+ publish_results: true
36
+
37
+ - name: "Upload artifact"
38
+ uses: actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3.2.1-node20
39
+ with:
40
+ name: SARIF file
41
+ path: results.sarif
42
+ retention-days: 5
43
+
44
+ - name: "Upload to code-scanning"
45
+ uses: github/codeql-action/upload-sarif@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8-64431c66d
46
+ with:
47
+ sarif_file: results.sarif
@@ -0,0 +1,60 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ # run only against version tags
6
+ tags:
7
+ - 'v*'
8
+
9
+ jobs:
10
+ release:
11
+ # ensure only tagged commits get uploaded to PyPI
12
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
13
+
14
+ name: Generate New Release - ${{ github.ref_name }}
15
+ runs-on: ubuntu-latest
16
+ environment: release
17
+
18
+ permissions:
19
+ contents: write # needed to create GH Release
20
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing to PyPI
21
+
22
+ steps:
23
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
24
+ with:
25
+ fetch-depth: 0
26
+
27
+ - name: Setup python for build
28
+ uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
29
+ with:
30
+ python-version: "3.12"
31
+
32
+ # run unit tests
33
+ - name: Install tox
34
+ run: python -m pip install tox-gh>=1.2
35
+
36
+ - name: Setup test suite
37
+ run: tox -vv --notest -e test
38
+
39
+ - name: Run test suite
40
+ run: tox --skip-pkg-install -e test
41
+
42
+ # build and publish
43
+ - name: Install Hatch
44
+ run: pipx install hatch
45
+
46
+ - name: Build dist artifacts
47
+ run: hatch build
48
+
49
+ # required instead of using hatch due to usage of trusted publishers
50
+ - name: Publish to TestPyPI
51
+ uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
52
+ with:
53
+ repository-url: https://test.pypi.org/legacy/
54
+ print-hash: true
55
+
56
+ - name: Publish to PyPI
57
+ uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
58
+ with:
59
+ attestations: true
60
+
@@ -0,0 +1,48 @@
1
+ name: Run Full Suite of Checks and Tests
2
+
3
+ on:
4
+ pull_request:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ concurrency:
10
+ group: check-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ unit-test:
15
+ name: Run unit tests with version ${{ matrix.py }} on ${{ matrix.os }}
16
+ runs-on: ${{ matrix.os }}
17
+
18
+ strategy:
19
+ matrix:
20
+ py:
21
+ - "3.12"
22
+ - "3.11"
23
+ - "3.10"
24
+ - "3.9"
25
+ os:
26
+ - ubuntu-latest
27
+
28
+ steps:
29
+ - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
30
+ with:
31
+ fetch-depth: 0
32
+
33
+ - name: Setup python for test - ${{ matrix.py }}
34
+ uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
35
+ with:
36
+ python-version: ${{ matrix.py }}
37
+
38
+ - name: Setup ffmpeg for unit tests (moviepy)
39
+ uses: federicocarboni/setup-ffmpeg@37062fbf7149fc5578d6c57e08aed62458b375d6 # v3.1
40
+
41
+ - name: Install tox
42
+ run: python -m pip install tox-gh>=1.2
43
+
44
+ - name: Setup test suite
45
+ run: tox -vv --notest -e test
46
+
47
+ - name: Run test suite
48
+ run: tox --skip-pkg-install -e test
@@ -0,0 +1,166 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+ .ruff_cache/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # poetry
99
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103
+ #poetry.lock
104
+
105
+ # pdm
106
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107
+ #pdm.lock
108
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109
+ # in version control.
110
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
111
+ .pdm.toml
112
+ .pdm-python
113
+ .pdm-build/
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
162
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
+ #.idea/
164
+
165
+ # VS Code configs
166
+ .vscode/
@@ -0,0 +1,9 @@
1
+ # REF: https://github.com/astral-sh/ruff-pre-commit
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ # Ruff version.
4
+ rev: v0.6.5
5
+ hooks:
6
+ # Run the linter.
7
+ - id: ruff
8
+ # Run the formatter.
9
+ - id: ruff-format
@@ -0,0 +1,39 @@
1
+ Collecting tox-gh
2
+ Downloading tox_gh-1.4.1-py3-none-any.whl.metadata (5.5 kB)
3
+ Collecting tox>=4.18.1 (from tox-gh)
4
+ Downloading tox-4.20.0-py3-none-any.whl.metadata (5.0 kB)
5
+ Collecting cachetools>=5.5 (from tox>=4.18.1->tox-gh)
6
+ Downloading cachetools-5.5.0-py3-none-any.whl.metadata (5.3 kB)
7
+ Collecting chardet>=5.2 (from tox>=4.18.1->tox-gh)
8
+ Downloading chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
9
+ Collecting colorama>=0.4.6 (from tox>=4.18.1->tox-gh)
10
+ Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
11
+ Collecting filelock>=3.15.4 (from tox>=4.18.1->tox-gh)
12
+ Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
13
+ Collecting packaging>=24.1 (from tox>=4.18.1->tox-gh)
14
+ Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
15
+ Collecting platformdirs>=4.2.2 (from tox>=4.18.1->tox-gh)
16
+ Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
17
+ Collecting pluggy>=1.5 (from tox>=4.18.1->tox-gh)
18
+ Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
19
+ Collecting pyproject-api>=1.7.1 (from tox>=4.18.1->tox-gh)
20
+ Downloading pyproject_api-1.8.0-py3-none-any.whl.metadata (2.7 kB)
21
+ Collecting virtualenv>=20.26.3 (from tox>=4.18.1->tox-gh)
22
+ Downloading virtualenv-20.26.6-py3-none-any.whl.metadata (4.5 kB)
23
+ Collecting distlib<1,>=0.3.7 (from virtualenv>=20.26.3->tox>=4.18.1->tox-gh)
24
+ Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
25
+ Downloading tox_gh-1.4.1-py3-none-any.whl (6.7 kB)
26
+ Downloading tox-4.20.0-py3-none-any.whl (157 kB)
27
+ Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB)
28
+ Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
29
+ Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
30
+ Downloading filelock-3.16.1-py3-none-any.whl (16 kB)
31
+ Downloading packaging-24.1-py3-none-any.whl (53 kB)
32
+ Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
33
+ Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
34
+ Downloading pyproject_api-1.8.0-py3-none-any.whl (13 kB)
35
+ Downloading virtualenv-20.26.6-py3-none-any.whl (6.0 MB)
36
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 153.0 MB/s eta 0:00:00
37
+ Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
38
+ Installing collected packages: distlib, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox, tox-gh
39
+ Successfully installed cachetools-5.5.0 chardet-5.2.0 colorama-0.4.6 distlib-0.3.8 filelock-3.16.1 packaging-24.1 platformdirs-4.3.6 pluggy-1.5.0 pyproject-api-1.8.0 tox-4.20.0 tox-gh-1.4.1 virtualenv-20.26.6
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ magneticstain@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Josh Carlson
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.