Skip to main content

useful wrap collections

Project description

useful wrap collections

Note: this package is still in alpha. Use with caution !

Quickstart

Install wrap:

pip install wrap

Use logcc:

@show(level ='DEBUG')
@safe(Exception)
def test(text):
    print(text)
    raise Exception('test')


if __name__ == '__main__':
    logging.basicConfig(level=logging.INFO)
    log = logging.getLogger()
    ret = test('hello world')
    print(ret, type(ret))

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wrap-2018.3.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file wrap-2018.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wrap-2018.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42cfbfcc9f1ec3ce397f1cd2aa99c17fbe04adebafea88cd72da9617f71455fe
MD5 fb1e9bea8f3bfefcf0082cbba54c67c8
BLAKE2b-256 b54d61cb826f49074f93048d7d57921272afd195c19112581e1fdd84ae11aff9

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