Skip to main content

Introduction

pyf.splitter is a fully independent module that can be used with pyf or in any other projet. It does not have dependencies on pyf.

Purpose

The splitter purpose is simple and will stay so. It gives you an abstraction above a data flow (or any python iterable) and gives the illusion of manipulating in memory iterables when in fact everything is serialized on disk to avoid memory consumption.

The second and last purpose is to split (hence the name) your data flow according to some simple rules. Splitting is at the very least important to be able to store huge data chunks on disk without hitting file systems limitations (ever tried to store 600Gb files on a fat file system?)

It is important to note that we do not encapsulate (ie: hide) the bucket files. The splitter gives you the bucket file names it produced, you then use another function to read the files into another stream.

Running tests

To run tests you need to install tox:

pip install tox

and then just launch tox if you want the whole test suite, ie python2.7, python3.4 and pep8.

If you want to only run only kind of test (ie: python2.7 only) you can specify it like so:

tox -e py27

all defined test envs are defined in the tox.ini file

Changes

Oct 9 2015, version 3.1

  • Version 3.0 introduced python3 support and version 3.1 is a bugfix release to add more sane defaults in the separator. (The datetime objects were not serializable using the python3 version with the default separator)

Metadata

Release files for pyf.splitter 3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for pyf.splitter 3.1
File Size Uploaded
pyf.splitter-3.1.zip 14.6 kB Details
pyf.splitter-3.1.tar.gz 11.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyf.splitter 3.1
File Interpreter ABI Platform
pyf.splitter-3.1-py2.7.egg Legacy Egg format - - Details
pyf.splitter-3.1-py2-none-any.whl Python 2 none any Details

Total release size: 62.9 kB

Release files / pyf.splitter-3.1.zip

Download URL pyf.splitter-3.1.zip
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5d15ed4a355976712ac81c25256155fb0c7a58d26d19f63a35f64d37875b5b51
BLAKE2b-256 checksum
How to use checksums
a71e6fd414e20f0a4270f34417dfae94a6b5621ef75fda65532bb47f7a54def4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyf.splitter-3.1.tar.gz

Download URL pyf.splitter-3.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0083f95ae83291952664fed3437e76aec9e9d64960ba3a0b005a4e0dcf940ce1
BLAKE2b-256 checksum
How to use checksums
27f6670c62d0281b05ae1eea8691f2e949fb8c0c737d1dd0a8310312a082cb9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyf.splitter-3.1-py2.7.egg

Download URL pyf.splitter-3.1-py2.7.egg
Size 24.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
e3b3c7af1ca1e36519fa57d20097f9c08bc753f535d8a95dad4d0bf34854538d
BLAKE2b-256 checksum
How to use checksums
4300f1ee914c29e1b6a7a3b3db9bb4248220b1af3ed23bfb826cc15dab9dae7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyf.splitter-3.1-py2-none-any.whl

Download URL pyf.splitter-3.1-py2-none-any.whl
Size 12.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a7c7dea4812bb3af6443f2110b2a0053d12d03355e5da0d53419292a2b860315
BLAKE2b-256 checksum
How to use checksums
56efac4e9ed3ef5ce3117df0c44d88875b26b5b74778846121b4df4add1f771e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.1 This release

4 release files

3.0

4 release files

2.0

2 release files

1.3

2 release files

1.2

1 release file

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page