panoplyio / panoply-python-sdk Goto Github PK
View Code? Open in Web Editor NEWSQS-based Python SDK for streaming data in realtime to the Panoply platform
License: MIT License
SQS-based Python SDK for streaming data in realtime to the Panoply platform
License: MIT License
execfile
was removed in python 3 and as such the setup.py
won't run.
Line 6 in 95fdc2f
This can be easily fixed by changing this line to:
exec(open("panoply/constants.py").read())
I'm not sure if this is the only thing required to support python 3 because I haven't delved far into it, but if you're open to receiving a PR I'd be happy to explore it a bit further.
This did not work for me. I've given Panoply about 20 minutes for the data to show up, nothing yet. I am running the file containing this code from an Anaconda prompt in a fresh Py2.7 environment. Fixing dependencies did not make my data transmit to Panoply. I also tried creating the table in Panoply ahead of time.
# -*- coding: utf-8 -*-
"""
Spyder Editor
"""
import panoply
conn = panoply.SDK( "panoply/keykey...key", "secret...secret" )
conn.write( "tablename0", { "foo": "bar" } )
due to the warnings below, I added import setuptools
to the beginning of setup.py . Should I put in a pull request to this effect?
The installation finished up with:
`Installed e:\anaconda3\envs\py27_panop\lib\site-packages\httplib2-0.12.0-py2.7.egg
Searching for six==1.12.0
Best match: six 1.12.0
Adding six 1.12.0 to easy-install.pth file
Using e:\anaconda3\envs\py27_panop\lib\site-packages
Finished processing dependencies for panoply-python-sdk==1.6.0`
With setup.py provided, I received these warnings:
python setup.py install E:\Anaconda3\envs\py27_panop\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) E:\Anaconda3\envs\py27_panop\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running build running build_py running install_lib running install_egg_info Removing ...\py27_panop\Lib\site-packages\panoply_python_sdk-1.6.0-py2.7.egg-info Writing ...\py27_panop\Lib\site-packages\panoply_python_sdk-1.6.0-py2.7.egg-info
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.