Saravanan666/pypi-org huggingface dataset:
Package: kaptain
KaptainA modern SRE tool.Installpip install kaptionSupport versionpython 3.5+reportreport operation to platform, currently it only support slack.pre-configwe need.git-configto set user/email.vi ~/.gitconfig

# add line like this

[kaption]
        slack-channel = https://hooks.slack.com/xxx
        slack-private = https://hooks.slack.com/xxxhow tokap report "hello world" --private   # send to private channel 

kap report "hello world"             # send to public channelFetch GCP LogPre-Requirementsgcloud cliexport KAPTAIN_FETCH_LOG_PROJECT=YOUR-GCP-PROJECT-ID

# preview  
kap fetch-log gcp abc.log  --save-dir=$HOME/Downloads --display --filter=tradebot-prod --date-filter=2019/05/30 --bucket-name=archive-log

# download
kap fetch-log gcp abc.log  --save-dir=$HOME/Downloads --filter=tradebot-prod --date-filter=2019/05/30 --bucket-name=archive-log
Package: kaptan
configuration parser.installation$pipinstallkaptanAlso available as a package on FreeBSD, Debian, Arch Linux and Slackware.usagesupported handlersdictjsonyaml.inipython filedefault (dict) handlerconfig=kaptan.Kaptan()config.import_config({'environment':'DEV','redis_uri':'redis://localhost:6379/0','debug':False,'pagination':{'per_page':10,'limit':20,}})printconfig.get("pagination.limit")# output: 20json handlerconfig=kaptan.Kaptan(handler="json")config.import_config('{"everything": 42}')printconfig.get("everything")# output: 42yaml handlerconfig=kaptan.Kaptan(handler="yaml")config.import_config("""
product:
  price:
    value: 12.65
    currency_list:
      1. TL
      2. EURO
""")printconfig.get("product.price.currency_list.0")# output: TLor you can get from directly from the filename:config.import_config("configuration.yaml").ini handlerconfig.ini[development]database_uri=mysql://root:123456@localhost/posts[production]database_uri=mysql://poor_user:poor_password@localhost/poor_postsconfig=kaptan.Kaptan(handler="ini")config.import_config('config.ini')printconfig.get("production.database_uri")# output: mysql://poor_user:poor_password@localhost/poor_postsfile handlerconfig.pyDATABASE='mysql://root:123456@localhost/posts'DEBUG=FalsePAGINATION={'per_page':10,'limit':20,}config=kaptan.Kaptan(handler="file")config.import_config('config')printconfig.get("DEBUG")# output: Falseexporting configurationconfig=kaptan.Kaptan(handler="file")config.import_config({'environment':'DEV','redis_uri':'redis://localhost:6379/0','debug':False,'pagination':{'per_page':10,'limit':20,}})printconfig.export("yaml")output:debug:falseenvironment:DEVpagination:{limit:20,per_page:10}redis_uri:redis://localhost:6379/0printconfig.export("json")outputs unindented json..exportaccepts kwargs which pass intojson.dumps.printconfig.export("json",indent=4)output:{"environment":"DEV","debug":false,"pagination":{"per_page":10,"limit":20},"redis_uri":"redis://localhost:6379/0"}config.export('yaml')also supports thekwargs for pyyaml.New in Version 0.5.7:config.export('yaml',safe=True)will use.safe_dump.cliexporting (defaults to json)$echo"environment: DEV">config.yaml$kaptanconfig.yaml--exportjson>config.json$catconfig.json{"environment": "DEV"}getting a value$kaptanconfig.yaml--keyenvironmentDEVspecifying the handler$mvconfig.yamlconfig.settings$kaptanconfig.settings:yaml--exportjson{"environment": "DEV"}config from stdin$echo'{"source": "stdin"}'|kaptan-{"source": "stdin"}$echo'source: stdin'|kaptan-:yaml{"source": "stdin"}merging configs$echo"environment: PROD">config.settings$echo'{"source": "stdin"}'|kaptan-config.jsonconfig.settings:yaml{"environment": "PROD", "source": "stdin"}setting default handler$echo"source: stdin"|kaptan--handleryaml-config.settings{"environment": "PROD", "source": "stdin"}writing json with yaml$kaptan-:yaml-ejson<type yaml here>
<Ctrl + D>
<get json here>running testswithpy.test:$py.testcontributorsCenk AltıWesley BitterMark SteveTony NarlockBerker PeksagPradyun S. Gedamsee more athttps://github.com/emre/kaptan/graphs/contributors.
Package: kaptcha
Kaptcha:python 验证码生成工具简述优点调用简单高度自定义生成快速示例类型(干扰都为5)内容图片字母数字混合型7w8W数字型5244字母型Ehqx增强型wd81边缘凸显bpCk浮雕效果MkT6轮廓qXLTGIF动态图VbFe生成速度类型1000次生成平均单次速度基本样式(Base64)1.48ms基本样式(PIL.Image)1.32ms滤镜渲染(Base64)1.57msGIF动图10.93ms如何使用安装pipinstallkaptcha简单的使用importkaptchax,y=kaptcha.Captcha().letter_digit()# x 是生成的文字# y 是生成的 base64 图像print(x,y)数英混合importkaptchax,y=kaptcha.Captcha().letter_digit()print(x,y)纯英文importkaptchax,y=kaptcha.Captcha().letter()print(x,y)纯数字importkaptchax,y=kaptcha.Captcha().digit()print(x,y)#4696 data:image/jpeg;base64,/9j/4AAQSkZJR……详细使用方法kaptcha.Captcha(width=200,# 验证码的宽度 pxheight=80,# 验证码的高度 pxchips=5,# 干扰点 强度(1-20)mode="RGB",# 色彩模式 RGB\LimageObj=False,# 返回 PIL.Image 格式gif=False,# gif 格式验证码(不可与imageObj同为真)font:list=None,# 字体路径列表bg="white",# 背景颜色 颜色代码或 16 进制contour=False,# 以下四个滤镜只可开启一个enhance=False,edge=False,emboss=False)# length调整字符串长度(建议同时调整width)Captcha().letter(length=4)# 英文Captcha().digit(length=4)# 数字Captcha().letter_digit(length=4)# 数英Captcha(gif=True).letter_digit(length=4)# 动态图# 绘制函数kaptcha.CaptchaPainter(text="",# 绘制文字im_x=260,# 验证码的宽度 pxim_y=125,# 验证码的高度 pxgran=5,# 干扰点 强度(1-20)mode="RGB",# 色彩模式 RGB\Lfont:list=None,# 字体路径列表bg="white"# 背景颜色 颜色代码或 16 进制)CaptchaPainter().normal# 静态图(-> PIL.Image)CaptchaPainter().gif()# 动态图(-> BytesIO())返回值# 当imageObj=False(默认) -> 返回 (str, base64: str)Captcha().letter(length=4)print(Captcha().letter(length=4)[1])# > data:image/jpeg;base64,/9j/4AAQSkZJR......# 当imageObj=True -> 返回 (str, PIL.Image)Captcha(imageObj=True).letter(length=4)Captcha(imageObj=True).letter(length=4)[1].show()LICENSEMIT LicenseCopyright (c) 2022 AntonVanke
Package: kapten
kaptenUpdates a Docker Swarm service when a new image is available.Usage$kapten--helpusage: kapten [-h] [--version] [-s SERVICES] [-p PROJECT][--slack-token SLACK_TOKEN] [--slack-channel SLACK_CHANNEL][--check] [--force] [-v VERBOSITY]Checks for new images and updates services if needed.optional arguments:-h, --help            show this help message and exit--version             Show version and exit.-s SERVICES, --service SERVICESService to update.-p PROJECT, --project PROJECTOptional project name.--slack-token SLACK_TOKENSlack token to use for notification.--slack-channel SLACK_CHANNELOptional Slack channel to use for notification.--check               Only check if service needs to be updated.--force               Force service update.-v VERBOSITY, --verbosity VERBOSITYLevel of verbosity.Example$kapten--serviceapp--slack-tokenT00ABCD0A/ABCDEFGHI/xYzabCDEfGh1aBCCd12abCdeUpdating service app to repo/app:latest@sha256:123456789
Package: kapteyn
The Kapteyn Package is a collection of Python modules
and applications developed by the computer group of the Kapteyn
Astronomical Institute, University of Groningen, The Netherlands.  The
purpose of the package is to provide tools for the development of
astronomical applications with Python.The package is suitable for both inexperienced and experienced users and
developers and documentation is provided for both groups.  The
documentation also provides in-depth chapters about celestial
transformations, spectral translations and non-linear least squares fitting.The package’s most important features:The handling of spatial and spectral coordinates, WCS projections
and transformations between different sky systems.  Spectral
translations (e.g., between frequencies and velocities) are supported
and also mixed coordinates.  (Modules wcs and celestial, Module wcs
uses Mark Calabretta’s WCSLIB which is distributed with the package.)Versatile tools for writing small and dedicated applications for
the inspection of FITS headers, the extraction and display of (FITS)
data, interactive inspection of this data (color editing) and for the
creation of plots with world coordinate information.  (Module maputils)
As one example, a gallery of all-sky plots is provided.A class for the efficient reading, writing and manipulating simple
table-like structures in text files.  (Module tabarray)Utilities for use with matplotlib such as obtaining coordinate
information from plots, interactively modifiable colormaps and timer
events (module mplutil); tools for parsing and interpreting coordinate
information entered by the user (module positions).A function to search for gaussian components in a profile (module
profiles) and a class for non-linear least squares curve fitting
(module kmpfit)
Package: kapture-localization
Overviewkapture-localization is atoolboxin which you will find
implementations for various localization related algorithms. It strongly
relies on thekaptureformat for
data representation and manipulation.The localization algorithms include:mapping,localization, andbenchmarking(image retrieval for visual localization).It works on Ubuntu, Windows, and MacOS.StructureThe directories are organised as follow:├── kapture_localization/  # package (library)
├── pipeline/              # main programs executing all steps of the localization pipelines
├── samples/               # some sample data
├── tests/                 # unit tests
└── tools/                 # sub programs involved in the pipelineThekapture-localizationtoolbox is available as:Pythonpackage(kapture_localization/),Pythonexecutable scripts(pipeline/&tools/).There are 3 pipelines available:mapping,localization, andimage retrieval benchmark (global sfm, local sfm, pose
approximation).InstallationIt can be installed using docker, pip or from manually from source code.
After installing python (>=3.6) and COLMAP (>=3.6), this toolbox
can be installed with:pip install kapture-localizationSeedoc/installation.adocfor more details.TutorialSeedoc/tutorialfor a short introduction and
examples of the provided processing pipelines.ContributingThere are many ways to contribute to thekapture-localizationproject:provide feedback and suggestion,submit bug reports in the project bug tracker,implement a feature or bug-fix for an outstanding issue,provide scripts to create data in kapture format (e.g. local/global
feature extraction),propose a new feature and implement it.If you wish to contribute, please refer to theCONTRIBUTINGpage.LicenseSoftware license is detailed in theLICENSEfile.ReferencesIf you use this work for your research, please cite the respective
paper(s):Structure-based localization or kapture format.@misc{kapture2020,
      title={Robust Image Retrieval-based Visual Localization using Kapture},
      author={Martin Humenberger and Yohann Cabon and Nicolas Guerin and Julien Morat and Jérôme Revaud and Philippe Rerole and Noé Pion and Cesar de Souza and Vincent Leroy and Gabriela Csurka},
      year={2020},
      eprint={2007.13867},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}Image retrieval benchmark.@inproceedings{benchmarking_ir3DV2020,
      title={Benchmarking Image Retrieval for Visual Localization},
      author={Noé Pion, Martin Humenberger, Gabriela Csurka, Yohann Cabon, Torsten Sattler},
      year={2020},
      booktitle={International Conference on 3D Vision}
}
Package: karaage
Cluster account management tool.Table of ContentsWhat is Karaage?FeaturesDocumentationComponentsPluginsSupportSource codeWhat is Karaage?Karaage is a cluster account management tool. It can manage users and projects
in a cluster and can store the data in various backends.FeaturesCan store user information and/or posix account information in LDAP/Active Directory/passwd file.Email notifications.Auto account creation - Allow project leaders to manage their users.Applications work flow - Users can apply for accounts and be approved by project leaders.Usage reporting. Report on a per institute, per project or per user for CPU usage.Track usage of software and versions. Keep track of what software (and version) and type of jobs a user is running.DocumentationKaraage 3.x User documentationKaraage 3.x Programmer documentation:Karaage 3.x Admin documentation:ComponentsKaraage is a complicated application and has more then one source repository:Karaage 3 karaage-cluster-toolsTLDAP libraryALogger libraryWebsiteSlurm Docker packagingAnything else not in this list has not been touched in years, and may not
be still relevant.Pluginskaraage-usage: The karaage-usage plugin provides monitoring of usage
information.karaage-applications: This plugin allows users to self register accounts with
Karaage.karaage-software: Keep track of installed software applications.SupportMailing listBug reportsSource codeKaraage is open source code and available under the GPL3 license.  You can find
the source code for Karaage atgithub.
Package: karabo-bridge
karabo_bridgeis a Python 3 client to receive pipeline data from the
Karabo control system used atEuropean XFEL.
A simulated Karabo bridge server is included to allow testing code without
a connection to a real Karabo server.Installingto install the package:$ python3 -m pip install karabo-bridge

or

$ git clone https://github.com/European-XFEL/karabo-bridge-py.git
$ cd ./karabo-bridge-py
$ python3 -m pip install .How to useRequest data from a karabo bridge serverUse theClientclass from karabo_brige to create a client and thenextmethod to request data from the server.
The function returns 2 dictionaries: the first one holds a train data and the
second one holds the associated train metadata. Both dictionaries are keyed by
source name, and the values are dictionaries containing parameters name and
values for data and metadata information (source name, timestamp, trainId)
for the metadata. Values are all built-in python types, or numpy arrays.>>>fromkarabo_bridgeimportClient>>>krb_client=Client('tcp://server-host-name:12345')>>>data,metadata=krb_client.next()>>>data.keys()dict_keys(['source1','source2','source3'])>>>data['source1'].keys()dict_keys(['param1','param2'])>>>metadata['source1']{'source1':{'source':'source1','timestamp':1528476983.744877,'timestamp.frac':'744877000000000000','timestamp.sec':'1528476983','timestamp.tid':10000000073}}Use the Simulation serverTo start a simulation, call thestart_genfunction and provide a port to
bind to. You can the use theClientclass and connect to it to test the
client without the need to use Karabo.>>>fromkarabo_bridgeimportstart_gen>>>start_gen(1234)Server:emittedtrain:10000000000Server:emittedtrain:10000000001Server:emittedtrain:10000000002Server:emittedtrain:10000000003Server:emittedtrain:10000000004...You can also run the simulated server from the command line:$ karabo-bridge-server-sim 1234
Package: karabo-data
Python 3 tools for reading European XFEL's HDF5 files.karabo_data has been renamed toEXtra-data(for data access)
andEXtra-geom(for
detector geometry and image assembly). Please use those packages for new
code.DocumentationInstallingkarabo_datais available on our Anaconda installation on the Maxwell cluster:module load exfel exfel_anaconda3You can also install itfrom PyPIto use in other environments with Python 3.5 or later:pip install karabo_dataIf you get a permissions error, add the--userflag to that command.ContributingTestsTests can be run as follows:python3 -m pytest -v
Package: karaden-prg-python
Karaden PythonライブラリKaraden Pythonライブラリは、Pythonで書かれたアプリケーションからKaraden APIへ簡単にアクセスするための手段を提供します。
それにはAPIレスポンスから動的に初期化するAPIリソースの一連のクラス定義が含まれているため、Karaden APIの幅広いバージョンと互換性があります。インストール方法パッケージを変更しないならば、このソースコードは必要ありません。
パッケージを使用したいだけならば、下記を実行するだけです。pip install --upgrade karaden-prg-pythonソースコードからインストールしたいのであるならば、下記を実行します。python setup.py install動作環境Python 3.7～3.10使い方このライブラリを使用するには、Karadenでテナントを作成し、プロジェクト毎に発行できるトークンを発行する必要があります。
作成したテナントID（テナントIDはテナント選択画面で表示されています）は、Config.tenant_idに、発行したトークンはConfig.api_keyにそれぞれ設定します。fromkaraden.configimportConfigfromkaraden.param.message_create_paramsimportMessageCreateParamsfromkaraden.model.messageimportMessageConfig.api_key='<トークン>'Config.tenant_id='<テナントID>'params=(MessageCreateParams.new_builder().with_service_id(1).with_to('09012345678').with_body('<本文>').build())message=Message.create(params)リクエスト毎の設定同一のプロセスで複数のキーを使用する必要がある場合、リクエスト毎にキーやテナントIDを設定することができます。params=(MessageDetailParams.new_builder().with_id('<メッセージID>').build())request_options=(RequestOptions.new_builder().with_api_key('<トークン>').with_tenant_id('<テナントID>').build())message=Message.detail(params,request_options)
Package: karafs
karafs کرفستولید اسم های رندوم فینگیلیشinstallation➜pipinstallkarafsusageدو زبانه➜karafs-n10توتفرنگیبیناموس
tootfarangi-yebi_namoos
غورهٔخسته
ghoore-yekhaste
انارزرهپوش
anaar-ezerehpush
انگورسرسپرده
angoor-esarsepordeh
زلزلکنادان
zalzalak-enaadaan
سیبورپریده
sib-evarparideh
فندقعقدهای
fandogh-eoghde_ee
گریپفروتقزمیت
gripfroot-eghozmit
نارگیلپرورده
nargil-eparvardeh
تنماهیتافته
tonmaahi-yetaftehفقط انگلیسی➜karafs-n10-en
shaftaaloo-yebolandparvaz
baalang-ekhoshhal
porteghal-eforoo_heshteh
piyaz-eoghde_ee
fandogh-eafsordeh
gheisi-ekarazmoodeh
piyaz-egomashteh
limooshirin-ezhoolideh
senjed-etafteh
ananas-ekhafanفقط فارسی➜karafs-n10-fa

کیویشارلاتان
لوبیاچیتیچابک
نوشابهٔمفلس
تنماهیاسکل
انارآلوده
انجیرپرورده
توتخسته
خیاررهیده
کمبوزهٔشرابزده
گلابیفرسودهoption-nبا این آپشن میتونید تعداد دفعات تولید اسم رندوم رو مشخص کنید.
اگر تنظیمش نکنید به طور پیشفرض تعداد 1 در نظر گرفته میشه.➜karafs-n5option--no-spaceبا این آپشن میتونید خروجی رو بدون فاصله بین کلمات بگیرین:➜karafs--no-space-n10use as libraryشما میتونید کرفس رو به عنوان یک کتابخانه توی برنامه هاتون استفاده کنید.importkarafsprint(karafs.gen_str())# generate a random name (finglish)print(karafs.gen_str('fa'))# generate a random name (persian)print(karafs.gen_str_without_space())# generate a random name without whitespace (finglish)print(karafs.gen_str_without_space('fa'))# generate a random name without whitespace (persian)
Package: karafuru
karafuruTraditional Chinese colors in your terminal🚀 FeaturesInstallationpipinstallkarafuruUsagepython-mkarafuru--base[red|blue|green|yellow|black|white|dark|light|metal|all]LicenseThis project is licensed under the terms of theMITlicense. SeeLICENSEfor more details.CreditsInspired byiroiroReference:zhongguosechinese-colors色谱 中科院科技情报编委会名词室科学出版社 1957This project was generated withpython-package-template.
Package: karakuri
# KarakuriTask manager for docker image## Requirements* Python2* pip* Docker(either local or remote)## Installationpip install karakuriorpip install git+https://github.com/rail44/karakuri.git## ConfigCreate `karakuri.yml` for your product.example:tasks:start: bundle exec rake starttest: bundle exec rspecdefault: startlinks:- db- cacheservices:db:image: orchardup/postgresqlports:- "5432"cache:image: tutum/memcachedports:- "11211"Base systax is equivalent [fig.yml](http://orchardup.github.io/fig/yml.html).Environment variables are avilable for linked containers.It is able to be used same as [fig's](http://orchardup.github.io/fig/env.html).For above example, you can use `$DB_1_PORT` in your app's database config.**Karakuri** will try to find `karakuri.yml` from root(`/`) or `WORKDIR`.You must add it to either.## Usagedocker build -t <image_name> .karakuri <image_name> <command>If `$DOCKER_HOST` is defined, **Karakuri** will set it for Docker daemon.For example, you can be able to run test withkarakuri <image_name> do test
Package: karanage
KARANAGEkaranageis a generic interface to communicate with the KARANAGE web service.Git interface...git repositoryhttps://gitea.atria-soft.org/kangaroo-and-rabbit/karanageInstallationRequirements:Python >= 3andpipJust run:pip3 install karanagedevelopment for KARANAGE:git clone https://gitea.atria-soft.org/kangaroo-and-rabbit/karanage
cd karanage/client/python/karanage
./setup.py develop --userDocumentationLicense (MPL v2.0)Licensed under the Mozilla Public License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttps://www.mozilla.org/en-US/MPL/2.0/Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: karanage-tools
KARANAGE-toolskaranage-toolsis thez generic tools to interact with the server RESTGit interface...git repositoryhttps://gitea.atria-soft.org/kangaroo-and-rabbit/karanageInstallationRequirements:Python >= 3andpipJust run:pip3 install karanage-toolsdeveloppement for karanage-tools:git clone https://gitea.atria-soft.org/kangaroo-and-rabbit/karanage
cd karanage/client/python/karanage-tools
./setup.py develop --userDocumentationLicense (MPL v2.0)Licensed under the Mozilla Public License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttps://www.mozilla.org/en-US/MPL/2.0/Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: karaoke-generator
KaraokeHunt: Karaoke video generatorFully automated creation ofacceptablekaraoke music videos from any music on YouTube, using open source tools and AI (e.g. Whisper and MDX-Net)ContextThis is one experimental tool as part of the journey towards implementing thefull visionfor KaraokeHunt (https://karaokehunt.com).Some of the other components include:Lyrics from GeniusKaraoke Song Finder (Spreadsheet generator)KaraokeHunt Mobile AppIdea stepsFetch the requested YouTube video usingyt-dlpand extract the audio to wav using ffmpegRun that audio through an ML-based vocal isolation model tuned for karaoke (e.g.UVR-MDX-NET Karaoke 2to get high quality instrumental audio without lead vocals but retaining backing vocalsRun the lead vocal track throughwhisper-timestampedto generate a time-synced lyrics fileCorrect the detected lyrics by fetching lyrics from a human-input source (e.g. musicxmatch/spotify usingsyrics, genius usinglyrics-from-geniusand attempting to match up segments with the whisper-heard lyrics whilst maintaining timestampsPotentially also consider splitting words by syllable (e.g. usingpython-syllablesand attempting to guess the sub-word timestampsGenerate a new video file using the instrumental audio and a background image, with the synced lyrics “burned” into the video at the correct timestampsLots of scope to make this really nice, e.g. adjusting kerning dynamically to fit longer lines on one screen, but also lots of gotchas e.g. super long lines needing to be split at a reasonable placePublish this video to YouTube
Package: karaokemanagerwinampdriver
Winamp Driver for KaraokeManagerA KaraokeManager driver for Winamp.For CDG visuals, you need to have a suitable CDG plugin installed.I heartily recommend this one, thoughothers are available.For key changes, you need to have thePacemaker plugininstalled.To useInstallthe packagewithpip install karaokemanagerwinampdriverEdit your KaraokeManager .yaml file, and set driver class tokaraokemanagerwinampdriver.winamp_driver.DriverIn the driver-specific section, you can add anexestring, set to the full path forwinamp.exe. If you do this, Winamp will be launched when KaraokeManager starts.v1.0First release
Package: karaone
Kara OneSome tools form Kara One EEG databaseInstallationpipinstallkaraonepythonsetup.pybdist_wheelclean--allUsagepython-mkaraone--helpContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.DeveloperJesus Alan Hernandez Galvan