Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Pythonic file objects #14

Open
rmatev opened this issue Jan 11, 2016 · 1 comment
Open

Pythonic file objects #14

rmatev opened this issue Jan 11, 2016 · 1 comment

Comments

@rmatev
Copy link

rmatev commented Jan 11, 2016

It would be really useful to have a class that behaves as much as possible like python's File. This will allow for interfacing with e.g. gzip.GzipFile, pickle.load, etc. This can be a simple wrapper of XRootD.client.File, which makes synchronous requests and throws exceptions when they are not successful.

@simonmichal
Copy link
Contributor

Could you please have a look at:
http://pythonhosted.org/xrootdpyfs/
https://pypi.python.org/pypi/xrootdpyfs

I think it is exactly what you are looking for.

If there is a very strong desire, we can integrate it into core xrootd-python.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants