Skip to main content

Generic object interface

Project description

Test status code coverage audobject's documentation audobjects's supported Python versions audfactory's MIT license

Generic interface for serializing objects to yaml.

Have a look at the installation and usage instructions.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Version 0.4.10 (2021-03-24)

  • Changed: add badges to README

  • Fixed: updated all links to Github

Version 0.4.9 (2021-03-24)

  • Fixed: package metadata defined in setup.cfg

Version 0.4.8 (2021-03-24)

  • Changed: move to Github and make open source release

Version 0.4.7 (2021-01-22)

  • Changed: audobject.Object implements __hash__()

  • Changed: borrow arguments from dictionary

Version 0.4.6 (2020-12-04)

  • Fixed: avoid warnings for unsupported kwargs in audobject.Object.from_dict()

Version 0.4.5 (2020-12-04)

  • Added: borrow argument to audobject.init_decorator()

Version 0.4.4 (2020-12-03)

  • Changed: parse authors and project name from setup

  • Changed: use audeer.deprecated_keyword_argument()

Version 0.4.3 (2020-11-06)

  • Changed: raise error when serializing a callable

Version 0.4.2 (2020-10-23)

  • Changed: better error messages

  • Changed: audobject.init_decorator() stores hidden arguments before calling __init__

Version 0.4.1 (2020-10-21)

  • Added: argument flatten to audobject.Object.to_dict()

Version 0.4.0 (2020-10-19)

  • Added: audobject.Object.arguments(), audobject.Object.hidden_arguments(), audobject.Object.resolvers()

  • Added: hide to audobject.init_decorator() (replaces ignore_vars)

  • Changed: Serialize only arguments of __init__ to YAML

  • Changed: Raise error if user tries to hide argument without default value

  • Changed: Raise error if argument that is not hidden is not assigned to a variable

  • Removed: check_vars from audobject.init_decorator

Version 0.3.3 (2020-10-09)

  • Fixed: dependency to audeer

Version 0.3.2 (2020-10-08)

  • Fixed: support empty dictionary

Version 0.3.1 (2020-10-08)

  • Changed: replace override_vars with kwargs

Version 0.3.0 (2020-10-08)

  • Added: option to ignore variables

  • Added: option to override variables

  • Changed: change sanity_check=True to check_vars=False

Version 0.2.0 (2020-10-08)

  • Added: audobject.init_decorator()

  • Added: audobject.Dictionary

Version 0.1.0 (2020-10-02)

  • Added: initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audobject-0.4.10.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

audobject-0.4.10-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file audobject-0.4.10.tar.gz.

File metadata

  • Download URL: audobject-0.4.10.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for audobject-0.4.10.tar.gz
Algorithm Hash digest
SHA256 cc9da822ce51b04f29f7fe3f20bf779acba37c9d966681beb9b276276ed3394a
MD5 d64aaddd7eebe0fa921fb52230936898
BLAKE2b-256 ed286f3a5c00e911669e2a39d48451536827d5910c3e9f9fb9141808b206380d

See more details on using hashes here.

File details

Details for the file audobject-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: audobject-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for audobject-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7dbe0bd7a76b0972f13e704db155061b4db5b3c9904a232ac578e646b8e818d3
MD5 c6cbf74496c0249dbe9fc18363259523
BLAKE2b-256 b47da448a4cc506f94bcb6fda3971cfb735dc1c6768fd6d53173fde565d2dddb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page