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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zyncify-0.1.9-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file zyncify-0.1.9.tar.gz.

File metadata

  • Download URL: zyncify-0.1.9.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zyncify-0.1.9.tar.gz
Algorithm Hash digest
SHA256 ffa5ad486c12dcc749721b4e815122358f50db19c53a15d6e359000d0014c30e
MD5 d8368e1929798116dc8c58ad4b0e79da
BLAKE2b-256 cb8bb9639b7447399691ee6d0f92638f21eba047c4895801ef6ca8641bacbcb1

See more details on using hashes here.

File details

Details for the file zyncify-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: zyncify-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zyncify-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6f9639546937eed6d87b5de0d4aed07cf64ac1c2590c6d142d164a5ee74a8216
MD5 2aa763fe01820fb8549a733693b7ff4b
BLAKE2b-256 a508fb01ef34bd769600c9711b53e4a30c3f884ce61e98dd9c5e2698111035e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page