inspect-jitsi 0.0.1__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.
- inspect_jitsi-0.0.1/.github/FUNDING.yml +4 -0
- inspect_jitsi-0.0.1/.github/workflows/tests.yml +95 -0
- inspect_jitsi-0.0.1/.gitignore +15 -0
- inspect_jitsi-0.0.1/CHANGES.md +6 -0
- inspect_jitsi-0.0.1/LICENSE +674 -0
- inspect_jitsi-0.0.1/PKG-INFO +166 -0
- inspect_jitsi-0.0.1/README.md +127 -0
- inspect_jitsi-0.0.1/inspect_jitsi/__init__.py +41 -0
- inspect_jitsi-0.0.1/inspect_jitsi/_version.py +24 -0
- inspect_jitsi-0.0.1/inspect_jitsi/cli.py +102 -0
- inspect_jitsi-0.0.1/inspect_jitsi/sync/__init__.py +27 -0
- inspect_jitsi-0.0.1/inspect_jitsi/sync/count.py +73 -0
- inspect_jitsi-0.0.1/inspect_jitsi/sync/created.py +51 -0
- inspect_jitsi-0.0.1/inspect_jitsi/sync/diagnose.py +30 -0
- inspect_jitsi-0.0.1/inspect_jitsi/sync/participants.py +74 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/__init__.py +0 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/conftest.py +285 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/integration/__init__.py +0 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/integration/conftest.py +97 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/integration/test_empty_room.py +98 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/integration/test_live_room.py +142 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_cli.py +167 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_conference.py +103 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_connection.py +143 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_count.py +68 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_diagnose.py +68 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_discover_hosts.py +79 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_parse_conference_url.py +41 -0
- inspect_jitsi-0.0.1/inspect_jitsi/test/test_participant.py +66 -0
- inspect_jitsi-0.0.1/inspect_jitsi/version.py +26 -0
- inspect_jitsi-0.0.1/inspect_jitsi/xmpp/__init__.py +28 -0
- inspect_jitsi-0.0.1/inspect_jitsi/xmpp/conference.py +206 -0
- inspect_jitsi-0.0.1/inspect_jitsi/xmpp/connection.py +399 -0
- inspect_jitsi-0.0.1/inspect_jitsi/xmpp/diagnosis.py +52 -0
- inspect_jitsi-0.0.1/inspect_jitsi/xmpp/participant.py +99 -0
- inspect_jitsi-0.0.1/pyproject.toml +115 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- v*
|
|
9
|
+
pull_request:
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
run-tests:
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
python-version:
|
|
17
|
+
- "3.11"
|
|
18
|
+
- "3.12"
|
|
19
|
+
- "3.13"
|
|
20
|
+
- "3.14"
|
|
21
|
+
fail-fast: false
|
|
22
|
+
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
name: py${{ matrix.python-version }}
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v7
|
|
27
|
+
- name: Set up Python
|
|
28
|
+
uses: actions/setup-python@v6
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.python-version }}
|
|
31
|
+
- name: Pip cache
|
|
32
|
+
uses: actions/cache@v6
|
|
33
|
+
with:
|
|
34
|
+
path: ~/.cache/pip
|
|
35
|
+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
|
|
36
|
+
restore-keys: |
|
|
37
|
+
${{ runner.os }}-pip-${{ matrix.python-version }}-
|
|
38
|
+
${{ runner.os }}-pip-
|
|
39
|
+
- name: Install dependencies
|
|
40
|
+
run: |
|
|
41
|
+
python -m pip install --upgrade pip
|
|
42
|
+
pip install -e ".[test]"
|
|
43
|
+
- name: Test
|
|
44
|
+
run: pytest
|
|
45
|
+
|
|
46
|
+
deploy-tag-to-pypi:
|
|
47
|
+
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
|
48
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
49
|
+
needs:
|
|
50
|
+
- run-tests
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
# Configure this project as a "trusted publisher" for the PyPI environment
|
|
53
|
+
# at https://pypi.org/manage/project/inspect-jitsi/settings/publishing/
|
|
54
|
+
# (repo: niccokunzmann/inspect-jitsi, workflow: tests.yml, environment: PyPI)
|
|
55
|
+
# - no PyPI token/secret needed, GitHub's OIDC token is exchanged for one.
|
|
56
|
+
# see https://docs.pypi.org/trusted-publishers/
|
|
57
|
+
environment:
|
|
58
|
+
name: PyPI
|
|
59
|
+
url: https://pypi.org/project/inspect-jitsi/
|
|
60
|
+
permissions:
|
|
61
|
+
id-token: write # required to mint the OIDC token for trusted publishing
|
|
62
|
+
steps:
|
|
63
|
+
- uses: actions/checkout@v7
|
|
64
|
+
- name: Set up Python
|
|
65
|
+
uses: actions/setup-python@v6
|
|
66
|
+
with:
|
|
67
|
+
python-version: "3.12"
|
|
68
|
+
- name: Install build dependencies
|
|
69
|
+
run: |
|
|
70
|
+
python -m pip install --upgrade pip
|
|
71
|
+
pip install --upgrade build
|
|
72
|
+
- name: remove old files
|
|
73
|
+
run: rm -rf dist/*
|
|
74
|
+
- name: build distribution files
|
|
75
|
+
run: python -m build
|
|
76
|
+
- name: Publish to PyPI
|
|
77
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
78
|
+
|
|
79
|
+
deploy-github-release:
|
|
80
|
+
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
|
81
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
82
|
+
needs:
|
|
83
|
+
- run-tests
|
|
84
|
+
- deploy-tag-to-pypi
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
environment:
|
|
87
|
+
name: github-release
|
|
88
|
+
steps:
|
|
89
|
+
- uses: actions/checkout@v7
|
|
90
|
+
- name: Create GitHub release from tag
|
|
91
|
+
uses: ncipollo/release-action@v1
|
|
92
|
+
with:
|
|
93
|
+
allowUpdates: true
|
|
94
|
+
body: "This release can be installed from [PyPI](https://pypi.org/project/inspect-jitsi/#history)."
|
|
95
|
+
generateReleaseNotes: true
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
jitsi-conference-mapper
|
|
2
|
+
jitsi-plugin
|
|
3
|
+
jupyterlab-jitsi
|
|
4
|
+
jupyter-videochat
|
|
5
|
+
PyLivestream
|
|
6
|
+
lib-jitsi-meet
|
|
7
|
+
jitsi-meet
|
|
8
|
+
__pycache__
|
|
9
|
+
*.pyc
|
|
10
|
+
python-recurring-ical-events
|
|
11
|
+
inspect_jitsi/_version.py
|
|
12
|
+
*.egg-info
|
|
13
|
+
/build
|
|
14
|
+
/dist
|
|
15
|
+
.pytest_cache/
|