Saravanan666/pypi-org huggingface dataset:
Package: potc
potcPython object to code framework, expression any python object to runnable python code.Almost all the primitive types in python can be translated to source code format, and they will be runnable.InstallationYou can simply install it withpipcommand line from the official PyPI site.pipinstallpotcFor more information about installation, you can refer toInstallation.DocumentationThe detailed documentation are hosted onhttps://potc-dev.github.io/potc/main/index.html.Only english version is provided now, the chinese documentation is still under development.Quick StartThe nativepotccan transform many types, such asfrompotcimporttransobjfromeasydictimportEasyDictimportnumpyasnptransobj(1)# "1", int formattransobj('233')# "'233'", str formattransobj(1.2)# "1.2", float formattransobj([1,'2'])# "[1, '2']", list formattransobj((1,'2'))# "(1, '2')", tuple formattransobj({1,'2'})# "{1, '2'}", set formattransobj({1:'2'})# "{1: '2'}", dict formattransobj(EasyDict(a=1,b=2))# "EasyDict({'a': 1, 'b': 2})", external dict formattransobj(EasyDict)# "EasyDict", type formattransobj(np)# "numpy", module formatAnd so on, most of the native python types are covered.In some cases, we need to translate the values into python script instead of simple expression, we can usetransvarsimportmathfrompotcimporttransvarsif__name__=='__main__':_code=transvars({'arr':[1,1.5,math.e,],'vbytes_':b'klsdjflkds\\\x00','empty_str':'','ba':bytearray(b'a'*20),},reformat='pep8')# auto reformat the codeprint(_code)The output should beimportmath__all__=['arr','ba','empty_str','vbytes_']arr=[1,1.5,math.e]ba=bytearray(b'aaaaaaaaaaaaaaaaaaaa')empty_str=''vbytes_=b'klsdjflkds\\\x00'This script are runnable, can be imported directly into your python code. The import packages will also be generated (likeimport math).In some complex cases, You can define you own rules to support more data types, such asimportmathfrompotcimporttransvarsfrompotc.fixtureimportrule,AddonsclassMyPair:def__init__(self,first,second):self.first=firstself.second=second@rule(type_=MyPair)defmypair_support(v:MyPair,addon:Addons):returnaddon.obj(MyPair)(v.first,v.second)if__name__=='__main__':_code=transvars({'arr':[1,1.5,math.e,],'vbytes_':b'klsdjflkds\\\x00','empty_str':'','ba':bytearray(b'a'*20),'c':MyPair(1,2),},trans=[mypair_support],reformat='pep8')# auto reformat the codeprint(_code)The output should be like below, theMyPairclass is supported by the new rule.importmathfrom__main__importMyPair__all__=['arr','ba','c','empty_str','vbytes_']arr=[1,1.5,math.e]ba=bytearray(b'aaaaaaaaaaaaaaaaaaaa')c=MyPair(1,2)empty_str=''vbytes_=b'klsdjflkds\\\x00'For more quick start explanation and further usage, take a look at:Quick StartContributingWe appreciate all contributions to improvepotc, both logic and system designs. Please refer to CONTRIBUTING.md for more guides.Licensepotcreleased under the Apache 2.0 license.
Package: potc-dict
potc_dictA simple demo ofpotcplugin, which can make the dict prettier.InstallationYou can simply install it withpipcommand line from the official PyPI site.pipinstallpotc-dictOr install this  plugin by source codegitclonehttps://github.com/potc-dev/potc-dict.gitcdpotc-dict
pipinstall.Effect showWe prepare a python script namedtest_data.py, like thisimportmathb={'a':{'a':3,'b':None,'c':math.e},'b':(3,4,'dfg'),'x0':{'a':3,'02':4,None:2},}Before the installation mentioned above, we try to export thebintest_data.pyby the following CLI commandpotcexport-v'test_data.b'We can get this dumped source code.importmath__all__=['b']b={'a':{'a':3,'b':None,'c':math.e},'b':(3,4,'dfg'),'x0':{'a':3,'02':4,None:2}}BUT, after the installation,we try the CLI command which is exactly the same again, we get the new codeimportmathfrombuiltinsimportdict__all__=['b']b=dict(a=dict(a=3,b=None,c=math.e),b=(3,4,'dfg'),x0={'a':3,'02':4,None:2})That is all of this demo.When you need to build your own plugin, maybe this demo can help you :smile:.
Package: potc-torch
potc-torchPotcsupport for torch module.InstallationYou can simply install it withpipcommand line from the official PyPI site.pip install potc-torchQuick StartAfterpotc-torchis installed, you can convert thetorchobjects into executable source code without any additional operations.We can create a python script which is namedtest_simple.pyimporttorchfrompotcimporttransvarsa=torch.randn(2,3)b=torch.randint(-5,10,(3,4))bs=b.size()bd=b.deviceif__name__=='__main__':_code=transvars({'a':a,'b':b,'bs':bs,'bd':bd},reformat='pep8',)print(_code)The output result should be like this (may be slightly different because of the usage oftorch.randnandtorch.randint)import torch

__all__ = ['a', 'b', 'bd', 'bs']
a = torch.as_tensor(
    [[0.6224261522293091, 0.4725508689880371, 0.45328783988952637],
     [-0.5855962634086609, 0.4898407459259033, 0.4769541621208191]],
    dtype=torch.float32)
b = torch.as_tensor([[2, 7, 4, -3], [-2, 4, 8, 1], [7, -5, 3, 6]],
                    dtype=torch.long)
bd = torch.device('cpu')
bs = torch.Size([3, 4])And, you can use the following CLI command to get the same output results as above.potcexport-v'test_simple.a'-v'test_simple.b*'ContributingWe appreciate all contributions to improvepotcandpotc-torch, both logic and system designs. Please refer to CONTRIBUTING.md for more guides.Licensepotc-torchreleased under the Apache 2.0 license.
Package: potc-treevalue
potc-treevaluePotcsupport for treevalue module.InstallationYou can simply install it withpipcommand line from the official PyPI site.pip install potc-treevalueQuick StartAfterpotc-treevalueis installed, you can convert thetreevalueobjects into executable source code without any additional operations.We can create a python script which is namedtest_simple.pyfrompotcimporttransvarsfromtreevalueimportFastTreeValue,rawr=raw({'a':1,'b':2,'c':[3,4]})t=FastTreeValue({'a':1,'b':'this is a string','c':[],'d':{'x':raw({'a':1,'b':(None,Ellipsis)}),'y':{3,4,5}}})st=t._detach()if__name__=='__main__':_code=transvars({'t':t,'st':t._detach(),'r':r},reformat='pep8')print(_code)The output result should be like thisfrom treevalue import FastTreeValue, raw
from treevalue.tree.common import create_storage

__all__ = ['r', 'st', 't']
r = raw({'a': 1, 'b': 2, 'c': [3, 4]})
st = create_storage({
    'a': 1,
    'b': 'this is a string',
    'c': [],
    'd': {
        'x': raw({
            'a': 1,
            'b': (None, ...)
        }),
        'y': {3, 4, 5}
    }
})
t = FastTreeValue({
    'a': 1,
    'b': 'this is a string',
    'c': [],
    'd': {
        'x': raw({
            'a': 1,
            'b': (None, ...)
        }),
        'y': {3, 4, 5}
    }
})And, you can use the following CLI command to get the same output results as above.potcexport-v'test_simple.t'-v'test_simple.st'-v'test_simple.r'ContributingWe appreciate all contributions to improvepotcandpotc-treevalue, both logic and system designs. Please refer to CONTRIBUTING.md for more guides.Licensepotc-treevaluereleased under the Apache 2.0 license.
Package: potc-typing
potc_typingA simple demo ofpotcplugin, which can make the dict prettier.InstallationYou can simply install it withpipcommand line from the official PyPI site.pipinstallpotc-typingOr install this  plugin by source codegitclonehttps://github.com/potc-dev/potc-typing.gitcdpotc-typing
pipinstall.Effect showWe prepare a python script namedtest_data.py, like thisimporttypesfromtypingimportList,Union,Tuple,Callable,Dictt_lst=List[int]t_tps=Union[Tuple[int,...],int]t_func=Callable[[Union[str,int,None],int],Dict[str,types.FunctionType]]Before the installation mentioned above, we try to export thebintest_data.pyby the following CLI commandpotcexport-v'test_data.t_*'We can get this dumped source code.fromtypingimport_GenericAliasfrompotc.supportsimporttyped_object__all__=['t_func','t_lst','t_tps']t_func=typed_object(_GenericAlias,b'x\x9cE\x8d\xbdn\xc20\x1c\xc4\x03\xa1\x1f\xfc\xcbG\xa1@_\xa1\x13/\x01#b\xb0@bA\x96\xe3X\xd8\x92c\xe7Rw\xe8\xd6%\xe6\xb5\x89\x85T\x96\x1b\xee~w\xf7\x97K\xeek\xd5\x88\xe0\x1b\xba\xa8`\x82\xaa\x08\x99\x0c\xbf\xb5q\x17\xda\x08kEa\x15\xa1wF\xffK\xff\x07Gg\xbc#\xe4\xb24\xd6\xaeyR\xe2\xd6\x8b\x92w@\x87\x0fNy\x96e\xdf\xa1\xc1S\x8bg\x86\x17}w\x8c\x0bxm1d\xc9y\xf1cl0\x8es\xda{\xa7\x0e\xa9y\xc5[\xc4\x88a\xacI=\xee\xb6F\x06\xc2D\xa7\x19\xeafv\xa2*J\x91\n\x98\xb6xg\x98E\xcc#>\x18\x16\x11\xcb\x88\x15\xc3\xe7\xfa\x06\xe4\xe1E\x9e')t_lst=typed_object(_GenericAlias,b'x\x9ck`N\x8e\xcf/H-J,\xc9/\xe2JO-\xc9,I\xcd\xe5*dH.\xa9,\xc8\xccK\xe7\xf2\xc9,.\xe1*dLN\xc9\xcc\xc9\xd1\x8b\x07\x91\\\xf19\xf9\x89)\xf1@\xf9T\xaeB\xa6\x08f\x06\x06\x86\xcc\xbc\x92B\xe6\xd6B\x96\xa0B\xd6\xb6B\xb6\xa0Bv=\x00\x12K\x1b\xf8')t_tps=typed_object(_GenericAlias,b"x\x9cU\xcaK\x0e\xc2\x14\x85a\xb4Z\xeb\xf5\xb9\x92\xee\xc2\r\x10M:#MK\xda\x9bp(\x9a8sR\xd6-NL\x9c\x9c\xc1\x7f\xbew\xd1)\xe7uh\xa3\x0b4\xe8\xc8Q\xdf\t\xa2\x8b/\xcfv\xa0\x9beg\t\x8b\xf1W\xae\x0fo4a\xd9\xf5lL\xad\xbeK\xca\xb8\xb6W\x19\xe4\xa3h\n!\x04\xdb\x88\xd5\x8c\xb5D\xf9\x07\xf5\xb35*h\x1f\x08\x9b\xa6\xca\xf0b\x0c\xfb\x89'T3\xb6\x12\x94\xb0K\xd8K\x1c\xc62\xe1\x98p\x928\xd7\x1f\x06\x835\x89")BUT, after the installation,we try the CLI command which is exactly the same again, we get the new codeimporttypesfromtypingimportCallable,Dict,List,Optional,Tuple,Union__all__=['t_func','t_lst','t_tps']t_func=Callable[[Optional[Union[str,int]],int],Dict[str,types.LambdaType]]t_lst=List[int]t_tps=Union[Tuple[int,...],int]That is all of this plugin.When you need to build your own plugin, maybe this demo can help you :smile:.
Package: potee
libraryTestingRun servicepython3 examples/simple_service.pyTest checkerpython3 examples/simple_checker.py testexample output:INFO:checker:iteration:1
INFO:checker:ping => pong
INFO:checker:put:example(kmktdbCYRtMJuBxfPJryzDTL) => 0
INFO:checker:get:example(0) => kmktdbCYRtMJuBxfPJryzDTL
INFO:checker:exploit:sql => exploitable
INFO:checker:exploit:rce => exploitable
INFO:checker:iteration:2
INFO:checker:ping => pong
INFO:checker:put:example(AZoodDXcDmdCVMNEyjTcAMyE) => 1
INFO:checker:get:example(1) => AZoodDXcDmdCVMNEyjTcAMyE
INFO:checker:exploit:sql => exploitable
INFO:checker:exploit:rce => exploitable
Package: potemkeys
Potemkeys: Previously "FGfGwK: Fighting Games for Goldfish with Keyboards"TL;DR Download!Windows, click here.Linux, click here.(must runsudo apt-get install -y xdotool wmctrl!)Old name was FGfGwKThis used to be called "FGfGwK", "Fighting games for Goldfish with Keyboards" (Can't remember button maps).Credit to @flexadecimal for the new name, "potemkeys" (Potemkin from Guilty Gear + "keys")PyPIhttps://pypi.org/project/potemkeys/Using pippip install --upgrade potemkeys
python -m potemkeysWhat is this?For those who can't remember {keyboard input => controller} mappings, and want to see them in-game.Created because TEKKEN doesn't show input conversions in multiplayer matches, and neither does Guilty Gear: Strive,
and I wanted to see my inputs, so I wasted 6 hours writing this tool.Works on Windows 11, and tested on Ubuntu.This tool sucks, it doesn't do X!See./TODO.md. Or fork this repo and add it yourself, and make a Pull Request, I'll probably accept your changes.How do I use it?Seehttps://github.com/HenryFBP/potemkeys/releasesand download the provided exe/binary file.If you putpotemkeysoptions.jsoncin the same folder as the EXE file, it will prefer that over its temporary directory.If you want to know where the temp file is, look at the console output when the .exe first starts up.DevelopmentInstall Python version 3.whateverClone this repoIn the repo's folder, run:./scripts/setup[.cmd|.sh]
./scripts/start[.cmd|.sh]The window should stay on top.Play your game in borderless/windowed modeand see the inputs get transformed and shown to you.Build WHLpoetry buildTest built WHLpip install .\dist\potemkeys-whatever-version-1.2.3.4.5-py3-none-any.whl --force-reinstallDeploy to PyPIpoetry publish --buildTesting exe generation./scripts/generate_exe[.cmd|.sh]
./dist/potemkeys[.exe|.app]ConfigEditpotemkeysoptions.jsonc.You can make keymaps for literally any game that uses keyboard, by cloning the items underkeymaps.If you make one and want to see it included in the "official" branch of this tool, just fork this repo and make a PR.LicenseNo license, DWYW, I'm not your dad.Just make sure to link/PR, or just fork it if I die or something :PVIRUSES????https://www.reddit.com/r/learnpython/comments/e99bhe/why_does_pyinstaller_trigger_windows_defenderREEEEEEEEEEEEEEEhttps://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms537361(v=vs.85)?redirectedfrom=MSDN
Package: potemkin
Change directory into your newly created project.cd potemkinCreate a Python virtual environment.python3 -m venv envUpgrade packaging tools.env/bin/pip install –upgrade pip setuptoolsInstall the project in editable mode with its testing requirements.env/bin/pip install -e “.[testing]”Run your project’s tests.env/bin/pytestRun your project.env/bin/pserve development.ini
Package: potencent
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介potencent 是快速调用腾讯云AI平台功能的接口合集。📦安装🍊pip 自动下载&更新pip install -i https://pypi.tuna.tsinghua.edu.cn/simple potencent -U📝功能📘官网：https://www.python-office.com/通用文字识别相关接口接口名称接口功能AdvertiseOCR广告文字识别GeneralBasicOCR通用印刷体识别ImageEnhancement文本图像增强RecognizeHealthCodeOCR健康码识别RecognizeTravelCardOCR通信行程卡识别GeneralAccurateOCR通用印刷体识别（高精度版）GeneralEfficientOCR通用印刷体识别（精简版）GeneralFastOCR通用印刷体识别（高速版）EnglishOCR英文识别GeneralHandwritingOCR通用手写体识别TextDetect快速文本检测卡证文字识别相关接口接口名称接口功能BankCardOCR银行卡识别BizLicenseOCR营业执照识别BusinessCardOCR名片识别ClassifyDetectOCR智能卡证分类EnterpriseLicenseOCR企业证照识别EstateCertOCR不动产权证识别HKIDCardOCR中国香港身份证识别HmtResidentPermitOCR港澳台居住证识别IDCardOCR身份证识别InstitutionOCR事业单位法人证书识别MLIDCardOCR马来西亚身份证识别MLIDPassportOCR护照识别（港澳台地区及境外护照）MainlandPermitOCR港澳台来往内地通行证识别OrgCodeCertOCR组织机构代码证识别PassportOCR护照识别（中国大陆地区护照）PermitOCR港澳台通行证识别PropOwnerCertOCR房产证识别RecognizeIndonesiaIDCardOCR印尼身份证识别RecognizePhilippinesDrivingLicenseOCR菲律宾驾驶证识别RecognizePhilippinesVoteIDOCR菲律宾VoteID识别RecognizeThaiIDCardOCR泰国身份证识别ResidenceBookletOCR户口本识别票据单据识别相关接口接口名称接口功能BankSlipOCR银行回单识别BusInvoiceOCR汽车票识别CarInvoiceOCR购车发票识别DutyPaidProofOCR完税证明识别FinanBillOCR金融票据整单识别FinanBillSliceOCR金融票据切片识别FlightInvoiceOCR机票行程单识别InvoiceGeneralOCR通用机打发票识别MixedInvoiceDetect混贴票据分类MixedInvoiceOCR混贴票据识别QuotaInvoiceOCR定额发票识别RecognizeContainerOCR集装箱识别RecognizeMedicalInvoiceOCR医疗票据识别RecognizeOnlineTaxiItineraryOCR网约车行程单识别ShipInvoiceOCR轮船票识别TaxiInvoiceOCR出租车发票识别TollInvoiceOCR过路过桥费发票识别TrainTicketOCR火车票识别VatInvoiceOCR增值税发票识别VatRollInvoiceOCR增值税发票（卷票）识别VerifyOfdVatInvoiceOCROFD发票识别WaybillOCR运单识别汽车场景识别相关接口接口名称接口功能DriverLicenseOCR驾驶证识别LicensePlateOCR车牌识别RideHailingDriverLicenseOCR网约车驾驶证识别RideHailingTransportLicenseOCR网约车运输证识别VehicleLicenseOCR行驶证识别VehicleRegCertOCR机动车登记证书识别VinOCR车辆VIN码识别行业文档识别相关接口接口名称接口功能RecognizeTableOCR表格识别（V2)ArithmeticOCR算式识别EduPaperOCR数学试题识别FormulaOCR数学公式识别InsuranceBillOCR保险单据识别SealOCR印章识别SmartStructuralOCR智能结构化识别TableOCR表格识别（V1)智能扫码相关接口接口名称接口功能QueryBarCode条码信息查询QrcodeOCR二维码和条形码识别营业执照核验相关接口接口名称接口功能VerifyBasicBizLicense营业执照识别及核验（基础版）VerifyBizLicense营业执照识别及核验（详细版）VerifyEnterpriseFourFactors企业四要素核验增值税发票核验相关接口接口名称接口功能VatInvoiceVerify增值税发票核验VatInvoiceVerifyNew增值税发票核验（新版）🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: potentials
IntroductionThe potentials package provides a Python-based interface to the content hosted
on theNIST Interatomic Potentials Repository. The package directly
interacts with the underlying database hosted athttps://potentials.nist.gov/allowing for the metadata for all hosted interatomic potentials to be searched
and explored.This package is integrated intoatommanandiprPy, which both extend the
database interactions provided here.  For example, atomman adds the ability to
interact with atomic structure records in the NIST database, and iprPy further
adds the ability to interact with property calculation results.  See the
documentation for those packages if you are interested in exploring more than
just interatomic potential information.InstallationThe potentials package can easily be installed using pip or conda-forgepip install potentialsorconda install -c conda-forge potentialsDocumentationThe documentation for the potentials package consists of Jupyter Notebooks
contained in the doc directory.  These describe the different components
of the package and provide working examples.Basic Search Tools0. Search Potential Entries.ipynbprovides a user-friendly interface
for searching and exploring the known interatomic potentials.0. Search LAMMPS Potentials.ipynbprovides a user-friendly interface
for searching and exploring the known LAMMPS interatomic potentials.
Parameter files can be downloaded, and the associated LAMMPS command lines
shown.In-depth DocumentationMore in-depth documentation can be found in the doc subfolder.  The Notebooks
located there provide information as to the design of the potentials package,
how to change default settings, and options that are specific to the supported
record styles.ScriptsThe scripts subfolder contains additional Notebooks that relate to managing
the NIST database using the potentials package.  These are provided as examples
of using the potentials package for various tasks to help more advanced users
get started.  WARNING: The Notebooks in scripts are working documents and are not
guaranteed to have 100% current code or data, and may have poor descriptions.
Package: potential-spork
Potential SporkFixed Width Output for Django Rest FrameworkFree software: MIT licenseDocumentation:https://potential-spork.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-01-22)First release on PyPI.
Package: potime
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介wftools是python自动化办公的小工具的代码合集。📦安装🍊pip 自动下载&更新pip install -i https://pypi.tuna.tsinghua.edu.cn/simple wftools -U📝功能📘官网：https://www.python-office.com/序号项目介绍代码地址1合同和财务系统源码2人脸门禁系统源码3商场管理系统源码4报表自动化 + 邮件自动发送源码5爬取招聘网站源码🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: potoo
TopooAtextualbased application to present your
markdown-based slides inside the terminal. Great if you plan on sharing your
terminal with your audience since you can easily switch between your
tabs/windows/panes. Not so great if your presentation includes anything
graphically.Take a look at demo presentation (potoo example_presentation.md) or even this
file itself (pocoo README.md). Alternatively you can take a look at the
(initial) export capabilities by browsing theassets/directory.InstallationViapipx:pipx install potooFrom theAURFeaturesSlide counter at the bottomCustom centered footer content via-f/--static-footer(On demand) Hot reload of your slides while you're editing (-r)ShortcutsNote: Not all shortcuts are shown inside the help footer to keep it as clean as
possible.p/k/backspace/left: Previous sliden/j/space/right: Next slide?: Toggle the help bar at the bottom. It's the defaultFooterof textual which means
that you also click the buttons..: "Pause" the presentation by blanking the screen.d: Toggle between light and dark mode.o: Open an overview of all slides with the ability to jump quickly to any
one of themctrl+d: Scroll downctrl+u: Scroll upUsageMetadata/FrontmatterWe support YAML based "frontmatter" (YAML between two---lines) at the very
beginning of the file. The following (string) keys are recognized and will be
used to build the first slide ("Title slide"):title(recommended): Also shown in the bottom left corner and at the top of
all exportssubtitle(optional): Also shown on the title slideauthoranddate: Included on the title slideThe title(s) are also used to set the terminal title while the presentation is
running.FAQHow can I change the font size?Increase your terminal font size accordingly.What's up with the name?Since the textual project, apparently, started naming their textual based
applications after bird species I searched for one with large eyes, since you
usually need to zoom in on your terminal to get to a usable font sizeandwhose name wasn't already taken on PyPI.Potooseemed perfect since, according
to Wikipedia, they "are a group of birds related to the nightjars andfrogmouths" and guess what thetextual based markdown vieweris
called.
Package: potools
potoolsThis package contains command line tools to help manage translations.podiff: Shows the differences between two po files. It only cares about the default value, msgid and msgstr, not about position in the file. You can also specify a version control repository with which to compare a file with.pogetnew: Compares two po files and return all new entries that need to be translated. Output is printed to stdout, in the format as a valid po file, so that it can be sent to translator.pocheck: Checks the pot/po file for smells.TheTranslate Toolkitprovides a similar tool calledpofilter. Pocheck aims to not duplicate any of the functionality already inpofilter.pounique: Takes several po files (or directories of po files) and return one pofile (or a directory of pofiles) with unique values. It can pick the values either from the last file given, or my making a “best guess”.poupdate: Will update the first po file with values from the second.popopulate: Will replace any empty messages with their Default message, if there is one, and mark it as fuzzy.InstallationSimply run:pip install potoolsor if you are using easy_install:easy_install potoolsBuildout users can add the following part to their buildouts:[script]
recipe = zc.recipe.egg
eggs = potoolsOne-linerspodiffDiff all po files in a git repository, with the last committed versions:find -name "*.po" -exec podiff --vcs git $(git remote -v | awk 'BEGIN {} NR ==2 {print substr ($2, 1)}') {} \;Changelog0.3.2 (2014-08-20)Fixed setup.py configuration to avoid problems with newer setuptools.
[do3cc]0.3.1 (2013-07-30)poupdate: added new option to determine if fuzzy markers in the
target should be removed on update [pysailor]0.3 (2013-07-30)Added pounique, poupdate and popopulate commands. [regebro]0.2 (2013-04-23)Also compare (and show) comments in podiff. [jcbrand]0.1 (2013-03-11)Initial release [jcbrand]