Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/marshmallow-code/marshmallow

A lightweight library for converting complex objects to and from simple Python datatypes.
https://github.com/marshmallow-code/marshmallow

Rename Field#output -> Field#serialize

e0aa7fd7b4029374c3f50665aad375ef01e05b30 authored over 10 years ago
Fix tests

83efec6e93aba6680e3025ea4394aa9b19f749bf authored over 10 years ago
Clean docs

- Remove unnecessary deserialization page
- Fix typos
- Rearrange quickstart guide

2b793482d0818f352d283d03ebc635eb5e08a0d2 authored over 10 years ago
Merge branch 'deserialization-and-refactor' into dev

8237781990f03ee16149a75471f2880587136b0e authored over 10 years ago
Update all docs and examples with new 1.0 API

a6bb92ac555d3383ac258beb500cf19e0671a4a8 authored over 10 years ago
Serializer.factory returns a serializer (dump) function

instead of a function that returns instances of the serializer

a3c9e136f042ca54aaabe3e4c38768a2527e0c82 authored over 10 years ago
Update all tests to use 1.0 API

Also fix usage of Meta.fields with dumps method

a60d4f1ee326e3a90ac97f2d8bfd68119aa36d92 authored over 10 years ago
Prevent warning against implicit collection handling for keyed tuples

fc0cdde7858a6ffc05661651a25b39e035d1682a authored over 10 years ago
Data handlers and error handler are called when calling dump

38ebaae0981077031a717f77a6d080d393d3424d authored over 10 years ago
dumps and loads serializes/deserializes to JSON

947d028fed9f79735c78e9af9e45bdc9440f28e4 authored over 10 years ago
load and dump return result and errors

d057cb9768c4dfb4d7614c56772bf4338d312073 authored over 10 years ago
Test organization

cde0ff74e5803ed2c0244fce2dc3da256d4a300b authored over 10 years ago
Rename serialize -> dump; deserialize -> load

6de3b31feaa529b2f8c5419cd092e5223b2bf1d3 authored over 10 years ago
Rename DeserializationError -> UnmarshallingError

29d8f6cd4fe76f64f54d762359e812b1fe26576a authored over 10 years ago
Fix serialization of binary strings

ff18e782be9d04557f027116b147f16bcecb9999 authored over 10 years ago
Fix String deserialization of None

6a12c3ca7d28557f5ac33f8d0dfad95dffed31c2 authored over 10 years ago
Expose deserialization errors via a property

3addca88017084468e483ed5fe4c18d1ee2147a1 authored over 10 years ago
Privatize _marshal and _unmarshal

Expose them publicly through the serialize and deserialize methods

f8ee5787aea1c900028e389dfff2fe9bde4524c8 authored over 10 years ago
Separate marshalling and unmarshalling into separate service objects

de87be7888b8aa4eed6eff1c8acdda94046966b2 authored over 10 years ago
DRY up Marshaller logic for getting a field's value

1c7533435bac987672d9831b07e3fb5d5e540b67 authored over 10 years ago
Rename Marshaller#marshal -> Marshaller#serialize

9c624423fd1b68f775e8013e4d2a4d16cdf50ba9 authored over 10 years ago
Merge branch 'deserialization-errors' into deserialization

fb18ceaf35cade2c5615b9ecef790dfadb0c6b1a authored over 10 years ago
Add tests for Marshaller deserialization

c9b1c70a47f6e766ab1a79f62932a1f651edcac9 authored over 10 years ago
Add Marshaller#deserialize. Store deserialization errors

e918e8abb86b88ba99b0ac372a438383d956d24e authored over 10 years ago
Revert __str__ of _WrappingException

b456b2836940361d1715d5f89d614ca8ff9513e2 authored over 10 years ago
It's 2014

8680fbccb17b036c0bd0e8dd6898520fbdc8f2e2 authored over 10 years ago
Start deserialization docs

ddb2239a92e3a92e27711330186b9f75e99202a4 authored over 10 years ago
Use Field.attribute for the keys in deserialized result

f40b8f137d81b36e7c3af4fc6c90fdc02c2aa947 authored over 10 years ago
Implement Nested deserialization

583e55e335b27731af22de8548d23e7ab681c2db authored over 10 years ago
Improve str representation of _WrappingExceptions

Show type of underlying exception

91de3003db532c490d00eff07d8925b4bd9c5134 authored over 10 years ago
Bump dev version -> 1.0.0-dev

b4405c336e1d0349306ab5496f558a429eed085a authored over 10 years ago
Fix tests on py26 and pypy

3104202fdc216b7c11b82556ae4bac83bb1fb45c authored over 10 years ago
Add deserialize_from_json method

4c06bc3371118edf7a68de17e0f547983d752c44 authored over 10 years ago
Implement deserialization for remaining fields

Also add Serializer#make_object method for creating an object with
the deserialized data

15503651fa9c508d33cd2a8cb16e2b3a0d6ef9b8 authored over 10 years ago
Add utility function for parsing iso8601 time strings

619c99cd162d77f8f90bb5fb0a4239441eb6ef6d authored over 10 years ago
Use python-dateutil for deserialization if it is installed

9d0cb626ce7a10ba7839d67867dfacc9deda1dda authored over 10 years ago
Update docs and add test stub

dcf0dcf627f104d80870795a739d4ed0e54109fc authored over 10 years ago
Remove unnecessary hasattr and getattr

b707615d61656923e91b581a0cd825f9f328bccb authored over 10 years ago
Test reorganization

66b1048313e409ca6380101282ffffea85315bc3 authored over 10 years ago
Rename CHECK_NONE -> _CHECK_REQUIRED

Also implement Email field deserialization

1e80749589cc2df78d8acf7540c5e2091ebecf03 authored over 10 years ago
Document _format, _serialize, and _deserialize

Also implement Enum field deserialization

617e5d96bb11fd12b09e3fb4a0d512b756373e60 authored over 10 years ago
Merge branch 'refactor' into deserialization

d15daa960a58e8dfe756a24a4ad14d7a6d21853e authored over 10 years ago
Update docs

265b267a9fc1179b3c631eca9c56fc420878e47a authored over 10 years ago
Update changelog

b79a93646e44bc407293e31cfdc31b5d1a781b08 authored over 10 years ago
Rename Field#format -> Field#_format

8e0d94984be6e114d536beb67a1d7d4c3ea596eb authored over 10 years ago
Update Field interface

2fd538fbb31390c23f8787d64b4ae45a0d057a2f authored over 10 years ago
Large refactor of the Fields interface

- Concrete classes define _serialize and _deserialize.
- Remove @validated decorator. Validation...

7339c8f5c7f26675c1322a910d30ba45c1bfe39b authored over 10 years ago
Add ForcedError

f1de6c6d8705673a78f2622a5de15013e0a74d6e authored over 10 years ago
Implement deserialization for DateTime, Fixed, and Price fields

DateTime implementation is incomplete (doesn't handle timezones)
Also add test stubs

fb26cd28d3c0e4d765aca20c13f9decab3016da8 authored over 10 years ago
Bump dev version

c1d94b7c4aff261ce80a81f016ec477153bfd5c8 authored over 10 years ago
Add test stubs for field deserialization

382488ae0e1c681ff35ac48d374926d96862adc4 authored over 10 years ago
Add Boolean field deserialization

20f4648e7dacfa0fd2e805d9d9ba5f4748770a18 authored over 10 years ago
Add _WrappingException and Deserialization error to docs

25a3ca4692dd802fda075d6db667d24a63aeb876 authored over 10 years ago
Only save underlying exception if it is an Exception

5c1d5dc2ae7f1439de16d6e4d480ca95c7a31094 authored over 10 years ago
Deserialization proof of concept

8244d4109823280dc98e66cd2ce711b9b6a73aa8 authored over 10 years ago
Add flake8 config

66f174463bc057394db74a95430e5b3bfaf80370 authored over 10 years ago
Remove unnecessary parameter in _update_fields

edf2d40c0974011c354eab75c4bfc1ff7ee51176 authored over 10 years ago
Merge branch 'fix-keyed-tuple-serialization' into dev

59fcbe9de6f4872ad473bc015a17ad606adfbec5 authored over 10 years ago
Fix serializing keyed tuple types with class Meta options

b0fb60a87f909bffeddcd8cdaac67e530adbcdf2 authored over 10 years ago
Add utils.is_keyed_tuple

a15b352bf618077b7dccea685cd31f4ae0c9bd2a authored over 10 years ago
Bump version -> 0.7.0

4e14f192ac478f0f0a46c671a53dc55fc5831c41 authored over 10 years ago
Use pytest-style setup

0234241a6c296b3feb30ea3a2677e7a17f2d163a authored over 10 years ago
Update docs ("extending" page)

891899ce30fb2438127d85df4f84f058c212c51e authored over 10 years ago
Data handlers also receive original object

8dbed92035b174490a030092534d11e2ef5d816d authored over 10 years ago
Fix error_handler

a6647521944c87a506b507c490fdc3c0c24ccd2e authored over 10 years ago
Add Serizlier.data_handler decorator and deprecate process_data

d5f8532d04172b57a0ff7daf322e8c38053bc302 authored over 10 years ago
Run process_data after adding "extra" data

c8e12b6b4a06344c6f99634991315db6c221911b authored over 10 years ago
Update docs

38aa412f22e0607f9b0ac8a7d702f924ab54afa0 authored over 10 years ago
Add Serializer.error_handler decorator

f6eeb0745b6ae0a21c32edb47dac0f01ceb49f97 authored over 10 years ago
Add error_handler param to Marshaller

d93c4662dc5a85f9355441dd5c289e8d1d103839 authored over 10 years ago
Add AUTHORS.rst

ea1fa264262e719aa5e15358bea6b7a6136e5454 authored over 10 years ago
Bump dev version and update changelog

e677788891502be014d33c491b09b612e2c0fbdd authored over 10 years ago
Merge pull request #25 from asteinlein/refactored-required-validation

Move required validation to avoid custom validation messages overriding required message

b8a7add6c1222a15ab19a8368b365a377adcabc8 authored over 10 years ago
Move required validation to validated() and change its error message

This feels like a better place to do the required validation, and allows
for custom error messag...

df636eee71122ee668e5b3207f3741477f1bdbf2 authored over 10 years ago
DRY up the marshalling code

4c4ac2625d5551aa32684576174309ae00668c6e authored over 10 years ago
Update travis.yml

ed64555087603d7220b1cdfd674b15bb3ed033a9 authored over 10 years ago
Fix bug with passing "extra" together with "many=True"

[fixes #24]

279dba51b4f773473da4247877896c49d79fa987 authored over 10 years ago
Wrap validated() only on output() methods

validated() was previously wrapped on both output() and format() methods, but
not consistently, ...

7d41aaa67a174856837230228522fae414e1eae1 authored over 10 years ago
Update changelog date

b0f8da7ce8987cbf389b306ac35e992abade812a authored over 10 years ago
Bump version

47f4ce93deabff79ba3546b8e484e457f0d1afd3 authored over 10 years ago
It's not really REST-specific

6440c5bb3df6f16ee8c070b56d175e96768a98b7 authored over 10 years ago
Un-privatize the __data attribute

because subclasses may need to override the data property

07448dd148f2e69f6f59abff23cbfaedbe716ca8 authored over 10 years ago
Bump version -> 0.6.0-dev

0447dfbe81ad9d6ba1b737fed289ca21f81cbbf9 authored over 10 years ago
Update docs

65ba114d5797a897646a014628f9c2a1c3cfecce authored over 10 years ago
If 2 serializers have the same name, can use full module path

45c022e348b7893546d60f621bdf4cb4f767bdb2 authored over 10 years ago
Add test watching command

f553c0a349eeddc19d177cd27d723f0c14af1c82 authored over 10 years ago
Fix test commands

7bf6a1ee5ba734793019440576fe75a7f46045d1 authored over 10 years ago
Prevent error when a module is reloaded

7af14f949481b213ccb9fad9a9b4352cdace9d72 authored over 10 years ago
Keep all classes with a given name

f248753b6b5f2d91ff188582616d26fbd33747be authored over 10 years ago
Update docs

840ffe0298dc826083982718c12f7412e41877a1 authored over 10 years ago
Raise RegistryError if class name is invalid

35bdfbaba34765129bdf730be535ec5457a36283 authored over 10 years ago
Initial implementation of two-way nesting

Adds a registry of serializer classes
[see #19]

63b7d0bcc42398384167b0f4f8f8f62e9fad9d9f authored over 10 years ago
Rename test_serialization -> test_marshmallow

55dbf12c23d360ff2463a816508587c6a2d74bf1 authored over 10 years ago
Fix serializing tuple types with getattr-style key access

[fixes #20]

f5045e04f4e1d80a1a95f0c3faba102d515e97d9 authored over 10 years ago
Raise informative error message when 'many' may have been omitted

[should fix #21]

cbb9bebc72f733f40d43cb95472f4de05e351221 authored over 10 years ago
Bump version and update changelog

b41f8ef319d5eb4be2c9e5eaf0e02b5424ce91ca authored over 10 years ago
Add Serializer#process_data

9b7166c5e9d3827320ecb4a7485b6aeb4a62e620 authored over 10 years ago
Expose OPTIONS_CLASS as a class variable

d0688509ad06ad82f59006f8b635fe3090745103 authored over 10 years ago
Add Enum alias

173a45463c9e586704960e582555ac52a3af26eb authored over 10 years ago
Add fields.__all__

This will make it possible for 3rd-party libraries to extend the fields
module

a5010ca119d8bc8eae72d7279c6f78f7f24d2cf6 authored over 10 years ago