Saravanan666/pypi-org huggingface dataset:
Package: zxcvbn-dutch
This is a python port of zxcvbn, which is a JavaScript password strength
generator. zxcvbn attempts to give sound password advice through pattern
matching and conservative entropy calculations. It finds 10k common passwords,
common American names and surnames, common English words, and common patterns
like dates, repeats (aaa), sequences (abcd), and QWERTY patterns.All the hard work on the Python port been done by Ryan Pearl, in his
original python-zxcvbn package. This version adds a Dutch word list.Please refer tohttp://tech.dropbox.com/?p=165for the full details and
motivation behind zxcbvn. The source code for the original JavaScript (well,
actually CoffeeScript) implementation can be found at:https://github.com/lowe/zxcvbnFor full motivation, see:http://tech.dropbox.com/?p=165InstallThis project is available from PyPI as zxcvbn-dutch:https://pypi.python.org/pypi/zxcvbn-dutchYou can install it with:pip install zxcvbn-dutchIf you haven an existing Python version of zxcvbn installed, it is
recommended to uninstall it before installing zxcvbn-dutch.UseThe zxcvbn module exports the password_strength() function. Import zxcvbn, and
call password_strength(password, user_inputs=[]).  The function will return a
result dictionary with the following keys:entropy            # bitscrack_time         # estimation of actual crack time, in seconds.crack_time_display # same crack time, as a friendlier string:# “instant”, “6 minutes”, “centuries”, etc.score              # [0,1,2,3,4] if crack time is less than# [10**2, 10**4, 10**6, 10**8, Infinity].
# (useful for implementing a strength bar.)match_sequence     # the list of patterns that zxcvbn based the# entropy calculation on.calculation_time   # how long it took to calculate an answer,# in milliseconds. usually only a few ms.The optional user_inputs argument is an array of strings that zxcvbn
will add to its internal dictionary. This can be whatever list of
strings you like, but is meant for user inputs from other fields of the
form, like name and email. That way a password that includes the user’s
personal info can be heavily penalized. This list is also good for
site-specific vocabulary.Bug reports and pull requests welcome!AcknowledgmentsDropbox, thank you again for supporting independent projects both inside and
outside of hackweek.Thanks to Dan Wheeler (https://github.com/lowe) for the CoffeeScript implementation
(see above.) To repeat his outside acknowledgements (which remain useful, as always):Many thanks to Mark Burnett for releasing his 10k top passwords list:http://xato.net/passwords/more-top-worst-passwordsand for his 2006 book,
“Perfect Passwords: Selection, Protection, Authentication”Huge thanks to Wiktionary contributors for building a frequency list
of English as used in television and movies:http://en.wiktionary.org/wiki/Wiktionary:Frequency_listsMany thanks to the University of Leipzig for releasing their Dutch word lists:http://wortschatz.uni-leipzig.de/html/sitemap.htmlLast but not least, big thanks to xkcd :)https://xkcd.com/936/
Package: zxcvbn-rs-py
zxcvbn-rs-pyPython bindings forzxcvbn-rs, the Rust implementation of zxcvbnDocumentation:https://fief-dev.github.io/zxcvbn-rs-py/Source Code:https://github.com/fief-dev/zxcvbn-rs-pyInstallationpipinstallzxcvbn-rs-pyQuickstartfromzxcvbn_rs_pyimportzxcvbnr=zxcvbn("correcthorsebatterystaple")print(r.score)BenchmarkThanks to its Rust core, zxcvbn-rs-py is~5 times fasterthan the pure Python implementation,zxcvbn-python.Serve the documentationYou can serve the Mkdocs documentation with:hatchrundocs-serveIt'll automatically watch for changes in your code.LicenseThis project is licensed under the terms of the MIT license.
Package: zxext
zxext智学网的补充库收录了一些智学网库里比较冷门的函数。一个版本仅对应一个智学网的版本！对应关系zxext版本对应zhixuewang版本0.1.0-0.1.11.1.12支持的功能练习本功能（workbook）问题和建议如果您在使用的过程中遇到任何问题，欢迎前往Issue提问
当然也可以加入这个QQ群讨论：862767072（备注：智学网扩展）示例fromzxext.workbookimportWorkbook# 导入练习本fromzhixuewangimport*# 导入核心库teacher=login("114514","1919810")wb=Workbook(teacher.get_session())print(wb.search_press("人教"))# >> 272贡献建议优先提交给zhixuewang库，除非是部分比较不常用的功能。
Package: zx-forecasting-framework
###Description of the project
A Python package to enable quick iterative time series analysis, modelling and forecasting using combinations of
automatic transformations, differencing and forecasting models.Installationpip install zx_forecasting_frameworkExamplefrom zx_forecasting_framework import Analyse
from zx_forecasting_framework import Metrics
from zx_forecasting_framework import Model
from zx_forecasting_framework import TimeSeriesObject
from zx_forecasting_framework import TransformLicenseZX Forecasting Framework is licensed underthe MIT License
Package: zxgraphs
ZX graphs are a graph-theoretic tool to represent quantum circuits and computations in terms of computational basis (Z basis) and Fourier basis (X basis) tensors (known to us as “spiders”) for finite Abelian group algebras.
They are closely related to the original qubit ZX calculus[1][2]and recent developments in higher-dimensional variants[3][4].[1]Bob Coecke and Ross Duncan,“Interacting Quantum Observables: Categorical Algebra and Diagrammatics”, 2009.arXiv:0906.4725[2]Aleks Kissinger and John van de Wetering,“PyZX: Large Scale Automated Diagrammatic Reasoning”, 2020.arXiv:1904.04735,pyzx on GitHub[3]John van de Wetering and Lia Yeh,“Phase gadget compilation for diagonal qutrit gates”, 2022.arXiv:2204.13681[4]Robert I. Booth and Titouan Carette,“Complete ZX-calculi for the stabiliser fragment in odd prime dimensions”, 2022.arXiv:2204.12531ContentsInstallUsageAPIContributingLicenseInstallZX graphs are currently in pre-alpha development.
Once development is complete, you will be able to install the latest release fromPyPIas follows:$pipinstall--upgradezxgraphsUsageZX graphs are currently in pre-alpha development.APIZX graphs are currently in pre-alpha development. Once development is complete, the full API documentation will be available athttps://zxgraphs.readthedocs.io/ContributingPlease seeCONTRIBUTING.md.LicenseLGPL (c) Hashberg Ltd.
Package: zxing
python-zxingThis is a wrapper for theZXing barcode library.
It will allow you to read and decode barcode images from Python.It was originally a "slightly less quick-and-dirty" fork ofoostendo/python-zxing, but has since
evolved considerably beyond that ancestral package.Dependencies and installationUse the Python 3 version of pip (usually invoked viapip3) to install:pip3 install zxingYou'll neeed to have a recentjavabinary somewhere in your path. (Tested with OpenJDK v7, v8, v11.)pip will automatically download the relevantJARfiles for the Java ZXing libraries (currently v3.5.1)UsageTheBarCodeReaderclass is used to decode images:>>>importzxing>>>reader=zxing.BarCodeReader()>>>print(reader.zxing_version,reader.zxing_version_info)3.5.1(3,5,1)>>>barcode=reader.decode("test/barcodes/QR_CODE-easy.png")>>>print(barcode)BarCode(raw='This should be QR_CODE',parsed='This should be QR_CODE',path='test/barcodes/QR_CODE-easy.png',format='QR_CODE',type='TEXT',points=[(15.0,87.0),(15.0,15.0),(87.0,15.0),(75.0,75.0)])The attributes of the decodedBarCodeobject areraw,parsed,path,format,type, andpoints. The list of formats which ZXing can decode ishere.Thedecode()method accepts an image path orPIL Image object(or list thereof)
and takes optional parameterstry_harder(boolean),possible_formats(list of formats to consider), andpure_barcode(boolean).
If no barcode is found, it returns aFalse-yBarCodeobject with all fields exceptpathset toNone.
If it encounters any other recognizable error from the Java ZXing library, it raisesBarCodeReaderException.Command-line interfaceThe command-line interface can decode images into barcodes and output in either a human-readable or CSV format:usage: zxing [-h] [-c] [--try-harder] [--pure-barcode] [-V] image [image ...]Human-readable:$zxing/tmp/barcode.png
/tmp/barcode.png================DecodedTEXTbarcodeinQR_CODEformat.Rawtext:'Testing 123'Parsedtext:'Testing 123'CSV output (can be opened by LibreOffice or Excel):$zxing/tmp/barcode1.png/tmp/barcode2.png/tmp/barcode3.png
Filename,Format,Type,Raw,Parsed
/tmp/barcode1.png,CODE_128,TEXT,Testing123,Testing123/tmp/barcode2.png,QR_CODE,URI,http://zxing.org,http://zxing.org
/tmp/barcode3.png,QR_CODE,TEXT,"This text, ""Has stuff in it!"" Wow⏎Yes it does!","This text, ""Has stuff in it!"" Wow⏎Yes it does!"LicenseLGPLv3
Package: zxing-cpp
Python bindings for zxing-cppInstallationpipinstallzxing-cpporpythonsetup.pyinstall[Note: To install viasetup.py(or viapip installin case there is no pre-build wheel available for your platfor or python version), you need a suitablebuild environmentincluding a c++ compiler.]Usageimportcv2,zxingcppimg=cv2.imread('test.png')results=zxingcpp.read_barcodes(img)forresultinresults:print('Found barcode:'f'\nText:    "{result.text}"'f'\nFormat:{result.format}'f'\nContent:{result.content_type}'f'\nPosition:{result.position}')iflen(results)==0:print("Could not find any barcode.")To get a full list of available parameters forread_barcodesandwrite_barcodeas well as the properties of the result objects, have a look at thePYBIND11_MODULEdefinition inthis c++ source file.
Package: zxing-tkinter-utils
目标用tkinter开发小型桌面应用。App类一个窗口，有一些预设值：大小不可改变。窗口位置居中。字体大小为16。place方法推荐使用tkinter的place布局，宽高坐标都是写死的。我简化了一下调用方式。# 之前xxx.place(x=0,y=0,width=100,height=100)# 之后place(xxx,0,0,100,100)
Package: zxinvoice
####################### Q&A ########################一、打开终端，运行以下命令行：
pip install --upgrade pip
pip install chinesecalendar
pip install baidu-aip
pip install chardet
pip install pywebio二、Mac 安装Python库 pysqlcipher3
brew install sqlcipher
pip install pysqlcipher3三、解压文件，终端命令行进入项目根目录
cd 项目根目录
nohup python main.py > run.log 2>&1 &####################### Q&A ########################一、 MAC 安装brew
如果命令行提示没有安装brew，运行以下命令：
/bin/zsh -c "$(curl -fsSLhttps://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"二、MAC 安装pysqlcipher3库过程中提示：undefined method `cellar' for 解决方法
cd /usr/local/Homebrew/Library/Taps/homebrew/
rm -rf homebrew-core
git clonehttps://github.com/Homebrew/homebrew-core.git
Package: zxkane.cdk-construct-simple-nat
Simple NATIt's a CDK construct to create NAT instances on AWS.It supports adding specific IP CIDRs to route tables of VPC, the network traffic to those IP CIDRs will be forwarded to the NAT instances.It supports routing to below services out of box,Github git serversGoogleCloudflareInstallTypeScript/JavaScript:yarnaddcdk-construct-simple-natornpminstallcdk-construct-simple-natUsageimport{SimpleNAT}from'cdk-construct-simple-nat';newSimpleNAT(this,'SimpleNAT',{vpc,natSubnetsSelection:{subnetType:SubnetType.PUBLIC,onePerAz:true,},}).withGithubRoute();See the completeexampleandAPI doc.FAQWhat's the difference betweenEC2 NAT instancesand NAT instances created by this constructThere are below differences,EC2 NAT instance will route all Internet traffic to itself by defaultNAT instance uses depracated Amazon Linux AMI, this construct always uses latest Amazon Linux 2 AMINAT instances created by this construct can work with NAT gateways together, you can have multiple NAT instances in one VPCThis construct can help when only routing specific traffic(for example, github/gist) to NAT instances which acts as transit proxyWhat's the difference betweenCDK built-in NAT instancesand NAT instances created by this constructCDK built-in NAT instances has to be created with VPC stack, this construct can add NAT instances to any existing VPCYou can use this construct multiple NAT instances for different purposesThis construct allows you customize the instances how to route the trafficThe deployment fails due to the routes in route table exceeds the limitThe default routes in route table is 50, the deployment will fail if adding routes more than the limit of your account.
You can increase the limit up to1000routes per route table via service quota.How to exclude IPv6 CIDR with built-in github/google/cloudflare routesYou can exclude IPv6 CIDR like below,newSimpleNAT(this,'SimpleNAT',{vpc,}).withCloudflareRoute({excludeIPv6:true,});
Package: zxlive
TheZX-calculusgives us a handy way to represent and work with quantum computations. ZXLive is an interactive tool for working with ZX. Draw graphs or load circuits and apply ZX rules. Intended for experimenting, building proofs, helping to write papers, showing off, or simply learning about ZX and quantum computing. It is powered by thepyzxopen source library under the hood.This project is in a pretty early stage, with lots more to come. Have a look at theIssue Trackerto see what's in the pipeline.InstructionsTo install from source, you need Python >= 3.9 and pip. If you have those, just run:git clone https://github.com/Quantomatic/zxlive.git
cd zxlive
pip install .Then, you can run ZXLive by typingpython3 -m zxlive.
Package: zxt
zxtools介绍zx的一个工具集，以Python为主，安装教程python -m pip install .python -m pip install zxtpython -m pip install --upgrade zxt上传教程创建 .pypirc 文件
type NUL > %UserProfile%.pypircpypirc 规范https://packaging.python.org/specifications/pypirc/升级工具
python -m pip install --upgrade build
python -m pip install --upgrade twineGenerating distribution archives (生成档案)https://packaging.python.org/en/latest/tutorials/packaging-projects/切换到 pyproject.toml 的同级目录, 一般先删除 dist 目录(RMDIR /S .\dist\ /Q)
python -m buildUploading the distribution archives (上传档案)https://packaging.python.org/en/latest/tutorials/packaging-projects/python -m twine upload --repository zxt dist/*调试教程卸载 zxt 包
python -m pip uninstall zxt从 zxt 的源码中找到 pth.py 所在目录, 在该目录下执行如下命令:
python ./pth.py --dflt_opt=C源码已关联到 python 环境, 可以写代码调用 zxt 包进行调试了
Package: zxtaputils
# zxtaputils - Utilities for handling TAP files on the ZX Spectrum (Next)## DescriptionThis is a collection of small utilities to work with
TAP filesThis suite consists of the tools:bas2tap: turns BASIC code into a TAP file containing tokenized codetap2bas: view/save BASIC code contained in a TAP filetapextract: extract and save data from a TAP blocktapify: store any files inside a TAP file as a containertapinfo: view information about a TAP filetapsplit: save a TAP file’s blocks as individual files
Package: zxtools
Here’s a set of utils to manipulate files that were copied from a TR-DOS diskette or from a tape.Originally the tools were written to simplify the following workflow:Grab diskette image usingHobetatool.Strip the file header and save the result to a new file.Convert resultingZeus Z80 assemblerfile to the plain text format.TODO: I have future plans to implement some more tools I need to restore my old ZX Spectrum projects.But you can use them in the way you need. And it’s very easy to use: download the package, runsetup.py(or install viapip install zxtools), invoke in the following way:$ python3 -m zxtools.hobeta strip input.hobeta result.zeus
$ python3 -m zxtools.zeus2txt result.zeus listing.asm --include-codeNOTE: Python 3 is required to use this package, and Python 2 is not supported but you are welcome to fix it.To view the resulting files with syntax colorization you can use specialVisual Studio Code plugin:
Package: zxvcv.cmdutil
zxvcv.cmdutilCommandline toolbox.Setup aliasesTo use aliases provided with this package:WindowsAdd path <python_path>/Lib/site-packages/zxvcv/cmdutil/aliases/dosUnixRun command (for python 3.11):printf "\nexport PATH=\$PATH:~/.local/lib/python3.11/site-packages/zxvcv/cmdutil/aliases/unix\n. ~/.local/lib/python3.11/site-packages/zxvcv/cmdutil/aliases/unix/bash_zxvcv_aliases\n\n" >> ~/.bashrcrequires to installsudo apt install python-is-python3or setalias python=python3 $@To get python site-packates path run: python3 -m siteProvided aliasesWindowsclear= clsgita= git add -A :!agitl= git log --graph --oneline %*la= dirll= dirls= dir /Bvenva- support activation python venvs (see --help)venvi- support creation python venvs (see --help)venvr- support removing python venvs (see --help)venvl- list available python venvs (see --help)Unixcls= cleargita= git add -A :!agitl= git log --graph --oneline $@venva- support activation python venvs (see --help)venvi- support creation python venvs (see --help)venvr- support removing python venvs (see --help)venvl- list available python venvs (see --help)Virtual Python Environemts PathsWindows:C:\PythonVenvUnix:~/pythonvenvScriptszxvcv.pullallHelps updating multiple git repositories (see --help)
Package: zxx
zxx北京大学政信信女足开发的Python库，主要用于剪辑比赛集锦。 / A Python package developed by “Zheng Xin Xin” Women’s Football Team at Peking University, mainly used for editing game highlights.点击此处前往zxx的GitHub主页。 / Clickhereto go to the GitHub homepage ofzxx.点击此处前往zxx的PyPI主页。 / Clickhereto go to the PyPI homepage ofzxx.安装 / To install:pip install zxx.更新 / To update:pip install --upgrade zxx/pip install -U zxx.更新日志 Update Logs0.1.0 (2022-11-07)第一次正式发布。 / The first release.0.2.0 (2023-04-03)全面修改运行逻辑。 / An entire modification.
Package: zxy-Test
Python 项目模版开发使用$ virtualenv venv --python=python3 && source venv/bin/activate创建并激活此virtualenv;使用$ make install_dev或者$ pip install -e .[dev]安装项目依赖Coding静态检查项目已经配置好使用flake8做静态检查，执行$ make lint即可。测试单元测试位于tests/目录中，使用$ make test可以运行单元测试。如何编写单元测试可以参考pytest默认会在 Python2.7/3.7 环境下运行单元测试，如果需要支持更多版本 Python，可以修改tox.ini。规范代码规范需要保证代码兼容 Python2.7，Python3.7+；代码风格兼容PEP8，除了代码最大宽度放宽到 120。版本规范版本需要遵循Semver；发布分支后，需要创建类似v0.0.1的 tag；每次 Release，需要编辑 CHANGELOG.md，内容需要遵守changelog 规范。TipsMakefile指南makefile用于帮助开发者快速使用功能，目前支持的命令有指令作用make按顺序执行 install_dev、isort、isort_check、lint、test(操作更改代码!)make check按顺序执行 install_dev、isort_check、lint、testmake install_dev安装测试所需依赖(位于setup.py的DEV_REQUIRES)make isort执行isort，规范化import顺序(操作更改代码!)make isort_check执行import顺序规范性检查make lint执行flake8，检查你的代码规范性make test执行tox，检测单元测试的正确性make clean清除测试和检查产物建议每次准备发布代码前，执行一次make或者make check来保证代码的规范性和健壮性。Python2/3 兼容每个Python 文件头部都增加如下代码(尽量保证此import位于任何其他import之前)：# coding: utf-8from__future__importabsolute_import,division,print_function,unicode_literals来保证代码在 Python2 和 Python3 下尽可能保持一致。Python2 与 Python3 不兼容的代码，尽量使用six模块做兼容。比如 Python2 和 Python3 下range函数行为不一致，统一使用six.moves.range可以保证兼容性。类型标注PythonPEP484中新增了类型标注功能，可以给代码增加可选的类型标注，配合mypy可以静态的给代码做类型检查。开发中给每个.py文件编写一个对应的.pyi，编写好导出类型的函数签名。此项目已经配置好相关规则，包发布后，使用者就可以使用编写好的类型信息做静态类型检查、代码补全。如果对导出函数写 docstring，除了按照 PEP8 的要求进行编写之外，还可以对传入传出数据类型做标注与注释。注释格式参考 PyCharm 的这篇文档的格式进行编写。PyCharm 以及 Jedi（vim / emacs / vscode 都是基于 jedi 进行自动补全）等等自动补全/静态检查工具都可以基于此格式的信息进行检查，Sphinx 生成的 API doc 也可以进行识别。editorconfig可以安装editorconfig编辑器插件，保持代码一致性。此项目已经默认配置。
Package: zy-aliyun-python-sdk
aliyun_sdk因为使用阿里云官方的 sdk 需要调用太多的包，而且写法上比较繁琐，故自己开发了一个比较简单的 sdk。安装方式pipinstallzy-aliyun-python-sdk目前支持的产品已适配的阿里云产品及 API 接口详情功能介绍支持主流的阿里云产品。加入请求超时自动重新请求，上限 3 次。产品限制：该接口仅适用于少次、不频繁、低速,其他限制及详细说明，请参考阿里云官方文档具体传参请参考官方文档。若需要添加或更新调用的 API 接口信息，请查看aliyun_sdk/common.py文件,修改或添加PRODUCT_API_CONFIG_MAP中的字段。API 接口详情如下：产品名称简称API 版本请求地址端口协议添加日期云服务器ecs2014-05-26ecs.aliyuncs.com443https2019-04-17阿里云关系型数据库rds2014-08-15rds.aliyuncs.com443https2019-04-17分布式关系型数据库drds2015-04-13drds.aliyuncs.com443https2019-04-17负载均衡slb2014-05-15slb.aliyuncs.com443https2019-04-17弹性伸缩ess2014-08-28ess.aliyuncs.com443https2019-04-17媒体处理mts2014-06-18mts.aliyuncs.com443https2019-04-17阿里云云盾yundun2014-09-24yundun.aliyuncs.com443https2019-04-17CDNcdn2018-05-10cdn.aliyuncs.com443https2019-04-17访问控制 RAMram2015-05-01ram.aliyuncs.com443https2019-04-17安全令牌 STSsts2015-04-01sts.aliyuncs.com443https2019-04-17短信服务dysms2017-05-25dysmsapi.aliyuncs.com443https2019-04-17语音服务dyvms2017-05-25dyvmsapi.aliyuncs.com443https2019-04-17消息接收1dybase2017-05-25dybaseapi.aliyuncs.com443https2019-04-17云数据库Redis版redis2015-01-01r-kvstore.aliyuncs.com443https2019-04-17云数据库 MongoDB 版mongodb2015-12-01mongodb.aliyuncs.com443https2019-04-17数据传输服务DTSdts2016-08-01dts.aliyuncs.com443https2019-04-17VPCvpc2016-04-28vpc.aliyuncs.com443https2019-04-17云监控cms2019-01-01metrics.aliyuncs.com443https2019-07-12Web 应用防火墙waf2018-01-17wafopenapi.cn-hangzhou.aliyuncs.com443https2019-04-17域名domain2018-01-29domain.aliyuncs.com443https2019-04-17交易与账单管理business2017-12-14business.aliyuncs.com443https2019-04-17ddos 防护ddospro2017-07-25ddospro.cn-hangzhou.aliyuncs.com443https2019-04-17example# 非 oss 产品fromaliyun_sdkimportclientak={"AccessKeyId":"example","AccessKeySecret":"example"}aliyun_client=client.AliyunClient(ak)status_code,response=aliyun_client.common('ecs',Action='DescribeRegions')# response ==> (status_code, result)print(status_code,response)# example result# (404, {'Recommend': 'https://error-center.aliyun.com/status/search?Keyword=InvalidAccessKeyId.NotFound&source=PopGw', 'Message': 'Specified access key is not found.', 'RequestId': 'AEA6AEB8-6F44-445B-Bd0E-9E5F706B5665', 'HostId': 'ecs.aliyuncs.com', 'Code': 'InvalidAccessKeyId.NotFound'})# oss 产品status_code,oss_response=aliyun_client.oss('GET',**{"max-keys":1000})print(status_code,oss_response)status_code,oss_response=aliyun_client.oss('GET',BucketName='cxp-test',Query={'acl':None})print(status_code,oss_response)
Package: zyc
zycA GUI utility for searching and selecting parts and footprints for use withSKiDL.Free software: MIT licenseDocumentation:https://devbisme.github.io/zyc.FeaturesKeyword search and selection of parts in KiCad libraries.Keyword search and selection of footprints in KiCad libraries.Copy-and-paste part instances into SKiDL code.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.0.0 (2021-09-16)Disabled creation of SKiDL logging and ERC files.Decided this tool was mature to the point it could be called 1.0.0.0.4.0 (2020-09-20)Fixed infinite recursion caused by search that returns an entire list of invalid footprints (issue #2).0.3.0 (2020-06-07)Fixed copy-paste part/footprint errors caused by clipboard already being open.0.2.0 (2020-04-28)Replaced sorting function deleted from SKiDL.Updated some Grid definitions for wxpython 4.0.0.1.0 (2019-12-17)Extracted zyc utility from SKiDL repo and released separately on PyPi.
Package: zycelium.ansiformat
ansiformatANSI Formatted Text for Terminals.AnsiFormat for Custom FormattingColorsfromzycelium.ansiformatimportAnsiFormataf=AnsiFormat()print(af("Red text on default background").red)print(af("Default text on lime background").on.lime)print(af("Black text on yellow background").black.on.yellow)print(af("Black text on cyan background").black.on.color("#00ffff"))print(af("Red text on yellow background").color("#ff0000").on.color("#ffff00"))Effectsfromzycelium.ansiformatimportAnsiFormataf=AnsiFormat()print(af("Bold").bold)print(af("Dim").dim)print(af("Italic").italic)print(af("Underline").underline)print(af("Blink").blink)print(af("Inverse").inverse)print(af("Hidden").hidden)print(af("Strike").strike)Using Colors and Effects Togetherfromzycelium.ansiformatimportAnsiFormataf=AnsiFormat()print(af("Red text on default background, bold").red.bold)print(af("Same, but with shortcut (b) for bold").red.b)print(af("Same, but with shortcut (i) for italic").red.i)print(af("Default text on lime background, with strike-through").on.lime.strike)print(af("Black text on yellow background, underlined").black.on.yellow.underline)print(af("Black text on cyan background, blinking").black.on.color("#00ffff").blink)print(af("Red text on yellow background, inversed").color("#ff0000").on.color("#ffff00").inverse)AnsiMarkup for Quick Formattingfromzycelium.ansiformatimportAnsiMarkup,palettem=AnsiMarkup(palette=palette.midnight_ablaze)print(m.debug("debug"))print(m.info("info"))print(m.ok("ok"))print(m.warning("warning"))print(m.error("error"))print(m.critical("critical"))print(m.p("paragraph"))print(m.aside("aside"))print(m.note("note"))print(m.alert("alert"))print(m.h1("heading one"))print(m.h2("heading two"))print(m.h3("heading three"))print(m.h4("heading four"))print(m.h5("heading five"))print(m.h6("heading six"))withm.indent():print(m.li("list item 1"))print(m.li("list item 2"))withm.indent():print(m.li("list item 2.1"))print(m.li("list item 2.2"))