zync is a utility tool for python operations
Project description
zync
zync is a utility tool for python operations.
INSTALLATION
pip install zyncify
Usage
1. IMPORT
from zync import *
2. FUNCTIONS
1. 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
2. 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
3. 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
4. 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
Author
TJ Bredemeyer
twitter: @tjbredemeyer
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for zyncify-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44185d7690d3e308ff24dbe953df606566007a7fb914a49afc0d1d0f91618bc |
|
MD5 | c20fed61e4a2d95f4dce2af8f2330ef9 |
|
BLAKE2b-256 | d236cf19cabeeced4621c96523907a35c7685a2b39b7ef87049d8e464be496ff |