Saravanan666/pypi-org huggingface dataset:
Package: chepy
ChepyChepy is a python library with a handy cli that is aimed to mirror some of the capabilities ofCyberChef. A reasonable amount of effort was put behind Chepy to make it compatible to the various functionalities that CyberChef offers, all in a pure Pythonic manner. There are some key advantages and disadvantages that Chepy has over Cyberchef. The Cyberchef concept ofstackingdifferent modules is kept alive in Chepy.There is still a long way to go for Chepy as it does not offer every single ability of Cyberchef.Feel free to give the project a ⭐️!DocsRefer to the docs for full usage informationExampleFor all usage and examples, see the docs.Chepy has a stacking mechanism similar to Cyberchef. For example, this in Cyberchef:This is equivalent tofromchepyimportChepyfile_path="/tmp/demo/encoding"print(Chepy(file_path).load_file().reverse().rot_13().from_base64().from_base32().hexdump_to_str().o)Chepy vs CyberchefAdvantagesChepy is pure python with a supporting and accessible python apiChepy has a CLIChepy CLI has full autocompletion.Supports pe, elf, and other various file format specific parsing.Extendable viapluginsInfinitely scalable as it can leverage the full Python library.Chepy can interface with the full Cyberchef web app to a certain degree. It is easy to move from Chepy to Cyberchef if need be.The Chepy python library is significantly faster than the Cyberchef Node library.Works with HTTP/S requests without CORS issues.DisadvantagesChepy is not a web app (at least for now).Chepy does not offer every single thing that Cyberchef doesChepy does not have themagicmethod (at the moment)InstallationChepy can be installed in a few ways.Pypipip3installchepy# optionally with extra requirementspip3installchepy[extras]Gitgitclone--recursivehttps://github.com/securisec/chepy.gitcdchepy
pip3install-e.# I use -e here so that if I update later with git pull, I dont have it install it again (unless dependencies have changed)Standalone binaryOne can build Chepy to be a standalone binary also. This includes packaging all the dependencies together.gitclonehttps://github.com/securisec/chepy.gitcdchepy
pipinstall.
pipinstallpyinstaller
pyinstallercli.py--namechepy--onefileThe binary will be in the dist/ folder.PluginsCheck here for plugins docsUsed byRemnux linux.. toctree::
   :maxdepth: 3
   :caption: Contents:

   usage.md
   examples.md
   cli.rst
   chepy.md
   core.md
   modules.rst
   extras.rst
   plugins.md
   pullrequest.md
   config.md
   faq.md


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Package: cheqlist
Info:This is the README file for Cheqlist.Author:Chris Warrick <chris@chriswarrick.com>Copyright:© 2015-2019, Chris Warrick.Date:2019-12-01Version:0.3.2PURPOSEThis is a simple checklist application, written in Qt and Python.
Both PySide2 and PyQt5 are supported, but PySide2 is preferred.SCREENSHOTINSTALLATIONpip install cheqlist pyside2An AUR package also available.If you are on Linux, run:sudo update-mime-database /usr/share/mimeFILE FORMATGitHub Flavored Markdown is the usual file format:- [ ] unchecked
- [x] checkedHowever, the parser is quite liberal when it comes to reading files.
It also supports Markdown-style formatting for**bold**,*italic*,<u>underline</u>,~~strikeout~~.READ MORESee theCheqlist User’s Guidefor more details.COPYRIGHTCopyright © 2015-2019, Chris Warrick.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of the author of this software nor the names of
contributors to this software may be used to endorse or promote
products derived from this software without specific prior written
consent.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: chequeconvert
# ChequeConvert[![Build Status](https://travis-ci.org/pirsquare/chequeconvert-python.svg?branch=master)](https://travis-ci.org/pirsquare/chequeconvert-python)Convert amount to word for cheque writing## Installationpip install chequeconvert## Examples```shell# Works without commas as well. Comma is added for claritychequeconvert 501,932.03Output:Five Hundred And One Thousand Nine Hundred And Thirty Two And Cents Three Only```
Package: cherab-inversion
CHERAB-InversionCHERAB for Inversion, which is a package for the inversion technique of SVD, MFR, etc.
For more information, see thedocumentation pages.Quick installationmamba/condais recommended to installcherab-inversion.mambainstall-cconda-forgecherab-inversionIf you want to usepip, please installsuitesparseat first, then installcherab-inversion.# Linux (Debian/Ubuntu)sudoaptinstalllibsuitesparse-dev# macOSbrewinstallsuite-sparsepipinstallcherab-inversionFor DeveloppersIf you would like to developcherab-inversion, it is much easier to create a conda environment after cloning repository.mambaenvcreate-fenvironment.yaml
mambaactivatecherab-inv-dev
pythondev.pybuild
pythondev.pyinstallPlease follow thedevelopment procedure.
Package: cherab-phix
CHERAB-PHiXCHERAB for PHiX, which is a small tokamak device in Tokyo Institute of Technology
For more information, see thedocumentation pages.Quick installationpipcommand enables us to installcherab-phixfromPyPIrepository.python-mpipinstallcherab-phixFor DeveloppersIf you would like to developcherab-phix, it is much easier to create a conda environment after cloning repository.condaenvcreate-fenvironment.yaml
condaactivatecherab-phix-dev
pythondev.pybuild
pythondev.pyinstallPlease follow thedevelopment procedure.Caption: The plasma discharged image captured by the high-speed camera at PHiX.
Package: cherab-solps
Cherab SOLPSCherab add-on module for SOLPS simulations.This module enables the creation of Cherab plasma objects from SOLPS simulations.
Several SOLPS output formats are supported.
Please see the examples in thedemosdirectory for an illustration of how to use the module.InstallationIt is recommended to install Cherab in avirtual environment.
This will enable installation of packages without modifying the system Python installation, which is particularly important on shared systems.
To create a virtual environment, do the following:python3-mvenv~/venvs/cherab-venvAfter the virtual environment is created, it can be activated by running:source~/venvs/cherab-venv/bin/activateOnce activated, cherab-solps and its dependencies can be installed with:pipinstallcherab-solpsBuilding from sourceUsersThis module depends on the core Cherab framework.
Cherab core, and all of its dependencies, are available on PyPI and can be installed usingpip.Note also that abugin Cython prevents Cherab submodules from installing correctly.
This bug is fixed, but not yet released in the stable version of Cython.
As a result, you will need to install a pre-release version of Cython before installing this package.
Recent versions ofpipwhich supportPEP 518will handle this automatically when you runpip install cherab-solpsand a binary wheel is not available for your platform or Python version.For older versions ofpipyou may need to manually install the build-time dependencies.
First, clone this repository, then do:pipinstall-Ucython==3.0a5
pipinstallcherab
pipinstall<path-to-cherab-solps>This will pull incherab-core,raysectnumpyand other dependencies, then build and install the SOLPS module.DevelopersFor developing the code, it is recommended to use local checkouts ofcherab-coreandraysect, as well ascherab-solps.
Development should be done against thedevelopmentbranch of this repository, and any modifications submitted as pull requests to be merged back intodevelopment.To install the package in develop mode, so that local changes are immediately visible without needing to reinstall, install with:pip install -e <path-to-cherab-solps>If you are modifying Cython files you will need to run./dev/build.shfrom this directory in order to rebuild the extension modules.
They will then be used when Python is restarted.
Package: cherami-client
.. image:: https://travis-ci.org/uber/cherami-client-python.svg?branch=master:target: https://travis-ci.org/uber/cherami-client-python.. image:: https://coveralls.io/repos/github/uber/cherami-client-python/badge.svg?branch=master:target: https://coveralls.io/github/uber/cherami-client-python?branch=master.. image:: https://badge.fury.io/py/cherami-client.svg:target: https://badge.fury.io/py/cherami-client===============================Cherami Client For Python===============================Python client library for publishing/consuming messages to/from `Cherami <https://github.com/uber/cherami-server>`_.Installation------------``pip install cherami-client``Usage-----Create and edit the ``.yaml`` file under ``./config``See Example:::cat ./config/test.yamlSet the clay environment variable:::export CLAY_CONFIG=./config/test.yamlRun the example client:::python ./demo/example_publisher.pypython ./demo/example_consumer.pyContributing------------We'd love your help in making Cherami great. If you find a bug or need a new feature, open an issue and we will respond as fast as we can.If you want to implement new feature(s) and/or fix bug(s) yourself, open a pull request with the appropriate unit tests and we will merge it after review.Note: All contributors also need to fill out the `Uber Contributor License Agreement <http://t.uber.com/cla>`_ before we can merge in any of your changes.Documentation-------------Interested in learning more about Cherami? Read the blog post: `eng.uber.com/cherami <https://eng.uber.com/cherami/>`_License-------MIT License, please see `LICENSE <https://github.com/uber/cherami-client-python/blob/master/LICENSE>`_ for details.
Package: cheroot
Cheroot is the high-performance, pure-Python HTTP server used by CherryPy.StatusThe test suite currently relies on pytest. It’s being run via GitHub
Actions CI/CD workflows.For EnterpriseProfessional support for Cheroot is available as part of theTidelift Subscription.  The CherryPy maintainers and the
maintainers of thousands of other packages are working with
Tidelift to deliver one enterprise subscription that covers all
of the open source you use.Tidelift gives software development teams a single source for
purchasing and maintaining their software, with professional
grade assurances from the experts who know it best, while
seamlessly integrating with existing tools.Learn more.Contribute CherootWant to add something to upstream?Feel free to submit a PR or file an issue
if unsure. Please followCherryPy’s common contribution guidelines.
Note that PR is more likely to be accepted if it includes tests and detailed
description helping maintainers to understand it better 🎉Oh, and be pythonic, please 🐍Don’t know how?Check outHow to Contribute to Open Sourcearticle by GitHub 🚀License
Package: cheroot-cc
Cheroot is the high-performance, pure-Python HTTP server used by CherryPy.StatusThe test suite currently relies on pytest. It’s being run via Travis CI.Contribute CherootWant to add something to upstream?Feel free to submit a PR or file an issue
if unsure. Please followCherryPy’s common contribution guidelines.
Note that PR is more likely to be accepted if it includes tests and detailed
description helping maintainers to understand it better :tada:Oh, and be pythonic, please :snake:Don’t know how?Check outHow to Contribute to Open Sourcearticle by GitHub :rocket:License
Package: cheroot-ccwienk
Cheroot is the high-performance, pure-Python HTTP server used by CherryPy.StatusThe test suite currently relies on pytest. It’s being run via Travis CI.Contribute CherootWant to add something to upstream?Feel free to submit a PR or file an issue
if unsure. Please followCherryPy’s common contribution guidelines.
Note that PR is more likely to be accepted if it includes tests and detailed
description helping maintainers to understand it better :tada:Oh, and be pythonic, please :snake:Don’t know how?Check outHow to Contribute to Open Sourcearticle by GitHub :rocket:License
Package: cherrry
cherrry-pyCherrry Python SDKApp|Docs|BlogInstallation + API keyspip packageInstall with pip.See it on pypipipinstallcherrryAPI KeysFromhttps://cherrry.com/dashboard/apito get your API KeysPrivate KeyPrivate keys start withch_prvkeep it secret and never use it client-side. It has service role privilages: it can read + write data.Public KeyPublic keys start withch_pubThey're intended to be use client-side and have read-only privilages.InitalizefromcherrryimportCherrryClientinitialize the clientclient=CherrryClient("your_api_key")ConceptsTableA table is a collection of documents.DocumentA document is respresented as a JSON object literal with three fields:text,image, andmetadata.
These fields are also JSON object literals, where the keys can be strings with any contents, and their values are also strings.textandimageare semantically searchable each by their type respectively. Each document must have either atextorimagefield. It can also have both fields.metadatais used to store additional information and for filtering (feature in progress), it is an optional field.Basic FunctionsCreate Table[success,error]=client.create_table("table_name")Insert a DocDocuments must be of the following form{"text":{"a name for your text":"your desired text in a string"},"image":{"a name for your image":"a url to your downloadable image"},"metadata":{"key":"value"}}for example:[data,error]=client.table("recipes").insert({"text":{"name":"Octopus Cherry Pie"},"image":{"preview":"https://i.imgur.com/lFC8p0L.jpeg"},"metadata":{"author_name":"Davy Jones","author_email":"octo@pus.com"}})Search[data,error]=client.table("blogs").search({"prompt":"sea creature desert","size":1,"search_type":"image"});Get Doc by IDThe ID of documents are returned in the responses of/searchor/doc[data,error]=client.table("blogs").doc("1234")Delete a Doc[success,error]=client.table("blogs").delete("1234")
Package: cherry
cherry.. image::https://travis-ci.org/Windsooon/cherry.svg?branch=master:target:https://travis-ci.org/Windsooon/cherry.. image::https://img.shields.io/pypi/v/cherry.svg:target:https://pypi.python.org/pypi/cherry.. image::https://img.shields.io/pypi/l/cherry.svg:target:https://pypi.python.org/pypi/cherry.. image::https://img.shields.io/pypi/pyversions/cherry.svg:target:https://pypi.python.org/pypi/cherry:Version: 0.4
:Download:https://pypi.python.org/pypi/cherry/:Source:https://github.com/Windsooon/cherry:Support: >=Python3.3
:Keywords: native, bayes, classify
Package: cherry-jwt
Cherry JWTWarningAn simple implementation of JWT for educational purposes.Please do not use this in a real application.Installationpip install cryptography starkbank-ecdsa cherry_jwtUsageCreating a JWT with HS256 (mac)fromcherry_jwt.jwtimportJWTjwt=JWT(claims={'message':'hello world'},algorithm='HS256',secret='secret').encode()Verifying a JWT with HS256fromcherry_jwt.verifierimportJWTVerifierfromcherry_jwt.exceptionsimportJWTVerificationExceptionjwt_verifier=JWTVerifier(algorithm='HS256',key='secret',claims_validator={'message':'hello world'})try:jwt_verifier.verify(jwt)exceptJWTVerificationExceptionase:#handle rejectionprint(e)Creating a JWT with ECDSAfromcherry_jwt.jwtimportJWT#can accept key as PEM or DERprivate_key_pem=get_private_key_pem()jwt=JWT(claims={'message':'hello world'},algorithm='ECDSA',secret=private_key_pem,format='PEM').encode()Verifying a JWT with ECDSAfromcherry_jwt.verifierimportJWTVerifierfromcherry_jwt.exceptionsimportJWTVerificationExceptionjwt_verifier=JWTVerifier(algorithm='ECDSA',key=public_key_pem,claims_validator={'message':'hello world'}),format='PEM'try:jwt_verifier.verify(jwt)exceptJWTVerificationExceptionase:#handle rejectionprint(e)Set headerjwt=JWT(claims={'message':'hello world'},algorithm='HS256',secret='secret').set_header_val('FOO','BAR').encode()Convenience methods for common claimsjwt_verifier=JWTVerifier(algorithm='HS256',key='secret',claims_validator={'message':'hello world'}).check_aud_is('xxx').check_iss_is('yyy').check_sub_is('zzz')
Package: cherry-orm
Cherry ORMPython 异步 ORM简体中文·English简介Cherry ORM是一个 Python 的异步对象关系映射（ORM）库，它基于SQLAlchemy Core和Pydantic V1构建。它的一切设计都是为了简单易用，极大地减少开发者的数据库操作成本，提高开发效率，让开发者更专注于业务逻辑的实现。安装使用 pip:pip install cherry-orm使用 Poetry:poetry add cherry-orm使用 PDM:pdm add cherry-orm文档->文档地址示例fromdatetimeimportdatefromtypingimportList,Optionalimportcherrydb=cherry.Database("sqlite+aiosqlite:///:memory:")classStudent(cherry.Model):id:int=cherry.Field(primary_key=True)name:str=cherry.Field(unique=True,index=True)age:intbirthday:date=cherry.Field(default_factory=date.today)school:cherry.ForeignKey[Optional["School"]]=NoneclassMeta:database=dbtablename="student"classSchool(cherry.Model):id:cherry.PrimaryKey[int]name:str=cherry.Field(unique=True,index=True)students:cherry.ReverseRelation[List[Student]]=[]classMeta:database=dbtablename="school"asyncdefmain():awaitdb.init()# 插入school=awaitSchool(id=1,name="school 1").insert()student1=awaitStudent(id=1,name="student 1",age=15,school=school).insert()awaitStudent(id=2,name="student 2",age=18,school=school).insert()awaitStudent(id=3,name="student 3",age=20,school=school).insert()# 更新student1.age+=1awaitstudent1.save()# orawaitstudent1.update(age=19)# 获取关联的模型awaitschool.fetch_related(School.students)assertlen(school.students)==3# 条件查询# Pythonic 风格student2:Student=awaitStudent.filter(Student.name=="student 2").get()# Django 风格student2:Student=awaitStudent.filter(name="student 2").get()students:List[Student]=awaitStudent.filter(Student.age>=18).all()# 聚合查询student_nums:int=awaitStudent.filter(Student.age>=18).count()assertlen(students)==student_numsstudent_age_avg:Optional[int]=awaitStudent.select().avg(Student.age)# 查询时预取关联模型student_with_school:Student=(awaitStudent.filter(Student.name=="student 3").prefetch_related(Student.school).get())# 选择更新awaitStudent.select().update(birthday=date(2023,10,1))# 选择删除awaitStudent.filter(Student.age>=20).delete()
Package: cherrypicker
Flatten complex data.cherrypickeraims to make common ETL tasks (filtering data and
restructuring it into flat tables) easier, by taking inspiration from jQuery
and applying it in a Pythonic way to generic data objects.pipinstallcherrypickercherrypickerprovides a chainable filter and extraction interface to
allow you to easily pick out objects from complex structures and place them in
a flat table. It fills a similar role to jQuery in JavaScript, enabling you to
navigate complex structures without the need for lots of complex nested for
loops or list comprehensions.Examples>>>fromcherrypickerimportCherryPicker>>>importjson>>>withopen('climate.json','r')asfp:...data=json.load(fp)>>>picker=CherryPicker(data)>>>picker['id','city'].get()[[1,'Amsterdam'],[2,'Athens'],[3,'Atlanta GA'],...]>>>picker(city='B*')['info'](...population=lambdan:n>2000000,...area=lambdaa:a<2000...)['area','population'].get()[[1568,8300000],[891,3700000],[203,2800000]]More complex filtering and flattening of nested structures is possible. Learn
more in the documentation:https://cherrypicker.readthedocs.io.
Package: cherrypy-ask-sdk
ExtendingAsk SDKto work with CherryPy.Quick StartMandatorywarningfrom the upstream ask-sdk for python.WarningThese features are currently in beta. You can view the source
code in theAsk Python Sdkrepo on GitHub. The interface might change when the features are released as
stable.If you already have a skill built using the ASK SDK skill builders, then you
only need to do the following to set this up in your CherryPy application:importcherrypyimportcherrypy_ask_sdkfromask_sdk_core.skill_builderimportSkillBuildersb=SkillBuilder()# Register all handlers, interceptors etc.# For eg : sb.add_request_handler(LaunchRequestHandler())# add the ask_sdk_skill tool in the global ``cherrypy.tools`` toolbox.# Passing the cherrypy.tools toolbox is the default, but passing it# explicitly just to make it more explicit.cherrypy_ask_sdk.add_in_toolbox(cherrypy.tools)if__name__=='__main__':cherrypy.quickstart(config={'/':{'tools.ask_sdk_skill.on':True,'tools.ask_sdk_skill.skill':sb.create(),'tools.ask_sdk_skill.verify_signature':True,'tools.ask_sdk_skill.verify_timestamp':True}})Installationpip install cherrypy-ask-sdkFeaturesWorks as an extension on skills built using ASK SDK. No need to learn
something new.Provides default request signature and request timestamp verification.Provides a way to register multiple skills in the tree.NoteThis package was heavily inspired by the official Flask Ask SDK.
Package: cherrypy-cgiserver
Mit dem CherryPy Toolcherrypy-cgiserverkann man aus CherryPy einen
vollwertigen CGI-Server (Common Gateway Interface) machen.
Damit lassen sich sogar PHP-Dateien ausführen und ausliefern.
Es muss nur der PHP-Interpreter auf dem Computer installiert sein.
Ein zusätzlicher Apache-Server ist nicht nötig.So einfach lässt sich aus CherryPy ein vollwertiger PHP-Server machen:#!/usr/bin/env python# coding: utf-8importosimportcherrypyimportcpcgiserverTHISDIR=os.path.dirname(os.path.abspath(__file__))defmain():config={"global":{"server.socket_host":"0.0.0.0","server.socket_port":8080,},"/":{"tools.cgiserver.on":True,"tools.cgiserver.dir":THISDIR,"tools.cgiserver.base_url":"/","tools.cgiserver.handlers":{".php":"/usr/bin/php-cgi"},}}app=cherrypy.Application(None,config=config)cherrypy.quickstart(app,config=config)if__name__=="__main__":main()Installationpip install cherrypy-cgiserveroreasy_install cherrypy-cgiserverLinksHomepage:http://gerold-penz.github.com/cherrypy-cgiserver/Sourcecode:https://github.com/gerold-penz/cherrypy-cgiserverLizenzenhttp://gerold-penz.github.com/cherrypy-cgiserver/#lizenzen
Package: cherrypy-cors
CORS support for CherryPyIn a nutshellIn your application, either install the tool globally.importcherrypy_corscherrypy_cors.install()Or add it to your application explicitly.importcherrypy_corsapp=cherrypy.tree.mount(...)app.toolboxes['cors']=cherrypy_cors.toolsThen, enable it in your cherrypy config. For example, to enable it for all
static resources.config={'/static':{'tools.staticdir.on':True,'cors.expose.on':True,}}Seesimple-examplefor a runnable example.
Package: cherrypy-dynpool
A dynamic threadpool tool for CherryPyUsage:from cherrypy_dynpool import ThreadPoolMonitor

...

cherrypy.engine.threadpool_monitor = ThreadPoolMonitor(cherrypy.engine)
cherrypy.engine.threadpool_monitor.subscribe()
cherrypy.config.update({
    'server.thread_pool': 5,
    'server.thread_pool_max': -1,
    'server.thread_pool_minspare': 5,
    'server.thread_pool_maxspare': 15,
    'server.thread_pool_frequency': 2,
    'server.thread_pool_log_frequency': 1,
    'server.thread_pool_shrink_frequency': 5,
})

...

cherrypy.engine.start()
cherrypy.engine.threadpool_monitor.configure(
    thread_pool=cherrypy.server.httpserver.requests,
    logger=cherrypy.log
)
Package: cherrypy-jinja2
CherryPy-Jinja2CherryPy-Jinja2 is a simple CherryPy Tool to render output via Jinja2 templates.Importcherrypy_jinja2to make the tool available in CherryPy's default toolbox.Settools.jinja2.search_pathto a directory containing Jinja2 template files,
then attach the tool to exposed methods:class Root:
    @cherrypy.expose
    @cherrypy.tools.jinja2(template="index.html")
    def index(self):
        return {'message': "Hello"}