ibmstreams / pypi.streamsx.standard Goto Github PK
View Code? Open in Web Editor NEWPython packages for IBM Streams Standard Toolkit
Home Page: https://ibmstreams.github.io/pypi.streamsx.standard/
License: Apache License 2.0
Python packages for IBM Streams Standard Toolkit
Home Page: https://ibmstreams.github.io/pypi.streamsx.standard/
License: Apache License 2.0
aligned with other pypi streamsx packages
package name and namespace must not be changed (repo name only)
streamsx.standard.tests.test_files/test_filename_from_stream.spl:35:7: CDISP9150E ERROR: The type of the tuplesPerFile parameter of the FileSink operator is int32. The expected type is: uint32/uint64.
Takes me to a 404 page.
adapt affected test suites
[echo] Name Stmts Miss Cover
[echo] -----------------------------------------------------
[echo] streamsx/standard/__init__.py 42 0 100%
[echo] streamsx/standard/_version.py 1 0 100%
[echo] streamsx/standard/files.py 441 37 92%
[echo] streamsx/standard/relational.py 118 28 76%
[echo] streamsx/standard/utility.py 166 11 93%
[echo] -----------------------------------------------------
[echo] TOTAL 768 76 90%
[echo] ----------------------------------------------------------------------
[echo] Ran 28 tests in 687.794s
[echo]
[echo] OK
add targets for
Documentation of Note block in streamsx.standard.utility.union is incomplete
This method differs from Stream.union in that
"make html" raises the following warning:
streamsx.standard/streamsx/standard/utility.py:docstring of streamsx.standard.utility.union:15: WARNING: Explicit markup ends without a blank line; unexpected unindent.
invoke FileSource in with parameter compression
uses streamsx feature:
IBMStreams/streamsx.topology#2322
Update link to streamsx package in index.rst:
from:
http://ibmstreams.github.io/streamsx.topology/doc/releases/latest/pythondoc/index.html
to:
https://streamsxtopology.readthedocs.io
do not use master in branch name anymore
The file
parameter is hardcoded, but for that to work the path to the file on the Streams host must be known at job submission time.
This code:
import streamsx.ec
from streamsx.standard.files import csv_reader
from streamsx.topology.topology import Topology
import streamsx.topology.context
csv_file_name = "next_bus_avg_max_speed.csv"
csvtopo = Topology()
csv_schema = 'tuple<int64 last_seen, float32 maxSpeed, rstring id, float32 avgSpeed>'
file = "etc/" + csv_file_name
readings = csv_reader(csvtopo, file="/Users/natashad/Downloads/next_bus_avg_max_speed.csv", schema=csv_schema, header=True, name="ReadCSV")
readings.print()
Throws a FileNotFound error.
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.