Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Utilities for lazy Python developers

Project description


Utilities for lazy Python developers


pip install plazy


List Files

Plazy version: 0.1.1+

List files recursively in directory.

import plazy

if __name__ == "__main__":
    files = plazy.list_files(root='images',
                            filter_func=lambda x : True if x.endswith('.jpg') else False,
    print(files) # ['1.jpg', '2.jpg', '_sub_/4.jpg']

Auto Assign

Plazy version: 0.1.0+

Assign attributes of class with the passed arguments automatically.

import plazy

class Cat(object):
    def __init__(self, name, owner='Kyzas'):

if __name__ == "__main__":
    my_cat = Cat('Kittie')
    print(      # Kittie
    print(my_cat.owner)     # Kyzas


  • Step 1. Fork on dev branch.
  • Step 2. Install pre-commit on the local dev environment.
pip install pre-commit
pre-commit install
  • Step 3. Write test case(s) for the new feature or the bug.
  • Step 4. Write code to pass the tests.
  • Step 5. Make sure that the new code passes all the pre-commmit conditions.
pre-commit run -a
  • Step 6. Create pull request.

Project details

Download files

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

Files for plazy, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size plazy-0.1.1-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size plazy-0.1.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page