Comments (1)
@gregpalmr will this approach work for your case?
import codecs
import csv
from alluxio import Client
c = Client(host=..., port=39999)
with c.open("/test.csv", "w") as f:
f.write("1,2\n")
with c.open("/test.csv", "r") as alluxio_file:
rdr = csv.reader(codecs.iterdecode(alluxio_file, 'utf-8'), delimiter=',')
for row in rdr:
print(', '.join(row))
# prints out 1, 2
from alluxio-py.
Related Issues (10)
- Error while connecting to Alluxio client through Python HOT 3
- Issue in REST API endpoints on server HOT 3
- Update alluxio python client on pypi.org, HOT 1
- Setup.py Installation Bug HOT 2
- alluxio.client.Client.ls and list_status do not have recursive support
- In case of TLS encryption enabled on Alluxio server, can I connect to it using an application built on top of this python library? HOT 1
- Provide support for using tox for automated tests
- Alluxio client as context manager that closes session. HOT 1
- Which License? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alluxio-py.