Skip to main content

JustBard's Python Utilities

Project description

jblib

Author: Justin Bard

This module was written to minimize the need to write the functions I use often.


The source code can be viewed here: https://github.com/ANamelessDrake/jblib

More of my projects can be found here: http://justbard/com


class cd()

    Example: 
        with cd(directory):
            print (os.getcwd()) 

        print (os.getcwd()) ## Back at the originating directory on exit

class hilight(string).color(higlight=True, bold=True)

    Example:
        print (hilight("Hello World").red(bold=True))

        Or you could make an object:
            text = hilight("Bar")

            print ("Foo "+text.blue())

        To return the original string:
            print (text.string)

    Available Colors:
        red
        green
        yellow
        blue
        purple
        teal
        white

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

jblib-1.6.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

jblib-1.6.1-py3-none-any.whl (3.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