Skip to main content

pipelinewise-singer-python

PyPI version PyPI - Python Version License: MIT

Writes the Singer format from Python.

This is a fork of Singer's singer-python made for PipelineWise.

Usage

Setup environment

This library depends on python3. We recommend using a virtualenv like this:

python3 -m venv ~/.virtualenvs/singer-python

Installation

Next, install this library:

source ~/.virtualenvs/singer-python/bin/activate
git clone http://github.com/singer-io/singer-python
cd singer-python
make install

Usage example

Now, from python code within the same virtualenv, you can use the library:

import singer

singer.write_schema('my_table',
	            {'properties':{'id': {'type': 'string', 'key': True}}},
		    ['id'])
singer.write_records('my_table',
                     [{'id': 'b'}, {'id':'d'}])
singer.write_state({'my_table': 'd'})

Logging configuration

pipelinewise-singer-python by default doesn't use any predefined logging configuration, it's up to the calling library to define it. However, if the environment variable LOGGING_CONF_FILE is found and set then the pipelinewise-singer-python would use the path provided in the env variable as the logging configuration for the logger.

License

Distributed under the Apache License Version 2.0

Metadata

Release files for pipelinewise-singer-python 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipelinewise-singer-python 2.0.1
File Size Uploaded Provenance Actions
pipelinewise-singer-python-2.0.1.tar.gz 20.9 kB Without provenance Details for pipelinewise-singer-python-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipelinewise-singer-python 2.0.1
File Interpreter ABI Platform Actions
pipelinewise_singer_python-2.0.1-py3-none-any.whl Python 3 none any Details for pipelinewise_singer_python-2.0.1-py3-none-any.whl

Total release size: 45.7 kB

Release files / pipelinewise-singer-python-2.0.1.tar.gz

Download URL pipelinewise-singer-python-2.0.1.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5b5c8cc551388de17a52ae81c505629e8d4ca201a7a98670372a5a18f4aae09b
BLAKE2b-256 checksum
How to use checksums
23a4429f4341b235d6140a6423f4b60c4e5fad3994b641a403b59ae5e83a8a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / pipelinewise_singer_python-2.0.1-py3-none-any.whl

Download URL pipelinewise_singer_python-2.0.1-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbde2a247819609f011f7d9f3d15622bf9c1ad70fbebdff688b675684d534fd7
BLAKE2b-256 checksum
How to use checksums
09e8b1b713304e619de8fc3da1f5dfd4e47c88d00d8f35077ca3b69ce0360db3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Security for pipelinewise-singer-python 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page