Skip to main content

A utility collection.

Project description

paladin-utils

A small utility collection.

Utils

Namespace

A dict accessible by getattr/setattr.

Example:

from paladin_util.namespace import Namespace
namespace = Namespace({
    'data': 'a'
})
print(namespace.data) #=> 'a'
namespace.data = 'b'
print(namespace.data) #=> 'b'

complexrange

A range over the complex space

Example:

from paladin_util.complexrange import complexrange
for i in complexrange((1, 32, -1), (32, 1)):
    print(i.real + i.imag)

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

paladin-util-0.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

paladin_util-0.0.1-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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