Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Abdullah-Wex/CallKey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

CallKey v1 | Python Object

This python object was create to handling with Json Objects in Python and more...

Main Functions

There is 10 main functions with this object

  • inValue

    This function used with dict to access by a key and handling with any error

    def inValue(key: str,unique=False, find = False) -> CallKey
  • resign

    This function resign the variable value

    def resign(value)
  • eachInValue

    This function used with list of dict to get each key from each dict and return it as a list 1D

    def eachInValue(key: str)
  • allInValue

    This function used with list of dict to get each keys from each dict and return it as a list 2D

    def allInValue(keys: Literal)
  • revers_Bool

    This function check if CallKey value is empty return False otherwise return True

    def revers_Bool()
  • filter

    This function the same as built-in function filter but handle with CallKey value and unique parameter is return the first item in the results

    def filter(function,unique=False)
  • map

    This function the same as built-in function map but handle with CallKey value and unique parameter is return the first item in the results

    def map(function,unique=False)
  • function

    This function apply a function to CallKey Value

    def function(function)
  • find

    This function find items inside CallKey value and you can use parameters:
    function: bool function use to make conditions.
    findAll: to return all or first result.
    returnIndex: to return values or indexes of the values.

    def find(function, findAll=False,returnIndex=True)
  • pop

    This function find items inside CallKey value and you can use parameters:
    findAll: to return all or first result
    returnIndex: to return values or indexes of the values

    def pop(function,returnValues = False)

About

CallKey | Python Object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /