Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Frens Jan Rumph committed Dec 11, 2016
0 parents commit b85226b
Show file tree
Hide file tree
Showing 13 changed files with 2,330 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
__pycache__/
*.py[cod]
*.c
*.so
.cache/
build/
dist/
.eggs/
*.egg-info/
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: python

python:
- 3.4
- 3.5
- 3.5-dev
- 3.6-dev
- nightly

install:
- pip install pip --upgrade
- pip install -e .[dev]

script:
- python -m tests.cloudpickle_test
- python -m tests.cloudpickle_file_test

2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.rst
recursive-include cycloudpickle *.pyx *.pxd
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
=====================================
Cycloudpickle - Cloudpickle on Cython
=====================================

This module is a cythonized version of `<https://github.com/cloudpipe/cloudpickle>`_ and
``pickle._Pickler`` and is meant to be a drop in replacement which is about twice as fast.

The cloudpickle license is included in ``cycloudpickle.cycloudpickle``. The Python software
foundation license applies to the adaptation of ``pickle._Pickler``.

While cloudpickle is compatible with python 2, cycloudpickle is *not* due the adaptation of the
``pickle._Pickler`` from python 3. Python 2 support should be 'doable', but a bit difficult
because of the use of cdef classes and the inheritance between ``CloudPickler`` and ``Pickler``.
3 changes: 3 additions & 0 deletions cycloudpickle/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from __future__ import absolute_import

from cycloudpickle.cycloudpickle import *
Loading

0 comments on commit b85226b

Please sign in to comment.