GithubHelp home page GithubHelp logo

harshithmullapudi / singer-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from singer-io/singer-python

0.0 0.0 0.0 283 KB

Writes the Singer format from Python

Home Page: https://singer.io

License: Apache License 2.0

Python 99.65% Makefile 0.35%

singer-python's Introduction

singer-python

Writes the Singer format from Python

Use

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

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

Next, install this library:

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

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'})

License

Copyright © 2017 Stitch

Distributed under the Apache License Version 2.0

singer-python's People

Contributors

dmosorast avatar mdelaurentis avatar kallan357 avatar luandy64 avatar nick-mccoy avatar karstendick avatar psantacl avatar ccapurso avatar iterati avatar cosimon avatar indigojump avatar bi1yeu avatar leslievandemark avatar b-ryan avatar flash716 avatar awm33 avatar madlittlemods avatar jacobrobertbaca avatar joshtemple avatar judahrand avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.