Socket
Socket
Sign inDemoInstall

zyncify

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

zyncify

zync is a utility tool for python operations

    0.1.9

Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc