Compare commits

...
Author SHA1 Message Date
z 53159f70b6 docs(brand): add hero banner 2026-06-28 20:18:49 -07:00
z 359e47de80 chore(brand): dynamic hero banner 2026-06-28 20:18:47 -07:00
c8443d3a00 ci: run on self-hosted ARC pool (hanzo-build-linux-amd64/deploy), not GitHub-hosted (#1)
Co-authored-by: zeekay <z@hanzo.ai>
2026-06-19 20:35:56 -07:00
6 changed files with 20 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="640" viewBox="0 0 1280 640" role="img" aria-label="insights-python">
<rect width="1280" height="640" fill="#0A0A0A"/>
<svg x="96" y="215" width="210" height="210" viewBox="0 0 67 67"><path d="M22.21 67V44.6369H0V67H22.21Z" fill="#fff"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#fff"/><path d="M22.21 0H0V22.3184H22.21V0Z" fill="#fff"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#fff"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#fff"/></svg>
<text x="378" y="276" font-family="Inter,system-ui,-apple-system,sans-serif" font-size="78" font-weight="800" letter-spacing="-2" fill="#ffffff">insights-python</text>
<text x="378" y="322" font-family="Inter,system-ui,sans-serif" font-size="30" fill="#ffffff" opacity=".66">Send usage data from your Python code to PostHog.</text>
<rect x="378" y="338" width="806" height="3" rx="1.5" fill="#ffffff" opacity=".9"/>
<text x="378" y="390" font-family="Inter,system-ui,sans-serif" font-size="24" font-weight="600" fill="#ffffff" opacity=".5">github.com/hanzoai</text>
<text x="1184" y="390" text-anchor="end" font-family="Inter,system-ui,sans-serif" font-size="24" font-weight="600" fill="#ffffff" opacity=".5">hanzo.ai</text>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+4 -4
View File
@@ -9,7 +9,7 @@ permissions:
jobs:
code-quality:
name: Code quality checks
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
@@ -46,7 +46,7 @@ jobs:
tests:
name: Python ${{ matrix.python-version }} tests
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
@@ -78,7 +78,7 @@ jobs:
import-check:
name: Python ${{ matrix.python-version }} import check
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
@@ -101,7 +101,7 @@ jobs:
django5-integration:
name: Django 5 integration tests
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
+1 -1
View File
@@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: 'ubuntu-latest'
runs-on: hanzo-build-linux-amd64
permissions:
security-events: write
# required to fetch internal or private CodeQL packs
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
docs-generation:
name: Generate references
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
permissions:
contents: write
steps:
+3 -3
View File
@@ -18,7 +18,7 @@ concurrency:
jobs:
check-release-label:
name: Check for release label
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
# Run when PR with 'release' label is merged to master
if: |
github.event_name == 'workflow_dispatch' ||
@@ -61,7 +61,7 @@ jobs:
release:
name: Release and publish
needs: [check-release-label, notify-approval-needed]
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
# Use `always()` to ensure the job runs even if notify-approval-needed is skipped,
# but still depend on it to access `needs.notify-approval-needed.outputs.slack_ts`
if: always() && needs.check-release-label.outputs.should-release == 'true'
@@ -233,7 +233,7 @@ jobs:
notify-released:
name: Notify Slack - Released
needs: [check-release-label, notify-approval-needed, release]
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
if: always() && needs.release.result == 'success' && needs.notify-approval-needed.outputs.slack_ts != ''
steps:
- name: Checkout repository
+2
View File
@@ -1,3 +1,5 @@
<p align="center"><img src=".github/hero.svg" alt="insights-python" width="880"></p>
# Hanzo Insights Python SDK
Integrate [Hanzo Insights](https://insights.hanzo.ai) into any Python application.