A DLT source for personio
Project description
description: dlt source for personio.com keywords: [personio API, personio.com]
dlt-source-personio
Currently loads the following data:
| Table | Contains | Spec version |
|---|---|---|
persons |
Items of the Person model with all properties |
V2 |
employments |
Items of the Employment model with all properties |
V2 |
Usage
Create a .dlt/secrets.toml with your API key and email:
personio_client_id = "papi-..."
personio_client_secret = "papi-..."
and then run the default source with optional list references:
from dlt_source_personio import source as personio_source
pipeline = dlt.pipeline(
pipeline_name="personio_pipeline",
destination="duckdb",
dev_mode=True,
)
personio_data = personio_source()
pipeline.run(personio_data)
Development
This project is using devenv.
Commands:
| Command | What does it do? |
|---|---|
generate-model |
generates the personio Pydantic model from the current spec file, applies patches, etc. |
update-spec |
Pulls in the latest master#HEAD of personio/api-docs |
validate-spec |
Validates the local (unofficial) Personio V2 spec |
refresh-model |
Both commands above plus adds it to git and commits the changes. |
format |
Formats & lints all code |
sample-pipeline-run |
Runs the sample pipeline. By default dev_mode=True which fetches resources with a limit of 1 (page) |
sample-pipeline-show |
Starts the streamlit-based dlt hub |
Run the sample
PERSONIO_CLIENT_ID=[...] \
PERSONIO_CLIENT_SECRET=[...] \
sample-pipeline-run
alternatively you can also create a .dlt/secrets.toml
(excluded from git) with the following content:
personio_client_id = "papi-..."
personio_client_secret = "papi-..."
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 dlt_source_personio-0.0.1.tar.gz.
File metadata
- Download URL: dlt_source_personio-0.0.1.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e7a8b6f9e79b9b5bf9efe021648bf3c42c6525628d24aa7c95a75450389a92
|
|
| MD5 |
ee9ede0daabe9186d691cb47eac57aa0
|
|
| BLAKE2b-256 |
5b8e0eed9bb7155dac98c9586ea0956cfe80c7ddb531981bcc3080864ee4ef94
|
Provenance
The following attestation bundles were made for dlt_source_personio-0.0.1.tar.gz:
Publisher:
test.yml on planet-a-ventures/dlt-source-personio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_personio-0.0.1.tar.gz -
Subject digest:
b0e7a8b6f9e79b9b5bf9efe021648bf3c42c6525628d24aa7c95a75450389a92 - Sigstore transparency entry: 182383861
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-personio@5e363be9dbd77a57877c6bf28942ee822f8c7204 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@5e363be9dbd77a57877c6bf28942ee822f8c7204 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dlt_source_personio-0.0.1-py3-none-any.whl.
File metadata
- Download URL: dlt_source_personio-0.0.1-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
489c2434b67c6b62c8ca28720045da0dc2f6fa4002e68915aa9bc70940bcc127
|
|
| MD5 |
6263906848daaa0b9827e363c0837de2
|
|
| BLAKE2b-256 |
97ed540bb8b88e9771f41773f8869998de1c801c7476aa073107bdbe563086dd
|
Provenance
The following attestation bundles were made for dlt_source_personio-0.0.1-py3-none-any.whl:
Publisher:
test.yml on planet-a-ventures/dlt-source-personio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_personio-0.0.1-py3-none-any.whl -
Subject digest:
489c2434b67c6b62c8ca28720045da0dc2f6fa4002e68915aa9bc70940bcc127 - Sigstore transparency entry: 182383863
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-personio@5e363be9dbd77a57877c6bf28942ee822f8c7204 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@5e363be9dbd77a57877c6bf28942ee822f8c7204 -
Trigger Event:
push
-
Statement type: