Skip to main content

zync is a utility tool for python operations

Project description

zync

zync is a utility tool for python operations.

zync-ci

INSTALLATION

pip install zyncify

Usage

1. IMPORT

from zync import *

2. FUNCTIONS

logger

logger takes in a string and logs it with an INFO level.

from zync import logger

# logging a string INFO
logger("info message")

# logging a variable INFO
message = "info message"
logger(message)

###
# returns: INFO info message

bugger

bugger takes in a string and logs it with a DEBUG level.

from zync import bugger

# logging a string DEBUG
bugger("debug message")

# logging a variable DEBUG
message = "debug message"
bugger(message)

###
# returns: DEBUG debug message

wegger

wegger takes in a string and logs it with an ERROR level.

from zync import wegger

# logging a string ERROR
wegger("error message")

# logging a variable ERROR
message = "error message"
wegger(message)

###
# returns: ERROR debug message

Slugger

Slugger converts a string to slug while maintaining capitalization.

from zync import Slugger

# Slugging a string with Caps
Slugger("Test String")

# Slugging a variable with caps
string = "Test String"
Slugger(string)

###
# returns: Test-String

slugger

slugger converts a string to a slug with no capitalization.

from zync import slugger

# Slugging a string without Caps
slugger("Test String")

# Slugging a variable without caps
string = "Test String"
slugger(string)

###
# returns: test-string

3. TAIL LOG FILE

tail -f ./.zync.log

Author

TJ Bredemeyer
twitter: @tjbredemeyer

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

zyncify-0.1.9.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

zyncify-0.1.9-py3-none-any.whl (16.9 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