Skip to main content

Automatische login tool voor flex2rijk.nl Citrix werkplek

Project description

flex2rijk

PyPI version CI & Publish

Automatiseert de login op flex2rijk.nl:

  • Cross-platform: Werkt op macOS, Windows en Linux.
  • Veilig: Slaat credentials op in je systeem-keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service) via keyring.
  • Modern: Volledig herschreven in moderne Python (Pathlib, Type Hinting).
  • Robuust: Bevat unit tests en strikte linting (Ruff, MyPy, Pylint).

Disclaimer

Let op: Deze tool is geen officieel product van flex2rijk of de betrokken overheidsinstanties. De auteur is op geen enkele wijze geassocieerd met flex2rijk.nl.

  • Geen Support: Deze tool wordt geleverd "as-is" zonder enige vorm van garantie of support.
  • Eigen Risico: Het gebruik van deze tool is volledig voor eigen risico. De auteur is niet verantwoordelijk voor eventuele schade, verlies van gegevens, of beveiligingsincidenten (zoals het verlies van wachtwoorden).
  • Doel: Deze tool is uitsluitend bedoeld om de login-flow te automatiseren voor gebruikers die reeds rechtmatige toegang hebben tot de flex2rijk omgeving.

Installatie

1. Installeer de tool (via uv)

De makkelijkste manier is via uv. Dit installeert de tool in een geïsoleerde omgeving:

uv tool install flex2rijk

2. Setup credentials (eenmalig)

Sla je gebruikersnaam en wachtwoord veilig op in je systeem-keychain:

flex2rijk --setup

Gebruik

# Start login (browser op achtergrond)
# Bij de eerste keer wordt Chromium automatisch geïnstalleerd
flex2rijk

# Debug modus (browser zichtbaar)
flex2rijk --no-headless

# OneSpan token direct meegeven
flex2rijk 123456

Ontwikkeling

Installeren vanaf source

Als je de tool wilt aanpassen of testen vanaf de broncode:

git clone https://github.com/tijnschouten/flex2rijk.git
cd flex2rijk
uv tool install .

Development omgeving setup

uv sync --all-groups
uv run pre-commit install

Tests & Checks draaien

# Draai alle unit tests
uv run pytest

# Draai alle linters en formatters
uv run pre-commit run --all-files

CI/CD & Publicatie

Dit project gebruikt GitHub Actions voor automatische tests en publicatie naar PyPI.

Automatische Publicatie (Trusted Publishing)

Om automatisch te publiceren naar PyPI wanneer je een nieuwe tag aanmaakt (bijv. v0.1.0):

  1. Ga naar je PyPI account settings.
  2. Voeg een GitHub Publisher toe voor dit repository:
    • GitHub Repository Owner: Je username.
    • Repository Name: flex2rijk.
    • Workflow Name: pypi-publish.yml.
    • Environment Name: release.
  3. Wanneer je een tag pusht, zal de GitHub Action de tool automatisch builden en uploaden naar PyPI.

Troubleshooting

  • "os.startfile niet beschikbaar": Gebeurt alleen als je op een niet-Windows systeem probeert de Windows flow te forceren.
  • Loginformulier niet herkend: Run met --no-headless om te zien waar Playwright blijft hangen.
  • ICA opent niet op Linux: Zorg dat xdg-open correct geconfigureerd is voor .ica bestanden.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flex2rijk-0.1.0.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flex2rijk-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file flex2rijk-0.1.0.tar.gz.

File metadata

  • Download URL: flex2rijk-0.1.0.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for flex2rijk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a155ac29ec31218c04049e43265f792d518b6e0c286dd714bd10ecd436c84fd9
MD5 01ba41223b6861b65240a7d68b722d81
BLAKE2b-256 73af0e97f990a7c548503e9f5b38c2a3cfbf478346697953dc148de30ef270d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for flex2rijk-0.1.0.tar.gz:

Publisher: pypi-publish.yml on tijnschouten/flex2rijk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flex2rijk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flex2rijk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for flex2rijk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff07ff88fb89fcc4eaaad614e9b6e0fe4bf71bd9a5e349f9e1f9f82a2faa92e2
MD5 9d97f24c7cb0ce3a74b4e910e02c8ee9
BLAKE2b-256 baf5fd5af2f0c145c91a5418018401046cdfd0b9e0a89cee2be1ba92c51bad7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for flex2rijk-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on tijnschouten/flex2rijk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page