Saravanan666/pypi-org huggingface dataset:
Package: python-jata
Jata - Typed Json DataSimple class to convert to and from json with benefits of IDE autocomplete.
Designed primarily for using Json web APIs directly without an unnecessary wrapper client.
See example.py for usageFeaturesAllows to declare types and defaults in class definitionNo restriction on the order of default and non-default fields even for inherited fieldsDoes no validation, all fields are optional and can be set laterAllows python keywords as fields withpykw_prefix. The prefix is automatically removed/added on json conversionDoes not care about extra unexpected fields. They just silently exist. Beware of typhos!TODOTool for generating constructor stubs (They don't work for IDE autocomplete)Tool for generating class from a sample jsonunit testswrite doc - Using StrEnum, constructor example, Comparison tableContinuous integrationOptionally do validation before serializingRelateddataclassnamedtupleNamedTupleTypedDictattrsBoxdacitepydantic
Package: python-jeeves
jeevesMr Jeeves will be happy to help you managing your Python project sir.FeaturesFully typed with annotations and checked with mypy,PEP561 compatibleAdd yours!InstallationpipinstalljeevesExampleShowcase how your project can be used:fromjeeves.exampleimportsome_functionprint(some_function(3,4))# => 7LicenseMITCreditsThis project was generated withwemake-python-package. Current template version is:06dd6b090ca018c0a07b1ad6c889e14951925b77. See what isupdatedsince then.
Package: python-jenkins
Python Jenkins is a python wrapper for theJenkinsREST API which aims to provide a more conventionally pythonic way of controlling
a Jenkins server.  It provides a higher-level API containing a number of
convenience functions.We like to use python-jenkins to automate our Jenkins servers. Here are some of
the things you can use it for:Create new jobsCopy existing jobsDelete jobsUpdate jobsGet a job’s build informationGet Jenkins master version informationGet Jenkins plugin informationStart a build on a jobCreate nodesEnable/Disable nodesGet information on nodesCreate/delete/reconfig viewsPut server in shutdown mode (quiet down)List running buildsDelete buildsWipeout job workspaceCreate/delete/update folders[1]Set the next build number[2]Install pluginsand many more..To install:$ sudo python setup.py installOnline documentation:http://python-jenkins.readthedocs.org/en/latest/DevelopersBug report:https://bugs.launchpad.net/python-jenkinsRepository:https://opendev.org/jjb/python-jenkinsCloning:git clonehttps://opendev.org/jjb/python-jenkinsPatches are submitted via Gerrit at:https://review.opendev.org/#/q/project:jjb/python-jenkinsPlease do not submit GitHub pull requests, they will be automatically closed.The python-jenkins developers communicate in the#openstack-jjbchannel
on Freenode’s IRC network.More details on how you can contribute is available on our wiki at:https://docs.opendev.org/opendev/infra-manual/latest/developers.htmlWriting a patchBe sure that you lint code before created an code review.
The easiest way to do this is to install gitpre-commithooks.Installing without setup.pyThen install the required python packages usingpip:$ sudo pip install python-jenkinsFootnotes[1]The freeCloudbees Folders Pluginprovides support for a subset of the full folders functionality. For the
complete capabilities you will need the paid for version of the plugin.[2]TheNext Build Number Pluginprovides support for setting the next build number.
Package: python-jenkins-monitor
If you need help, please email to1074321997@qq.com根据调用时间和定时设置字符串，返回定时任务的下一次执行时间的时间戳(前10位整数部分)，精确到分。当之后不会再有执行时间，则返回None
可完全模拟jenkins的定时任务设置，用在各种自定义的定时任务平台或脚本中
Package: pythonji
🐍 - Write Python with EmojisWrite Python code using emojis 🐍InspirationMarc Garciagave a wonderfullightning talkatEuroSciPy 2018 in Trento, where he pointed out some obviousdeficienciesin Python's handling of unicode. For instance, code like the following is not supported:importpandasas🐼Installation🐍 is available onPyPI. Install it withpip:$ python -m pip install pythonjiUsing 🐍🐍 installs aspythonji. 🐍 code files have the suffix.🐍. You can run a 🐍 code file as follows:$pythonjifile.🐍ExampleSave the following code to the file🐼.🐍:importpandasas🐼# Define a dataframe and print it to the console🐍=🐼.DataFrame({"animal":["Panda","Python","Lion"],"😀":["🐼","🐍","🦁"],"number":[1,2,3],},).set_index("😀")print(🐍)# Do some arithmetic with the dataframe🔤=f" Pythonji{' '.join(🐍.index)}"🔢=🐍.loc["🐍"].number+🐍.loc["🐼"].numberprint(🔤*🔢)You can run the code as follows:$pythonji🐼.🐍animal  number😀🐼   Panda       1🐍  Python       2🦁    Lion       3Pythonji 🐼 🐍 🦁 Pythonji 🐼 🐍 🦁 Pythonji 🐼 🐍 🦁Limitations🐍 currently only handles single script files. It can import any regular Python module, but unfortunately not 🐍 modules.Sadly,pipdoes not currently handle unicode command names. Ideally, we want the executable to be named🐍instead ofpythonji.Blackunfortunately can not handle 🐍 code. Does anybody want to contribute to ⬛, a formatter for 🐍?
Package: pythonji-2
🐍 - Write Python with Emojis[!NOTE]
This is a fork ofgahjelle/pythonjibecause it's not maintained anymore.Write Python code using emojis 🐍InspirationMarc Garciagave a wonderfullightning talkatEuroSciPy 2018 in Trento, where he pointed out some obviousdeficienciesin Python's handling of unicode. For instance, code like the following is not supported:importpandasas🐼Installation🐍 is available onPyPI. Install it withpip:python-mpipinstallpythonjiUsing 🐍🐍 installs aspythonji. 🐍 code files have the suffix.🐍. You can run a 🐍 code file as follows:pythonjifile.🐍ExampleSave the following code to the file🐼.🐍:importpandasas🐼fromnumpyimportrandomas🔀# Define a dataframe and print it to the console📋=🐼.DataFrame({"😀":["🐼","🐍","🦁"],"🏷️":["Panda","Python","Lion"],"💯":🔀.randint(2,5,size=3),},).set_index("😀")print(📋)# Do some arithmetic with the dataframe🔤=f" Pythonji{' '.join(📋.index)}"🔢=📋.loc["🐍","💯"]+📋.loc["🐼","💯"]print(🔤*🔢)You can run the code as follows:$pythonji🐼.🐍🏷💯
😀🐼Panda2🐍Python2🦁Lion4Pythonji🐼🐍🦁Pythonji🐼🐍🦁Pythonji🐼🐍🦁Pythonji🐼🐍🦁Limitations🐍 currently only handles single script files. It can import any regular Python module, but unfortunately not 🐍 modules.Sadly,pipdoes not currently handle unicode command names. Ideally, we want the executable to be named🐍instead ofpythonji.Blackunfortunately can not handle 🐍 code. Does anybody want to contribute to ⬛, a formatter for 🐍?
Package: python-jira-analysis
README==================installation------------------* clone python-jira-analysishg clone ssh://hg@bitbucket.org/fikander/python-jira-analysis* create Python virtual environment and active itvirtualenv venv. venv/bin/activate* run setup package - it will download and install all dependencies in the virtual envcd python-jira-analysispython ./setup.py install* NOTE: OSX: if installation of numpy module fails above due, try running this:ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install numpyARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future python ./setup.py install* create SQLite database where stats will be saved. Database is created at ~/jira_analysis.sqlite3 (your home directory)jira_analysis_manage.py syncdb* create config.ini file with your credentials (see FAQ below)running server-----------------* activate virtual environment if not active. venv/bin/activate* run Django development server. IMPORTANT: config.ini should be in directory you're running jira_analysis_manage.py fromjira_analysis_manage.py runserversetting up project------------------* make sure that server is running and navigate to `http://localhost:8000/admin`* create new Project definition object and fill all the fields. Example values for SOA project:"bugTypes": "Bug","updated": "2014-03-26T15:01:12.399Z","project_name": "Shazam on Android","endStatuses": "5,6","versions": "4.5.0,4.6.0","timestamp": "2014-03-26T15:01:12.399Z","startStatuses": "10033","project_key": "SOA","jql": "type NOT IN subTaskIssueTypes() AND (labels IS EMPTY OR labels NOT IN (old_for_review)) AND (Resolution IS EMPTY OR Resolution NOT IN (Duplicate))","histogramBins": 360,"minLeadTime": 60,"devStatuses": "10033,10035","qaStatuses": "10004,10003,10071,10038","owner": 1,"statuses": "1,4,10089,10000,10048,10069,10068,10030,10076,10033,10035,10004,10003,10071,10038,5,6"* NOTE: you can use /statuses URL to get a list of all available statuses with their idscalculating stats------------------* make sure that server is running and navigate to `http://localhost:8000/`FAQ====Q: How to manually modify SQLite DB-----------------use SQlite Database Browser to execute SQL, e.g.:`ALTER TABLE project ADD COLUMN tag varchar(64)`Q: What's the format of config.ini------------------[general]default-jira-profile=jira[jira]url=https://jira.shazamteam.netuser=JIRA_USERNAMEpass=JIRA_PASSWORD
Package: python-jmap
Python JMAP BindingsFeaturesTODORequirementsTODOInstallationYou can installPython JMAP BindingsviapipfromPyPI:$pipinstallpython-jmapUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Python JMAP Bindingsis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: python-jne-peru
Python JNE PeruLibrería de python para facilitar el acceso a la información pública relativa a los procesos
electorales de la plataforma del JNEhttps://plataformaelectoral.jne.gob.pe/.Free software: GNU General Public License v3Documentation:https://python-jne-peru.readthedocs.io.Instalarpip install python-jne-peruEjemplos de usofrom pyjne_peru.client import JNE

client = JNE()

# obtener listado de los procesos electorales
items = client.get_election_processes()
for item in items.exclude_empty_item:
    print(item.idProcesoElectoral, item.strProcesoElectoral)

# obtener tipos de elecciones disponibles
# para el proceso electoral "Elecciones Generales 2021"
items = client.get_election_types_by_process(110)
for item in items:
    print(item.idTipoEleccion, item.strTipoEleccion)

# obtener los expedientes para solicitud de inscripcion de listas para
# la presidencia del proceso electoral "Elecciones Generales 2021"
items = client.get_files_on_list(110, 1)

# obtener los candidatos incluidos en un expediente
# de solicitud de inscripcion de lista
items = client.get_candidates_by_list(110, 1, 22865, 90701)

# obtener la hoja de vida completa de un candidato
cv = client.get_resume(135686, 110, 2840)History0.1.0 (2021-03-05)First release on PyPI.
Package: python-jobdone
Jobdone.net python libraryThis is unofficial python library forjobdone.netJobdone.net is a service marketplace for online services, best place for sell small gig serices, digital items, guest post, reviews, virtual assistant and more.InstallationYou can install the jobdone python library fromPyPI:pip install python-jobdoneThe python-jobdone is supported on Python 2.7, as well as Python 3.4 and above.How to useimport jobdoneaccount =  jobdone.login(username="username", password="password")account.get_orders()
account.get_messages()
account.get_services()etc
Package: python-jose
A JOSE implementation in PythonDocs are available onReadTheDocs.The JavaScript Object Signing and Encryption (JOSE) technologies - JSON
Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), and
JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or
sign content using a variety of algorithms. While the full set of
permutations is extremely large, and might be daunting to some, it is
expected that most applications will only use a small set of algorithms
to meet their needs.Installation$ pip install python-jose[cryptography]Cryptographic BackendsAs of 3.3.0, python-jose implements three different cryptographic backends.
The backend must be selected as an extra when installing python-jose.
If you do not select a backend, the native-python backend will be installed.Unless otherwise noted, all backends support all operations.Due to complexities with setuptools, the native-python backend is always installed,
even if you select a different backend on install.
We recommend that you remove unnecessary dependencies in production.cryptographyThis backend usespyca/cryptographyfor all cryptographic operations.
This is the recommended backend and is selected over all other backends if any others are present.Installation:pip installpython-jose[cryptography]Unused dependencies:rsaecdsapyasn1pycryptodomeThis backend usespycryptodomefor all cryptographic operations.Installation:pip installpython-jose[pycryptodome]Unused dependencies:rsanative-pythonThis backend usespython-rsaandpython-ecdsafor all cryptographic operations.
This backend is always installed but any other backend will take precedence if one is installed.Installation:pip installpython-joseNoteThe native-python backend cannot process certificates.Usage>>>fromjoseimportjwt>>>token=jwt.encode({'key':'value'},'secret',algorithm='HS256')u'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ2YWx1ZSJ9.FG-8UppwHaFp1LgRYQQeS6EDQF7_6-bMFegNucHjmWg'>>>jwt.decode(token,'secret',algorithms=['HS256']){u'key':u'value'}ThanksThis library was originally based heavily on the work of the folks over atPyJWT.
Package: python-jose-cryptodome
python-jose-cryptodome===========A JOSE implementation in Python using pycryptodome instead pycrypto.Stop using pycrypto use pycryptodome_.|Build Status| |Coverage Status| |Docs|Docs are available on ReadTheDocs_.The JavaScript Object Signing and Encryption (JOSE) technologies - JSONWeb Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), andJSON Web Algorithms (JWA) - collectively can be used to encrypt and/orsign content using a variety of algorithms. While the full set ofpermutations is extremely large, and might be daunting to some, it isexpected that most applications will only use a small set of algorithmsto meet their needs.Principles----------This is a JOSE implementation that is not compatible with Google App Engineas it uses pycryptodome.Installation------------::$ pip install python-jose-cryptodomeUsage-----.. code-block:: python>>> from jose import jwt>>> token = jwt.encode({'key': 'value'}, 'secret', algorithm='HS256')u'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ2YWx1ZSJ9.FG-8UppwHaFp1LgRYQQeS6EDQF7_6-bMFegNucHjmWg'>>> jwt.decode(token, 'secret', algorithms=['HS256']){u'key': u'value'}Thanks------This library was originally based heavily on the work of the folks over at PyJWT_... |Build Status| image:: https://travis-ci.org/capless/python-jose-cryptodome.svg?branch=master:target: https://travis-ci.org/capless/python-jose-cryptodome.. |Coverage Status| image:: http://codecov.io/github/capless/python-jose-cryptodome/coverage.svg?branch=master:target: http://codecov.io/github/capless/python-jose-cryptodome?branch=master.. |Docs| image:: https://readthedocs.org/projects/python-jose/badge/:target: https://python-jose.readthedocs.org/en/latest/.. _ReadTheDocs: https://python-jose.readthedocs.org/en/latest/.. _PyJWT: https://github.com/jpadilla/pyjwt.. _pycryptodome: https://blog.sqreen.io/stop-using-pycrypto-use-pycryptodome/
Package: python-jose-ext
A JOSE implementation in PythonDocs are available onReadTheDocs.The JavaScript Object Signing and Encryption (JOSE) technologies - JSON
Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), and
JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or
sign content using a variety of algorithms. While the full set of
permutations is extremely large, and might be daunting to some, it is
expected that most applications will only use a small set of algorithms
to meet their needs.PrinciplesThis is a JOSE implementation that is fully compatible with Google App Engine
which requires the use of the PyCrypto library.Installation$ pip install python-joseUsage>>>fromjoseimportjwt>>>token=jwt.encode({'key':'value'},'secret',algorithm='HS256')u'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ2YWx1ZSJ9.FG-8UppwHaFp1LgRYQQeS6EDQF7_6-bMFegNucHjmWg'>>>jwt.decode(token,'secret',algorithms=['HS256']){u'key':u'value'}ThanksThis library was originally based heavily on the work of the folks over atPyJWT.
Package: python-jose-TPM
python-jose-TPMA JOSE implementation in Python that uses a TPM for crpytographic operations.General informationThis package depends on thetpm2-pytsslibrary. Go tohttps://tpm2-pytss.readthedocs.io/en/latest/install.htmland look how to set it up.Installation$ pip install python-jose-TPMUsagefrompython_jose_TPMimportjwe,jwtSupported AlgorithmsFor JWS the following signature algorithms (algparameter values) are supported:RS256For JWE the following content encryption key algorithms (algparameter values) are supported:DIRRSA1_5For JWE the following content encryption algorithms (encparameter values) are supported:A128CBC-HS256More algorithms will be implemented in the future.ThanksThis library is based on the work ofpython-josefrom Michael Davis.
Package: python-jsend-response
Descriptionpython-jsend-response is a simple implementation ofJSend.JSend is a specification that lays down some rules for how JSON responses from web servers should be formatted. JSend focuses on application-level (as opposed to protocol- or transport-level) messaging which makes it ideal for use in REST-style applications and APIs.:You'll have all kinds of different types of calls and responses. JSend separates responses into some basic types, and defines required and optional keys for each type:TypeDescriptionRequired KeyssuccessAll went well, and (usually) some data was returned.status, datafailureThere was a problem with the data submitted, or some pre-condition of the API call wasn't satisfiedstatus, dataerrorAn error occurred in processing the request, i.e. an exception was thrownstatus, message
Package: python-jsl-NullMember
python-jslPython Wrapper for JoyShockLibrary using ctypesHow to useJustimport JoyShockLibraryin your project or usefrom JoyShockLibrary import *if you prefer. For API documentation please
refer toJoyShockLibrary project page. Since this is pure ctypes wrapper, there is slight usage differences.To useJslGetConnectedDeviceHandlesfunction you need to pass int array. You can create int array using(ctypes.c_int * arrayLength)()To useJslGetCalibrationOffsetfunction you need to pass three C float pointers. You can create C floats usingvariableName = ctypes.c_float(). They can be used directly to pass pointers of them. For exampleJslGetCalibrationOffset(deviceID, variableName1, variableName2, variableName3)To create C compatible callback function pointer you need to pass your callback function toJslCallbackorJslTouchCallbackfunctions. They will return C compatible pointer of your functions. You can pass them directly toJslSetCallbackorJslSetTouchCallbackfunctions.You can find examples for these differences above inJoyShockLibrary wrapper source.RequirementsYou need to copy JoyShockLibrary.dll (for Windows) to one of your PATH folders or where your script is running.Both JoyShockLibrary and this python wrapper tested on Windows. They might work on other OSes.
Package: python-json2csv
python-json2csvConvert json array data to csv.Note:zencore-json2csv rename to python-json2csvInstallpip install python-json2csvUsageE:\>json2csv --help
Usage: json2csv [OPTIONS]

Options:
-f, --file FILENAME     Input file name, use - for stdin.
--file-encoding TEXT    Input file encoding.
-o, --output FILENAME   Output file name, use - for stdout.
--output-encoding TEXT  Output file encoding.
-k, --keys TEXT         Output field names. Comma separated string list.
-p, --path TEXT         Path of the data.
--help                  Show this message and exit.ExamplesExample 1INPUT:[
    [1,2,3],
    [2,3,4]
]OUTPUT:1,2,3
2,3,4COMMAND:cat input.txt | json2csv -o output.txtExample 2INPUT:[
    {"f1": 11, "f2": 12, "f3": 13},
    {"f1": 21, "f3": 23, "f2": 22}
]OUTPUT:11,12,13
21,22,23COMMAND:cat input.txt | json2csv -o output.txt -k f1,f2,f3Example 3INPUT:{
    "data": {
        "list": [
            [1,2,3],
            [2,3,4],
        ]
    }
}OUTPUT:1,2,3
2,3,4COMMAND:cat input.txt | json2csv -o output.txt -p data.listReleasesv0.2.0 2019-11-05Rename from zencore-json2csv to python-json2csv.Fix console application install method in setup.py.v0.1.1 2018-02-27Simple json2csv console utils released.
Package: python-json2yaml
A simple command that turn json data to yaml format and vice versa. It can be used in Linux, MacOS and Window.Installpip install python-json2yamlCommandsjson2yamlyaml2jsonCommand HelpersE:\code\zencore-json2yaml\test>json2yaml --help
Usage: json2yaml [OPTIONS] [SRC] [DST]

Options:
--help  Show this message and exit.

E:\code\zencore-json2yaml\test>yaml2json --help
Usage: yaml2json [OPTIONS] [SRC] [DST]

Options:
--help  Show this message and exit.Command ExamplesRead json text from stdin and print yaml text to stdoutcat a.json | json2yamlRead json text from stdin and print yaml text to a filecat a.json | json2yaml - a.txtRead json text from a file and print yaml text to another filejson2yaml a.json a.txt
Package: python-json-config-parser
python-json-config-parserThis project was created to give you the possibility of creating json config files dynamicaly using OOPHOW TO INSTALLUse pip to install it.pip install python-json-config-parserHOW TO USEThe Class Config takes two arguments, the first is a Schema(https://github.com/keleshev/schema) to ensure the model of config, the second is the str path of json config file.If you don't specify the path, the default value('config.json') will be used if one exists in the same dir where the script is running.For example:The model file.from schema import Use, And

SCHEMA_CONFIG = {
    "core":{
        "logging":{
            "format": And(Use(str), lambda string: len(string) > 0),
            "datefmt": And(Use(str), lambda string: len(string) > 0)
        },
        "allowed_clients":[
            {
                "ip":str, # <- Here you can use regex to validate the ip format
                "timeout":int
            }
        ]
    }
}The config.json file{
    "core":{
        "logging":{
            "format":"[%(asctime)s][%(levelname)s]: %(message)s",
            "datefmt": "%d-%b-%y %H:%M:%S"
        },
        "allowed_clients":[
            {
                "ip":"192.168.0.10",
                "timeout":60
            },
            {
                "ip":"192.168.0.11",
                "timeout":100
            }
        ]
    }
}The istance of Config Class:from jsonconfigparser import Config, ConfigException
import logging

try:
    config = Config(SCHEMA_CONFIG) # <- Here I'm using that SCHEMA_CONFIG we had declared, and the dir file default value is being used
except ConfigException as e:
    print(e)
    exit()

#to access your config you need just:


fmt = config.core.logging.format #look this, at this point I'm already using the config variable
dtfmt = config.core.logging.datefmt #here again

logging.getLogger(__name__)

logging.basicConfig(
    format=fmt,
    datefmt=dtfmt
    level=20
)

#the list of object example:

for client in config.core.allowed_clients:
    print(client.ip)
    print(client.timeout)Instanced the first obj, you can instance Config in other files of your project
just calling the Config without args like that:from jsonconfigparser import Config, ConfigException

config = Config() #At this point you already have the configuration properties in your config objectCONTRIBUTEForkhttps://github.com/BrunoSilvaAndrade/python-json-config-parser/, create commit and pull request todevelop.