No project description provided
Project description
Famedly Control Synapse
Table of Contents
Installation
pip install famedly-control-synapse
Configuration
Here are the available configuration options:
# the outer modules section is just provided for completeness, the config block is the actual module config.
modules:
- module: "famedly_control_synapse.FamedlyControl"
config:
famedly_control:
api_url: str = "", # Prefix of the current famedly control http API
access_token: str = "", # Access token to authenticate against famedly control
sync_enabled: bool = true, # Whether to run the background group membership sync loop
sync_polling_interval_seconds: int = 30, # Interval in seconds between polling requests
auth_provider: str = "", # The unique, internal ID of the external identity provider.
Testing
To create virtual env and install dependency:
hatch shell
The tests use pytest, with the development environment managed by Hatch. You can
run the test suite and generate a coverage report with:
hatch run cov
Code Quality
Use hatch fmt to automatically format code, enforce style rules, and check types using:
blackandisortfor formattingrufffor lintingmypyfor static type checking
Check Code Without Modifying It
To check code quality without modifying files:
- Check formatting with
isortandblack:hatch fmt --check -f - Check types and linting with
mypyandruff:hatch fmt --check -l - Check all of above, formatting, linting, and typing:
hatch fmt --check
Auto-formatting Code
To automatically fix issues in the code:
- Format only using
blackandisort:hatch fmt -f - Type checks(
mypy) and lint, fixing autofixableruffissues:hatch fmt -l - Run all tools, format, lint, type-check:
hatch fmt
License
famedly-control-synapse is distributed under the terms of the
AGPL-3.0 license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file famedly_control_synapse-0.0.1.tar.gz.
File metadata
- Download URL: famedly_control_synapse-0.0.1.tar.gz
- Upload date:
- Size: 71.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb1181bb5849224e8648836e3c7afff6248a0b9d92ca263052df76a379486a3d
|
|
| MD5 |
98bc8fd1d4898877ccfb5a332c1bc550
|
|
| BLAKE2b-256 |
2fe4c6061c2755043e5978d4aa18aea339a57e82d03046716e4adb372b83065a
|
Provenance
The following attestation bundles were made for famedly_control_synapse-0.0.1.tar.gz:
Publisher:
publish.yml on famedly/famedly-control-synapse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
famedly_control_synapse-0.0.1.tar.gz -
Subject digest:
eb1181bb5849224e8648836e3c7afff6248a0b9d92ca263052df76a379486a3d - Sigstore transparency entry: 1079766862
- Sigstore integration time:
-
Permalink:
famedly/famedly-control-synapse@a8c5a0ea906a2e8b29f1071488730b5ef67e2d9f -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/famedly
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a8c5a0ea906a2e8b29f1071488730b5ef67e2d9f -
Trigger Event:
release
-
Statement type:
File details
Details for the file famedly_control_synapse-0.0.1-py3-none-any.whl.
File metadata
- Download URL: famedly_control_synapse-0.0.1-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76cc842bf6451af92d31e1e919ae5a79d6c8266acbf5e3d43a75233da380401b
|
|
| MD5 |
9b2686b8ee0bd2cb3f545d4cb0e76e96
|
|
| BLAKE2b-256 |
8b41d072e3a912e8bdb3ecc631c8785237a43893d29a01e76368a125d5b8f520
|
Provenance
The following attestation bundles were made for famedly_control_synapse-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on famedly/famedly-control-synapse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
famedly_control_synapse-0.0.1-py3-none-any.whl -
Subject digest:
76cc842bf6451af92d31e1e919ae5a79d6c8266acbf5e3d43a75233da380401b - Sigstore transparency entry: 1079766900
- Sigstore integration time:
-
Permalink:
famedly/famedly-control-synapse@a8c5a0ea906a2e8b29f1071488730b5ef67e2d9f -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/famedly
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a8c5a0ea906a2e8b29f1071488730b5ef67e2d9f -
Trigger Event:
release
-
Statement type: