Currently experimental.
Usage, assuming you have a ZODB connection already:
import pandas, pheather, transaction
conn.root.iris = Pheather()
transaction.commit()
iris = pandas.read_csv('iris.csv')
conn.root.iris.save(iris)
Then, later in a separate session:
import pheather iris = conn.root.iris.read()
For folks who are new to ZODB, there’s a helper function for connecting to (and creating) a ZODB file-based or Postgres-based database:
import pheather
# Local files:
conn = pheather.connection('data.fs')
# Postgres database using URL-based connection strings:
conn = pheather.connection('postgresql://localhost/mydb')
Changes
0.1.1 (2017-05-23)
Added missing setup dependency (for feather-format :( )
0.1.0 (2017-05-23)
Initial experimental release.
Release files for pheather 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pheather-0.1.1.tar.gz | 3.2 kB | Details |
Release files / pheather-0.1.1.tar.gz
| Download URL | pheather-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ecdcf707fa03fdb75034cce59bdf3bde201acbef44ed2b2adce6e2ed7375f89
|
|
BLAKE2b-256 checksum How to use checksums |
b86c1d8969782053aef10b4d77c67b5a2816b5fb4bbc388ff338c17ddd0a66e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |