Saravanan666/pypi-org huggingface dataset:
Package: korta
KortaPython client fyrir Kortaþjónustuna. Mjög minimal og mjög beta í augnablikinu.NotkunAf því gefnu að þú sért með aðgangsupplýsingar frá kortu:>>> from korta.client import Client, CreditCard, Order, korta_reference
>>> c = Client('/path/to/my/pem', '/path/to/my/crt',
...    'user_id', 'password', 'site_id', 'acceptor_id',
...    'acceptor_terminal')
>>> ref = korta_reference()
>>> c.one_off(Order(ref, 2000), CreditCard(number, month, year, ccv))UppsetningTil að setja upp þarf að keyra:$ python setup.py installPrófanirAf því gefnu að þú sért með aðgangsupplýsingar frá kortu.Búðu til userconfig.ini á sama leveli og setup.py með eftirfarandi gildum:[korta]
user = user
password = password
site_id = number_from_korta
card_acceptor_id = number_from_korta
card_acceptor_identity = number_from_korta
host = test.kortathjonustan.is
pem_path = certs/test.rpcs.kortathjonustan.is.crt.pem
ca_path = certs/ca-bundle.crtSetja upp nose:$ pip install noseKeyra:$ nosetestsAthugasemdirÞarfnast pycurl, hef því ekki hugmynd hvort það virki á Windows.Default ssl pakkinn í Python styður ekki password callbackið úr openssl, ástæðan fyrir pycurlBöggar og patcharÞróun fer fram á github:http://github.com/StefanKjartansson/Korta
Package: kortex
Keras :brain: CortexKeras Implementations of Goal-driven models of (parts of) cortexCurrently Supported Architectures:eye: Visual CortexArchitecturePaperOriginal ImplementationCORNetZhttps://www.biorxiv.org/content/10.1101/408385v1https://github.com/dicarlolab/CORnetCORNetShttps://papers.nips.cc/paper/2019/hash/7813d1590d28a7dd372ad54b5d29d033-Abstract.htmlhttps://github.com/dicarlolab/CORnet
Package: korth-spirit
The Spirit of KorthThe Spirit of Korth is a python wrapper for the Active Worlds Software Development Kit (SDK). Active Worlds is a trade mark of Active Worlds Inc. The SDK is a set of tools for developing games, bot, and extensions for the Active Worlds platform. The SDK and its license are available athttp://www.activeworlds.com/sdk/download.htm. This project is not affiliated with Active Worlds Inc.The Spirit of Korth is licensed under the MIT license. All other code is owned by the author. The Spirit of Korth is not affiliated with Active Worlds Inc.InstallationThis package is provided as a python package. To install it, run the following command:pipinstallkorth-spiritYou will also need to inlcude the SDK with name 'aw64.dll' in the same directory as executing script. There were unexpected issues when callingaw_createwhen accepting an dynamic path to the library.UsagePlease know this package is in alpha and a work in progress. The API is subject to change. The spirit of korth is not yet ready for use. You may attempt to use it, but you should not expect it to work.Greeter Bot exampleusing the Korth Spirit wrapper for the Active Worlds SDK.fromkorth_spiritimportConfigurableInstance,EventEnumfromkorth_spirit.configurationimport(AggregateConfiguration,InputConfiguration,JsonConfiguration)withConfigurableInstance(AggregateConfiguration(configurations={JsonConfiguration:('configuration.json',),InputConfiguration:(),}))asbot:bot.bus.subscribe(EventEnum.AW_EVENT_AVATAR_ADD,lambdae:bot.say(f"Salutations{e.avatar_name}!"))bot.main_loop()LicenseThis project, the Spirit of Korth, is licensed under the MIT license. All other code is owned by the author. The Spirit of Korth is not affiliated with Active Worlds Inc. This project is not affiliated with Active Worlds Inc. The license for Active Worlds Software Development Kit (SDK) is available athttp://www.activeworlds.com/sdk/download.htm.ContributionThis project is open source. Feel free to contribute to the project by making a pull request, creating an issue ticket, or sending an email toJohnny Irvin. This project, the Spirit of Korth is not affiliated with Active Worlds Inc. Johnathan Irvin is not affiliated with Active Worlds Inc.
Package: koRTT
koRTTRound Trip Translation(RTT)tool forKorean dataaugmentation한국어 데이터 증강을 위한 파이썬 라이브러리입니다.Round Trip Translation을 활용하여주어진 문장을 유사한 의미의 문장으로 변환합니다.Installpip install korttUsage사용에 앞서 각 모드별로API Key 발급이 필요합니다.(google의 경우 API 키 입력이 필요 없습니다.)지원하는 모드는 아래 Surppoted modes를 참고해주세요.⚠️발급받은 API 키는 공개된 파일에 노출되지 않도록 주의해주세요from kortt import Generator

generator = Generator(
    mode="papago", client_id="YOURCLIENTID", secret_id="YOURSECRETID"
)

result = generator.generate("나는 오늘 아침에 밥을 맛있게 먹었다.")
print(result)

# "나는 오늘 아침에 맛있는 식사를 했다."Surppoted modesModeLinkpapagohttps://developers.naver.com/docs/papago/README.mdgoogleAPI Key 필요 Xmicrosoft모드 추가 예정ExamplesSource SenetencePapago resultGoogle result나는 오늘 아침에 밥을 맛있게 먹었다.나는 오늘 아침에 맛있는 식사를 했다.나는 오늘 아침에 맛있는 쌀을 먹었다.오랜만에 산책하니까 좋다.오랜만에 산책하니 좋다.내가 걷는 지 오래되었습니다.빼앗긴 들에도 봄은 오는가도둑맞은 땅에도 봄이 오나요?봄이 도난당한 들판에오고 있습니다하늘을 우러러 한 점 부끄럼이 없기를하늘을 올려다보는 것에 부끄러움이 없기를 바랍니다.하늘에 부끄러운 지점이 없기를 바랍니다.가야 할 때가 언제인가를 분명히 알고 가는 이의 뒷모습은 얼마나 아름다운가언제 가야 할지 뻔히 아는 사람의 뒷모습은 얼마나 아름다운가.언제 갈지 명확하게 아는 사람의 뒷면이 얼마나 아름답습니까?Pytorch는 딥러닝을 위한 강력한 도구이다파이토치는 딥러닝을 위한 강력한 도구이다.Pytorch는 딥 러닝을위한 강력한 도구입니다한국어 자연어 처리 난이도 ㄹㅇ 실화냐 ㅋㅋ한국어 자연어 처리 난이도는 정말 현실이야 ㅋㅋ한국 자연 언어 처리 난이도는 실화입니다 haha오늘 미팅은 10시에 시작합니다오늘 회의는 10시에 시작한다.오늘의 회의는 10시에 시작됩니다Referencehttps://github.com/ssut/py-googletrans
Package: korv
Korv is an API framework that uses TCP sockets over SSH to exchange JSON data with a REST-like protocol. It's built on top of theasyncsshmodule, so it usesasyncioto manage the sockets and its callbacks. This allows you to build rich APIs with the session security of SSH and without the TCP overhead of HTTP.Communications over this framework requires SSH keys like logging into a normal SSH server:The server itself has a private key and a set of public keys for the authorized clients.The client has a private key and a set of public keys for the servers it can connect to.VerbsThere are 4 main verbs that indicate the intent of your request:GETfor retrieving information.STOREfor creating new objects.UPDATEfor changing existing objects.DELETEfor removing objects.KeysAs discussed previously, you establish an SSH session with the server, so it's possible to reuse existing keys or generate them through any standard mechanism like the one below:ssh-keygen-trsa-b4096-C"your_email@example.com"ServerGetting a server up and running is very simple:fromkorvimportKorvServerdefhello(request):"""Callback for the /hello endpoint"""return200,{'msg':'Hello World!'}defecho(request):"""Callback for the /echo endpoint"""return200,{'msg':f'{request}'}# Create a serverk=KorvServer(host_keys=['PATH_TO_YOUR_SERVER_PRIVATE_KEY'],authorized_client_keys='PATH_TO_YOUR_AUTHORIZED_PUBLIC_KEYS')# Register the callbacksk.add_callback('GET','/hello',hello)k.add_callback('GET','/echo',echo)# Start listening for requestsk.start()This will start a new SSH server with the specified private key that listens on port8022by default and will accept the clients listed in the authorized keys.ClientFollowing is an example on how to communicate with this server.>>>fromkorvimportKorvClient>>>>>># Create the client>>>k=KorvClient(client_keys=['PATH_TO_YOUR_CLIENTS_PRIVATE_KEY'])>>>>>># Issue a GET request and print the output>>>k.get('/hello',callback=lambdaresponse:print(response['body']))>>>{'msg':'Hello World!'}Return CodesWe're using standard HTTP response codes:200= Success.400= Malformed request or missing parameters.404= NotFound500= Internal error.Server exceptions map to a500return code ans will include a traceback in the response.
Package: kosciuszko-utils
kosciuszko-utilskosciuszko is a simple vault for storing secrets on GNU/Linux. It is heavily inspired byencnote.These utils implement a basic CLI for using a store. See alsolibkosciuszkofor the core lib.RationaleAll existing approaches to storing arbitrary secrets on Linux are shit. kosciuszko is a general purpose vault which supercedes all existing approaches. It uses standard technologies and so can easily be implemented in e.g. shell or any arbitrary language.MethodUnsecured secrets are stored in a directory. This directory is then folded into a squashfs, and then encrypted with a GPG key.
To access secrets, the process is simply reversed.Usagepython3 -m pip --user install kosciuszko-utilsThis provides the binskosciuszko-new,kosciuszko-addfile,kosciuszko-list,kosciuszko-extract-file,kosciuszko-extract.
Which should all be self explanatory. Like git, these may be invoked likekosciuszko new ...and so on.This is alpha quality software; there may be bugs.Homepagehttps://git.sr.ht/~happy_shredder/kosciuszko-utilsLicenseGPLv3+
Package: kosh
OverviewKosh allows codes to store, query, share data via an easy-to-use Python API. Kosh lies on top of Sina and as a result can use any database backend supported by Sina.In addition Kosh aims to make data access and sharing as simple as possible.Via "loaders", "transformers" and "operators" Kosh can access and process data in a consistent fashion, decoupled from data format and location.Kosh is a Hindi word that meanstreasury, which is derived fromKosha, a Sanskrit word that means container in either a direct or metaphorical sense. A fairly good translation would berepository.Getting StartedTo get the latest public version:pipinstallkoshTo get the latest stable, from a cloned repo simply run:pipinstall.Alternatively  add the path to this repo to yourPYTHONPATHenvironment variable, or in your code with:importsyssys.path.append(path_to_kosh_repo)For more details look into theinstallation docFirst stepsSeethis fileGetting InvolvedKosh is user-oriented, and users' questions, comments, and contributions help guide its evolution. We welcome involvement and feedbacks.Contact InfoYou can reach our team atkosh-support@llnl.gov.
Kosh main developer can be reached at:doutriaux1@llnl.govContributingContributions should be submitted as a pull request pointing to the develop branch, and must pass Kosh's CI process; to run the same checks locally, use:pytest tests/test_kosh*pyContributions must be made under the same license as Kosh (see the bottom of this file).Release and LicenseKosh is distributed under the terms of the MIT license; new contributions must be made under this license.SPDX-License-Identifier: MITLLNL-CODE-814755
Package: koshort
Social network services and other internet communities are open and rich data source of human spoken language.But due to the issues of privacy and policy of each website, sharing a bunch of retrieved text data is normally prohibited.
To solve the most major Natural Language Processing (NLP) problem under this circumstances, researchers had to rely on limited public datasets and data brought by their company.
Otherwise they would implement their domain-specific crawler for each case.Koshort is hardly inspired by the project KoNLPy, with similar philosophy. It is not about recreating another crawler but to unify efforts around so that anyone can accelerate their projects.
Package: kosis
KOSIS apiInstallingpip install kosisUsing kosisGet API Key from kosis.krhttps://kosis.kr/openapi/serviceUse/serviceUseUnityReg_01Detail.jspExport environment variable KOSIS_API_KEY
export KOSIS_API_KEY={your key}Using ipython's autocompletion for easy navigationfrom kosis import Kosis
ks = Kosis()
# press tab after typing "ks.main." to see the top most list.
# You can navigate every statistics data using autocompletion
ks.main.금융Using dir() to navigate itemsfrom kosis import Kosis
ks = Kosis()
dir(ks.main)
dir(ks.main.금융)Getting statics datafrom kosis import Kosis
ks = Kosis()
ks.main.금융.통화금융통계.통화_및_유동성지표.M2_광의통화_.M2_상품별구성내역_말잔_.M2_상품별_구성내역_말잔_계절조정계열_.dataoutputTBL_NM              PRD_DE      TBL_ID                  ITM_NM                    ITM_NM_ENG          ITM_ID           UNIT_NM ORG_ID  UNIT_NM_ENG   C1_OBJ_NM    C1_OBJ_NM_ENG              DT PRD_SE            C1                      C1_NM                  C1_NM_ENG
0   M2 상품별 구성내역(말잔 계절조정계열)  202212  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT      3750603.4      M       13102134693ACC_ITEM.BBGS00  M2(말잔 계절조정계열)   M2(End Of period SA)
1   M2 상품별 구성내역(말잔 계절조정계열)  202301  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT      3795354.4      M       13102134693ACC_ITEM.BBGS00  M2(말잔 계절조정계열)   M2(End Of period SA)
2   M2 상품별 구성내역(말잔 계절조정계열)  202302  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT      3802737.3      M       13102134693ACC_ITEM.BBGS00  M2(말잔 계절조정계열)   M2(End Of period SA)
3   M2 상품별 구성내역(말잔 계절조정계열)  202212  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT       163052.4      M       13102134693ACC_ITEM.BBGS01           현금통화      Currency in Circulation
4   M2 상품별 구성내역(말잔 계절조정계열)  202301  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT       161895.8      M       13102134693ACC_ITEM.BBGS01           현금통화      Currency in Circulation
5   M2 상품별 구성내역(말잔 계절조정계열)  202302  DT_101Y001  M2 상품별 구성내역(말잔 계절조정계열)  M2 By Type (End of SA)  13103134693999     십억원    301     Bil.Won     계정항목별       ACCOUNT       163942.1      M       13102134693ACC_ITEM.BBGS01           현금통화      Currency in Circulation
...
Package: koslab.recipe.zipapp
ContentsIntroductionCommand Line ToolInstallationUsageBuildout RecipeContributorsChangelogIntroductionSupport for executing python zip files was added inPython2.6, and in
Python3.6, emphasis was added through thezipappmodule.This module contains a buildout recipe and a command line utility to help
package Python applications into a zipapp, complete with its setup.py
dependencies.One of the use-case for this module is for building complex Hadoop MapReduce
job in Python that relies in many dependencies. The zipapp can be distributed
easily to Hadoop nodes for execution, or packaged as a script for Hive’sTRANSFORMfunctionCommand Line ToolInstallationpip install koslab.recipe.zipappUsageThe following example packages Spotify’sLuigidaemon as a zipapp.# Creates luigi zipapp as luigi.egg
zipapp build luigi -m luigi.cmdline:luigid -o luigi.egg

# Run luigid
python luigi.eggBuildout RecipeConfigurationThis recipe depends oncollective.recipe.omelettefrom Plone.buildout.cfg:[buildout]
parts =
    omelette
    zipapp

[omelette]
recipe = collective.recipe.omelette
eggs =
    # Eggs to be included into the zipapp
    MyApp

[zipapp]
recipe = koslab.recipe.zipapp
omelette-part = omelette
main-function = MyApp.main:main
output-file = MyApp.pyzOutput file will be created everytime buildout is runContributorsNote:  place names and roles of the people who contribute to this packagein this file, one to a line, like so:Joe Schmoe, Original AuthorBob Slob, contributed monkey patchesJane Main, wrote flibberty moduleChangelog1.0 (2015-08-04)Package created using templer [izhar]Initial functioning recipe [izhar]
Package: kosmorrolib
InstallationRequirementsKosmorrolib requires the following software to work:Python ≥ 3.8.0And that's all!Production environmentKosmorrolib is availableon PyPI. To use it, invokepip install kosmorrolib.Development environmentTo contribute to Kosmorrolib, you will needPoetry, a software to manage the project from development to publishing.Clone this repository and runpoetry installto install the dependencies.
And that's all, your development environment is ready for the fight! 👏DocumentationAll the documentation can be foundon the website.
Package: kosmos-2
Kosmos-2My personal implementation of Kosmos-2, Kosmos-2: Grounding Multimodal Large Language Models to the World, much simpler codebaseInstallpip3 install qwenUsageimporttorchfromqwen.modelimportQwenVL#usageimg=torch.randn(1,3,256,256)caption=torch.randint(0,20000,(1,1024))model=QwenVL()output=model(img,caption)print(output.shape)Inferencefromqwen.inferenceimportQwenVLChatqwen_chat=QwenVLChat(model_name="Qwen/Qwen-VL-Chat",device_map="cuda")response=qwen_chat.chat([{"image":"https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"},{"text":"这是什么?"}])print(response)TrainingThere is a file with a table of all the datasets used in the paper herefromqwen.trainimportTraindeftrain():os.environ['MASTER_ADDR']#'localhost'os.environ['MASTER_PORT']#= '9994'# # [CRITICAL] Pay attention to this when scaling to multiple GPUs and clustersos.environ['RANK']#= str(0) # Number of nodes (servers)os.environ['WORLD_SIZE']# = str(torch.cuda.device_count())dist.init_process_group(backend='nccl')#init_method="env://")Train()if__name__=='__main__':train()Set the environment variables:ENTITY_NAME: Your wandb project nameOUTPUT_DIR: Directory to save the weights (e.g.,./weights)MASTER_ADDR: For distributed trainingMASTER_PORTFor master port distributed trainingRANK- Number of nodes servicesWORLD_SIZENumber of gpusConfigure the training:Accelerate ConfigEnable Deepspeed 3Accelerate launch train_distributed_accelerate.pyFor more information, refer to theTraining SOP.TodoPosition aware vision language adapter, compresses image features. Singer layer cross attention module inited randomly => group of trainable embeddings as query vectors + image features from the visual encoder as keys for cross attention ops => OUTPUT: compresses visual feature sequence to a fixed lnegth of 256, 2d absolute positional encodings are integrated into the cross attentions mechanisms query key pairs => compressed feature sequence of length of 256 => fed into decoder llmBounding Boxes, for any given accurate bounding box, a norm process is applied in the range [0, 1000] and transformed into a string format (Xtope, Ytople)(Xottomright, Ybottomright) -> the string is tokenized as text and does not require positional vocabulary. Detection strings and regular text strings, two special tokens  and  are added to the beginning and end of the bounding box string. + another sed of special tokens ( and ) is introduced.CitationsPlease use the following to cite this work:@article{bai2023qwen,
  title={Qwen-VL: A Frontier Large Vision-Language Model with Versatile Abilities},
  author={Bai, Jinze and Bai, Shuai and Yang, Shusheng and Wang, Shijie and Tan, Sinan and Wang, Peng and Lin, Junyang and Zhou, Chang and Zhou, Jingren},
  journal={arXiv preprint arXiv:2308.12966},
  year={2023},
  url={https://doi.org/10.48550/arXiv.2308.12966}}For more details, please refer to thefull paper.
Package: kosmos2-torch
Kosmos2.5My implementation of Kosmos2.5 from Microsoft research and the paper: "KOSMOS-2.5: A Multimodal Literate Model"Paper LinkAppreciationLucidrainsAgoriansInstallDataset StrategyHere is a table summarizing the datasets used in the paper KOSMOS-2.5: A Multimodal Literate Model with metadata and source links:DatasetModality# SamplesDomainSourceIIT-CDIPText + Layout27.6M pagesScanned documentsLinkarXiv papersText + Layout20.9M pagesResearch papersLinkPowerPoint slidesText + Layout6.2M pagesPresentation slidesWeb crawlGeneral PDFText + Layout155.2M pagesDiverse PDF filesWeb crawlWeb screenshotsText + Layout100M pagesWebpage screenshotsLinkREADMEText + Markdown2.9M filesGitHub README filesLinkDOCXText + Markdown1.1M pagesWORD documentsWeb crawlLaTeXText + Markdown3.7M pagesResearch papersLinkHTMLText + Markdown6.3M pagesWebpagesLinkLicenseMITCitations@misc{2309.11419,Author={Tengchao Lv and Yupan Huang and Jingye Chen and Lei Cui and Shuming Ma and Yaoyao Chang and Shaohan Huang and Wenhui Wang and Li Dong and Weiyao Luo and Shaoxiang Wu and Guoxin Wang and Cha Zhang and Furu Wei},Title={Kosmos-2.5: A Multimodal Literate Model},Year={2023},Eprint={arXiv:2309.11419},}bolditalics
Package: kosmosg
KosmosGMy implementation of the model KosmosG from "KOSMOS-G: Generating Images in Context with Multimodal Large Language Models"Installationpip install kosmosgUsageimporttorchfromkosmosg.mainimportKosmosG# usageimg=torch.randn(1,3,256,256)text=torch.randint(0,20000,(1,1024))model=KosmosG()output=model(img,text)print(output)Architecturetext, image => KosmosG => text tokens with multi modality understandingLicenseMITTodoCreate Aligner in pytorchCreate Diffusion moduleIntegrate these piecesCreate a training script
Package: kospellpy
한국어 문서koSpellPyKorean Spell checkerHow to useInstallpip install kospellpyUsefromkospellpyimportspell_initspell_checker=spell_init()# default: busan spell check# if you want to use naver_spell_check, just use spell_init('naver')text="인공지능이너무 재밓따!"print(spell_checker(text))>>인공지능이너무재밌다!
Package: kostal_plenticore_exporter
This is a Prometheus exporter for theKostal Plenticoreseries of inverters.
It exports the metrics exposed by the inverter inPrometheusformat.
This way it can be ingested into Prometheus and used forGrafanadashboards or to trigger notifications in case of failure events.UsageRun thekostal-plenticore-exporterpassing it the IP address of the inverter and the password of the operator user.
As command line arguments can be seen by other users on the system, the password should be passed via environment
variable:PASSWORD="my super secret" kostal-plenticore-exporter 192.168.1.3The metrics will be default be exposed athttp://localhost:9876/.
Seekostal-plenticore-exporter--helpfor all arguments available.Alternatively, you can also invoke the Python module:python3-mkostal_plenticore_exporter--help.Status MetricsSome metrics export state as a numeric value.
These decoded meanings of these values are given inthe interface description document available on the Kostal product page.For thekostal_plenticore_inverter_statusmetric these values are:0: Off1: Init2: IsoMeas3: GridCheck4: StartUp5: -6: FeedIn7: Throttled8: ExtSwitchOff9: Update10: Standby11: GridSync12: GridPreCheck13: GridSwitchOff14: Overheating15: Shutdown16: ImproperDcVoltage17: ESB18: UnknownFor thekostal_plenticore_battery_statusmetric, which is calledenergy manager statusin the document, these values are:0: Idle1: n/a2: Emergency Battery Charge4: n/a8: Winter Mode Step 1; on the UI and in the user manual this isBattery Sleep Mode 1.16: Winter Mode Step 2; on the UI and in the user manual this isBattery Sleep Mode 2.LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/.
Package: kosu
kōsu / コースkosuis a command-line utility to help you build and maintain courses using Jupyter Notebooks.InstallationTo install kosu:pip install kosuOr if you want to upload to S3 later, use theawsoption like so:pip install kosu[aws]Seethe documentationfor more information.Getting startedTo set up a new collection of courses:mkdir mycourses
cd mycourses
kosu initThis will create several directories and files in the directorymycourses. You can run some of the other commands in this guide to see how they work.The content of the course is controlled byexample-course.yaml. Note that onlytitleandcurriculumare required fields. There is also a global control file,.kosu.yaml, which contains some parameters you will want to set and maintain.To build the example course:kosu build example-courseThis will create a ZIP file of the course content.To add more courses using the same pool of content, add another YAML control file.DocumentationRead the documentationfor more on using the tool, as well as for information about contributing tokosu, the licence, etc.
Package: kotev
KotevAll this does right now is convert Hebrew text from the Assyrian alphabet to the Phonencian alphabet.Installationpip install kotevUsagekotev to_phoenician 'אם אין אני לי מי לי וכשאני לעצמי מה אני ואם לא עכשיו אימתי'Outputs 𐤀𐤌 𐤀𐤉𐤍 𐤀𐤍𐤉 𐤋𐤉 𐤌𐤉 𐤋𐤉 𐤅𐤊𐤔𐤀𐤍𐤉 𐤋𐤏𐤑𐤌𐤉 𐤌𐤄 𐤀𐤍𐤉 𐤅𐤀𐤌 𐤋𐤀 𐤏𐤊𐤔𐤉𐤅 𐤀𐤉𐤌𐤕𐤉
Package: kotikikruto2
Второе заданиеПрограмма принимает на вход текстtext(обязательный параметр) и числоcount(необязательный, default=1). Затем текст выводитсяcountраз, в каждой строке по "номер строки" раз.Напримерpython -m kotikikruto2 --text "a" -- count 4.Результат программы:a
aa
aaa
aaaa