summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/python-publish.yml40
-rw-r--r--.gitignore271
-rw-r--r--LICENSE29
-rw-r--r--MANIFEST.in1
-rw-r--r--README.rst30
-rw-r--r--build_requirements.txt3
-rw-r--r--index.html10
-rw-r--r--package.json26
-rw-r--r--pyproject.toml6
-rw-r--r--requirements.txt4
-rw-r--r--setup.cfg14
-rw-r--r--src/_reset.scss48
-rw-r--r--src/components/App/App.module.scss55
-rw-r--r--src/components/App/App.tsx68
-rw-r--r--src/components/Content/Content.module.scss51
-rw-r--r--src/components/Content/Content.tsx100
-rw-r--r--src/components/Details/Details.module.scss84
-rw-r--r--src/components/Details/Details.tsx148
-rw-r--r--src/components/RequestSummary/RequestSummary.module.scss24
-rw-r--r--src/components/RequestSummary/RequestSummary.tsx33
-rw-r--r--src/hooks/useRequests.tsx77
-rw-r--r--src/index.scss16
-rw-r--r--src/index.tsx7
-rw-r--r--src/utils.ts4
-rw-r--r--tsconfig.json17
-rw-r--r--ttun/__init__.py0
-rw-r--r--ttun/__main__.py62
-rw-r--r--ttun/client.py109
-rw-r--r--ttun/inspect_server.py71
-rw-r--r--ttun/pubsub.py35
-rw-r--r--ttun/settings.py31
-rw-r--r--ttun/types.py24
-rw-r--r--yarn.lock995
33 files changed, 2493 insertions, 0 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
new file mode 100644
index 0000000..9246d7e
--- /dev/null
+++ b/.github/workflows/python-publish.yml
@@ -0,0 +1,40 @@
1name: Release
2
3on:
4 push:
5 tags:
6 - 'v*'
7 pull_request:
8 branches:
9 - 'main'
10
11jobs:
12 deploy:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v2
16 - name: Set up Python
17 uses: actions/setup-python@v2
18 with:
19 python-version: '3.10'
20 - name: Set up Node
21 uses: actions/setup-node@v2
22 with:
23 node-version: '16'
24 - name: Install node dependencies
25 run: |
26 yarn install
27 - name: Install python dependencies
28 run: |
29 python -m pip install --upgrade pip
30 pip install build
31 - name: Build package
32 run: |
33 yarn build
34 python -m build
35 - name: Publish package
36 uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37 if: github.event_name != 'pull_request'
38 with:
39 user: __token__
40 password: ${{ secrets.PYPI_API_TOKEN }}
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a3e66e6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,271 @@
1
2# Created by https://www.toptal.com/developers/gitignore/api/python,react,pycharm+all,yarn
3# Edit at https://www.toptal.com/developers/gitignore?templates=python,react,pycharm+all,yarn
4
5### PyCharm+all ###
6# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
7# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
8
9# User-specific stuff
10.idea/**/workspace.xml
11.idea/**/tasks.xml
12.idea/**/usage.statistics.xml
13.idea/**/dictionaries
14.idea/**/shelf
15
16# AWS User-specific
17.idea/**/aws.xml
18
19# Generated files
20.idea/**/contentModel.xml
21
22# Sensitive or high-churn files
23.idea/**/dataSources/
24.idea/**/dataSources.ids
25.idea/**/dataSources.local.xml
26.idea/**/sqlDataSources.xml
27.idea/**/dynamic.xml
28.idea/**/uiDesigner.xml
29.idea/**/dbnavigator.xml
30
31# Gradle
32.idea/**/gradle.xml
33.idea/**/libraries
34
35# Gradle and Maven with auto-import
36# When using Gradle or Maven with auto-import, you should exclude module files,
37# since they will be recreated, and may cause churn. Uncomment if using
38# auto-import.
39# .idea/artifacts
40# .idea/compiler.xml
41# .idea/jarRepositories.xml
42# .idea/modules.xml
43# .idea/*.iml
44# .idea/modules
45# *.iml
46# *.ipr
47
48# CMake
49cmake-build-*/
50
51# Mongo Explorer plugin
52.idea/**/mongoSettings.xml
53
54# File-based project format
55*.iws
56
57# IntelliJ
58out/
59
60# mpeltonen/sbt-idea plugin
61.idea_modules/
62
63# JIRA plugin
64atlassian-ide-plugin.xml
65
66# Cursive Clojure plugin
67.idea/replstate.xml
68
69# Crashlytics plugin (for Android Studio and IntelliJ)
70com_crashlytics_export_strings.xml
71crashlytics.properties
72crashlytics-build.properties
73fabric.properties
74
75# Editor-based Rest Client
76.idea/httpRequests
77
78# Android studio 3.1+ serialized cache file
79.idea/caches/build_file_checksums.ser
80
81### PyCharm+all Patch ###
82# Ignores the whole .idea folder and all .iml files
83# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
84
85.idea/
86
87# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
88
89*.iml
90modules.xml
91.idea/misc.xml
92*.ipr
93
94# Sonarlint plugin
95.idea/sonarlint
96
97### Python ###
98# Byte-compiled / optimized / DLL files
99__pycache__/
100*.py[cod]
101*$py.class
102
103# C extensions
104*.so
105
106# Distribution / packaging
107.Python
108build/
109develop-eggs/
110dist/
111downloads/
112eggs/
113.eggs/
114lib/
115lib64/
116parts/
117sdist/
118var/
119wheels/
120share/python-wheels/
121*.egg-info/
122.installed.cfg
123*.egg
124MANIFEST
125
126# PyInstaller
127# Usually these files are written by a python script from a template
128# before PyInstaller builds the exe, so as to inject date/other infos into it.
129*.manifest
130*.spec
131
132# Installer logs
133pip-log.txt
134pip-delete-this-directory.txt
135
136# Unit test / coverage reports
137htmlcov/
138.tox/
139.nox/
140.coverage
141.coverage.*
142.cache
143nosetests.xml
144coverage.xml
145*.cover
146*.py,cover
147.hypothesis/
148.pytest_cache/
149cover/
150
151# Translations
152*.mo
153*.pot
154
155# Django stuff:
156*.log
157local_settings.py
158db.sqlite3
159db.sqlite3-journal
160
161# Flask stuff:
162instance/
163.webassets-cache
164
165# Scrapy stuff:
166.scrapy
167
168# Sphinx documentation
169docs/_build/