Skip to main content

Just some small helpers for nested attributes

Project description

nested-attrs

CI codecov

Just some small helpers for nested attributes.

Example

from nested_attrs import ngetattr as getattr
from nested_attrs import nsetattr as setattr

setattr(x, 'y.z', 'Hello, World!')
getattr(x, 'y.z') # 'Hello, World!

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

nested-attrs-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

nested_attrs-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file nested-attrs-0.1.0.tar.gz.

File metadata

  • Download URL: nested-attrs-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for nested-attrs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e41efc2df17c37c6fc092f75df335462997e054830d35e8c6e4310609bd64654
MD5 af85ba3025b73356bf3bc7614515b3b9
BLAKE2b-256 62c5ac0af4e531e0835e292afd0983055e32d45f0036d8f21f5405b548c0795b

See more details on using hashes here.

File details

Details for the file nested_attrs-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nested_attrs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ebf2537fcee619bb5873bda9083abb80ff027db06e245ad1c02c2a209f51876
MD5 17e5d42719e937bb5263006af1d4a96b
BLAKE2b-256 2abf945274b672d7f15dd74d47bd7f80fce4f2e0dc1fcb4c3fef0ba3d94013a4

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