Saravanan666/pypi-org huggingface dataset:
Package: kolorz
━━━━━━  ❖  ━━━━━━❖ Informationkolorz is a simple, fast, and extensible python library to facilitate printing colors to terminals that support true color❖ InstallationInstall from pippip3installkolorzInstall from sourceFirst, installpoetrygitclonehttps://github.com/dotzenith/kolorz.gitcdkolorz
poetrybuild
pip3install./dist/kolorz-0.2.5.tar.gz❖ UsageUsing the kolorz CLI endpoint to print out all available colorschemes:$ kolorz
Supported colorschemes: 

catppuccin latte
catppuccin frappe
catppuccin macchiato
catppuccin mocha
dracula
nord
gruvbox
onedark
tokyonight
ayu
palenight
goghUsing the kolorz python interface to print colored output:fromkolorzimportmake_kolorzkl=make_kolorz()print(f"{kl.blue}This is some{kl.end}{kl.orange}output{kl.end}")The following colors are available, but more can be added (more on that later):red
purple
blue
green
orange
yellow
whiteBy default, the colorscheme is set tocatppuccin mochabut that can be changed to any of the colorschemes listed bykolorz. For example:fromkolorzimportmake_kolorzkl=make_kolorz("nord")print(f"{kl.blue}This is some{kl.end}{kl.orange}output{kl.end}")Users can also define their own colorschemes:fromkolorzimportmake_kolorznew_colors={"red":(210,15,57),"purple":(136,57,239),"blue":(30,102,245),"green":(64,160,43),"orange":(254,100,11),"yellow":(223,142,29),"white":(204,208,218),}kl=make_kolorz(custom=new_colors)print(f"{kl.blue}This is some{kl.end}{kl.orange}output{kl.end}")When adding a custom colorscheme, the user is not restricted to just seven colors. The user can define as many colors as they'd like in the dict structureAdding or overriding a colorfromkolorzimportmake_kolorz,make_kolorkl=make_kolorz()# Addingkl.rosewater=make_kolor((245,224,220))# Overridingkl.blue=make_kolor((137,220,235))print(f"{kl.rosewater}This is some{kl.end}{kl.blue}output{kl.end}")❖ What's New?0.2.5 - Dependency updates
Package: kolsol
KolSolKolSol is a pseudospectral Kolmogorov flow solver, using a Fourier-Galerkin approach as described by Canuto[1].
This library contains bothNumPyandPyTorchimplementations to allow for autograd-compatible workflows. Please note
that the implementation of the FFT withinNumPyis much more efficient so for general usage this version is preferable.The solver provides numerical solutions to the divergence-free Navier-Stokes equations:$$
\begin{aligned}
\nabla \cdot u &= 0 \
\partial_t u + u \cdot \nabla u &= - \nabla p + \nu \Delta u + f
\end{aligned}
$$As a spectral method is employed, using a larger quantity of wavenumbers will reduce the numerical error.Note:Highly accurate simulations can be attained even with relatively few wavenumbers.License:MITPython Versions:3.8.10+Flowfield:Installation:You can install KolSol from PyPI as follows$pipinstallkolsolSolver Example:importnumpyasnpfromkolsol.numpy.solverimportKolSol# instantiate solverks=KolSol(nk=8,nf=4,re=30.0,ndim=2)dt=0.01# define initial conditionsu_hat=ks.random_field(magnitude=10.0,sigma=2.0,k_offset=[0,3])# simulate :: run over transientsfor_innp.arange(0.0,180.0,dt):u_hat+=dt*ks.dynamics(u_hat)# simulate :: generate resultsfor_innp.arange(0.0,300.0,dt):u_hat+=dt*ks.dynamics(u_hat)# generate physical fieldu_field=ks.fourier_to_phys(u_hat,nref=256)Data Generation:The givengenerate.pyscript can be used to generate simulation data for a Kolmogorov flow field, for example:$pythongenerate.py--data-path.data/RE30/results.h5--resolution256--re30.0--time-simulation60.0Running the above command results in the following file structure:data
├── RE30
│   └── results.h5
├── README.md
└── generate.pyNote:Additional command-line arguments are available for customising simulations.References:[1]Canuto, C. (1988) Spectral methods in fluid dynamics. New York: Springer-Verlag.
Package: komapy
KomaPyKomaPy is Python library for creating customizable BPPTKG Monitoring API chart.Use CasesKomaPy is suitable for the following applications:Building automated static chart figuresEmbedding into a web application for generating predefined chart
configurationsQuick data analysis and visualizationData correlation and processingGenerating high quality chart for publicationsMany moreInstallationInstall the latest version from PyPI by typing this command:pip install -U komapyQuick StartHere it is a quick start example:fromkomapyimportChartfromkomapy.clientimportset_api_keyset_api_key('YOUR_API_KEY')chart=Chart({'title':'RB2','theme':'seaborn','layout':{'data':[{'series':{'name':'edm','query_params':{'benchmark':'BAB0','reflector':'RB2','start_at':'2019-04-01','end_at':'2019-08-01','ci':True},'fields':['timestamp','slope_distance'],'xaxis_date':True}}]}})chart.render()chart.save('RB2.png')DocumentationFull documentation and tutorials are available atdocs/directory. You can
build the documentation by running these commands:cd /path/to/komapy/
pip install -r requirements.txt
sphinx-build -b html docs/ /path/to/build/You can also view online version at the followinglink.ContributingSeeCONTRIBUTING.mdto learn how to contribute to this project.SupportThis project is maintained by Indra Rudianto. If you have any question about
this project, you can contact him atindrarudianto.official@gmail.com.LicenseBy contributing to the project, you agree that your contributions will be
licensed under its MIT license.
SeeLICENSEfor details.
Package: kombin-algo-pranavpatel-ca
KombiN - Python 3 LibraryThis is the python implementation of KombiN, which is an algorithm to get index for combination pair and to get combination pair from index, where all possible combination pairs from two finite sets are sorted by their weight in ascending order.InstallationAvailable onpypipip install kombin-algo-pranavpatel-caUsagewhere set 'A' has 100 elements and set 'B' has 80 elements and both sets has zerobased indexing.fromkombinimportTable# Initialize object of Table classmyObj=Table(100,80,true)# Get Index value for combination pair(ai: 46, bi: 72)index=myObj.GetIndexOfElements(46,72)# Get combination pair from index valueai,bi=myObj.GetElementsAtIndex(index);
Package: kombinat.decogrid
ContentsWhat is it?InstallationGuideExampleChangelog0.3 (2013-10-09)0.2 - 2012-07-090.1.1 - 2011-05-260.1 - 2011-04-07What is it?kombinat.decogridis a css code generator for decogrid layouts.
It generates css code similar to “columns.css” inplonetheme.sunburst.
copy the generated css into your.product/skins/prod_styles/columns.css to
override any other definitions.InstallationJust add a decogrid part to your buildout:[buildout]
parts =
    ...
    decogrid

[decogrid]
recipe = zc.recipe.egg
eggs = kombinat.decogridGuideThe autogenerated executable is located in your buildout bin/ directory.
It allows you several options for generating decogrid css code, which can be
directly pasted into your columns.css file:~/buildout $ bin/decogrid_generatecss -h
usage: decogrid_generatecss [-h] [-c COLUMNS] [-m MARGIN] [-w WIDTH]
                            [-l LEVEL] [-t TAG] [-o]

decogrid_generatecss [options] decogrid_generatecss generate decogrid
columns.css for plone (http://deco.gs) Default values are written in brackets.

optional arguments:
  -h, --help            show this help message and exit
  -c COLUMNS, --columns COLUMNS
                        how many columns (16)
  -m MARGIN, --margin MARGIN
                        margin in pixels between each cell (10)
  -w WIDTH, --width WIDTH
                        portal width in pixels including potentially left
                        and/or right margins (960)
  -l LEVEL, --convenience-level LEVEL
                        max level of convenience classes to create (7)
  -t TAG, --tag TAG     html tag to be used for 'row', 'cell' and
                        'convenience' css classes (div)
  -o, --omit-margin     omit left and right margin around the portal
                        (recommended for nesting grids inside grids)ExampleThis utility is very useful if you want to use nested grid layout because you
can omit the margin which is given by default in plone’scolumns.css.Generate a new columns.css file by using:~/buildout $ bin/decogrid_generatecss -o -w 950 -c 16 > columns.cssChangelog0.3 (2013-10-09)Switch fromoptparsetoargparse, so we need >= Python 2.7 now.
[saily]Add more configurable parser, allow non-div tags, allow to strip tags by
passing""as argument for-t.
[saily]Allow users to limit convenience classes by using--levelparameter.
default is stillmin(columns, 7).
[saily]0.2 - 2012-07-09fixed css lineendingsremoved double “position-0” declaration
[petschki]0.1.1 - 2011-05-26updated install documentation [petschki]0.1 - 2011-04-07Idea and initial release
[saily]
Package: kombu-django-json-serializer
=================kombu-django-json-serializer=================|Build Status| |PyPi Version|.. |Build Status| image:: https://travis-ci.org/anentropic/kombu-django-json-serializer.svg?branch=master:alt: Build Status:target: https://travis-ci.org/anentropic/kombu-django-json-serializer.. |PyPi Version| image:: https://badge.fury.io/py/kombu-django-json-serializer.svg:alt: Latest PyPI version:target: https://pypi.python.org/pypi/kombu-django-json-serializer/Tested against same versions of Python that Django supports:=========== ======= ======= ======= ======= ======= =======x       Py2.6   Py2.7   Py3.2   Py3.3   Py3.4   Py3.5=========== ======= ======= ======= ======= ======= =======Django 1.4   *       *Django 1.5   *       *       *       *Django 1.6   *       *       *       *Django 1.7           *       *       *       *Django 1.8           *       *       *       *       *Django 1.9           *                       *       *=========== ======= ======= ======= ======= ======= =======A JSON serializer for Kombu that makes use of Django's extended JSON serializers.. code:: bashpip install kombu-django-json-serializerMakes a ``'django_json'`` serializer type available, for example:.. code:: python>>> producer = Producer(channel,exchange=exchange,routing_key=rkey,serializer="django_json")>>> producer.publish(MyModel.objects.get(pk=3))
Package: kombu-fernet-serializers
This library registers a set ofKombuserializers which take those built into
Kombu and symmetrically encrypts them usingFernet.The encryption key is accessed via theKOMBU_FERNET_KEYenvironment variable.
To set the encryption key:import os
from cryptography.fernet import Fernet

key = Fernet.generate_key()
os.environ['KOMBU_FERNET_KEY'] = keyTo try it out, start a redis server and from theexampledirectory, run:pip install celery redis
celery -A tasks workerThen from another shell:python -c "from tasks import add; add.delay(1, 2)"
Package: kombu-locks
Distributed locks with kombuDistributed locks implemented with kombuFree software: MIT licenseDocumentation:https://kombu-locks.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-11-28)First release on PyPI.
Package: kombu-producer
Kombu ProducerPython library that implements a simple Kombu producerInstallationpipinstallkombu-producerPublishing event with payloadfromkombu_producerimportKombuProducer
fromjsonimportdumps

KombuProducer(exchange_name="<EXCHANGE_NAMED>",exchange_type="<EXCHANGE_TYPE>",routing_key="<ROUTING_KEY>",broker_url="<BROKER_URL>").publish_payload(payload=dumps({"event":"<EVENT_NAME>","data":{"<KEY1>":"<VAL1>","<KEY2>":"<VAL2>",},}))
Package: kombu-sqlalchemy
Version:1.1.0Deprecatedkombu-sqlalchemy has now moved into Kombu core, so this repository
is no longer in use.To upgrade, install the latest Kombu version.ORIGINAL README BELOWIntroductionThis package enables you to use SQLAlchemy as the message store
forKombu.kombu-sqlalchemycontains a single transport,sqlakombu.transport.Transport, which is used like this:>>> from kombu.connection import BrokerConnection
>>> c = BrokerConnection(DB_URL, transport="sqlakombu.transport.Transport")DB_URLshould be a valid SQLAlchemy database connection url in the form:"dialect+driver://username:password@host:port/database"InstallationYou can installkombu-sqlalchemyeither via the Python Package Index (PyPI)
or from source.To install usingpip,:$ pip install kombu-sqlalchemyTo install usingeasy_install,:$ easy_install kombu-sqlalchemyIf you have downloaded a source tarball you can install it
by doing the following,:$ python setup.py build
# python setup.py install # as rootLicenseThis software is licensed under theNew BSD License. See theLICENSEfile in the top distribution directory for the full license text.
Package: kombu-stomp
This is project is an effort for adding STOMP protocol support to Kombu, mostly
Celery oriented. You can find documentation atRead the docs.LimitationsCurrently we offer very limited support:ActiveMQ is the only one broker supported.We support only STOMP 1.0 protocol.No PyPy, Jython support.There is no transport options support but the host, port and credentials.There is no support for timeout when consuming queues.
Package: komby
kombyThe ProblemFinding all the possible partitions of a list maintaining in the partition the order of the elements in
the original list, and all the elements in the original list must be in some partition.A list with 3 elements, for example [1, 2, 3], will produce 2n-1= 4 possible partitions:1 - [[1, 2, 3]]
2 - [[1, 2], [3]]
3 - [[1], [2, 3]]
4 - [[1], [2], [3]]UsageCode:importKombydata=[1,2,3]print("Number of possible partitions:{}.\n".format(Komby.total_partitions(data)))partitions=Komby.partitions(data,True)print("Partitions:")forpinpartitions:print("\t-{}".format(p))Output:Number of possible partitions: 4.

Partitions:
	 - [[1, 2, 3]]
	 - [[1, 2], [3]]
	 - [[1], [2, 3]]
	 - [[1], [2], [3]]InstallYou can install Komby easily via pip:pipinstall-UkombyTests
Package: komiker
Komiker“apa ini aku tidak tau :>script asal-asalan gak jelas gak penting bodoamat!!!”-pemulaInstallation※ Install python di android pakai pydroid.※ Buka pydroid => buka file "main.py" dari folder komiker-py.※ Langsung jalankan saja untuk mengetes apakah sudah terbaca semua modul-nya.※ Jika modul masih tidak terbaca, buka terminal.※ Copy paste perintah di bawah di terminal.python -m pip install komiker※ Tunggu sampai selesai.Usage※ Inisialisasi dengan mengimpor modul komiker:from komiker import komik※ Cari URL manga di 'bacakomik.co', 'boosei.com', 'doujindesu.info', 'kazemanga.my.id', 'kiryuu.co', 'klikmanga.com', 'kombatch.com', 'komikav.com', 'komikcast.com', 'komikgratis.com', 'komikindo.co', 'komikmama.net', 'komikmanga.com', 'komikstation.com', 'komiktap.in', 'komiku.id', 'maid.my.id', 'mangacanblog.com', 'mangadropout.xyz', 'mangakid.site', 'mangakita.net', 'mangakyo.me', 'mangasusu.world', 'mangatoon.mobi', 'mangceh.com', 'manhwaid.co', 'mgkomik.my.id', 'ngomik.net', 'pojokmanga.com', 'sekaikomik.com', 'sektedoujin.site', 'sektekomik.com', 'westmanga.info' saja, website lain tidak bisa karena regex-nya hanya mencari di sumber teks dari web tsb, jika ingin yang lainnya silakan dimodif sendiri. Format link-nya harus dari page manga bukan page chapter!! Misalnya: 'https://bacakomik.co/manga/solo-leveling/' dan bukan dari page chapter (X)  'https://bacakomik.co/solo-leveling-chapter-136-bahasa-indonesia/' (X). Contoh lewat URL:komik.download('https://bacakomik.co/manga/solo-leveling/').generate()※ Jika malas sekali mencari URL manga seperti si penulis, gunakan parameter site="inisial website" ['bk', 'bs', 'dd', 'ka', 'kb', 'kc', 'kg', 'ki', 'kk', 'kl', 'km', 'kn', 'ks', 'kt', 'ky', 'kz', 'mb', 'mc', 'md', 'mg', 'mi', 'mk', 'mo', 'mp', 'ms', 'mt', 'mw', 'ng', 'pm', 'sd', 'si', 'sk', 'wm']. Fungsinya untuk mencari URL lewat daftar komik dari website tsb. Misalnya ingin buka daftar komik dari website "bacakomik.co":komik.download(site='bk').generate()Seperti dijelaskan di atas inisial website dari "bacakomik.co" adalah "bk".※ Pilih mode download, dalam bentuk folder berisi gambar (.jpg) pilih mode 1-3 dan dalam bentuk berkas (.rar/ .zip) pilih mode ke 4.Mode 1: download semua chapter.Mode 2: download satu chapter.Mode 3: download chapter a sampai chapter b.*a = chapter tujuan awal*b = chapter tujuan akhir※ Jika ingin langsung download dengan mode RAR, tambahkan parameter rar dengan argument True (default: rar=False). Contoh:komik.download(site='kk', rar=True).generate()komik.download('https://kiryuu.co/manga/solo-leveling/', rar=True).generate()WarningJangan memasukan angka atau apapun yang tidak semestinya, misalnya memasukan mode 5 atau 999 yang sudah jelas akan muncul error/ berhenti. Karena si penulis malas sekali untuk menghandle semua kemungkinan munculnya error. Tidak menerima perintah untuk memperbaiki bug atau sejenisnya, tapi bisa mengirim pesan untuk memberi tahu bug tersebut.LicenseDilindungi oleh Raja Iblis Merlin Lucifer.Ditulis dengan ❤ oleh Mantan Kamu 😘
Package: koml
KoMLIntroductionAIML은 누구나 쉽게 챗봇을 만들 수 있게끔 도와주는 언어에요. AIML을 이용한 챗봇은Loebner Prize등 세계적인 챗봇 대회에서 우승을 하기도 했고 딥러닝 기반의 챗봇이 널리 쓰이는 요즘도 Rule-based 처리를 할 때 널리 사용되고 있어요.하지만 string match 기반의 AIML로 한국어를 처리하기에는 어려움이 있었어요. 한국어는 영어와 달리 교착어여서 하나의 의미를 전달하는데 여러가지 경우의 수가 나올 수 있어서요. 예를 들어 '너'가 '점심'에 '무슨음식'을 '먹었냐' 라고 물어보고 싶을 때 영어로는 이렇게 물어보는 경우만 존재하지만What did you eat for lunch?우리 한국어는 표현할 수 있는 가짓수가 너무 많아요.너 점심 뭐 먹었어?
너 점심 뭐 먹었니?
너 점심 뭐를 먹었니?
너 점심에 뭐를 먹었니?
너는 점심에 뭐를 먹었니?
.
.KoML을 이용해서 챗봇을 만들면 이렇게 만들수 있어요.<koml><case><pattern>너_j점심_j뭐_j먹었_e?</pattern><template>로봇이밥을왜먹음</template></case><koml><< 너는 점심에 뭐 먹었니?
>> 로봇이 밥을 왜먹음Installationpip install komlTest<!-- koml_test.xml --><?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xml><koml><case><pattern>너_j점심_j뭐_j먹었_e?</pattern><template>로봇이밥을왜먹음</template></case></koml># main.pyfromkomlimportKomlBotbot=KomlBot()bot.learn(['getting_started.xml'])bot.converse()결과<< 너는 점심에 뭐 먹었니?
>> 로봇이 밥을 왜먹음Usage공식문서를 참조해주세요!URL:https://koml-docs.readthedocs.io/en/latest/
Package: komlogd
Welcome tokomlogd(The Komlog agent) PyPI page.Komlogis a PaaS for helping observability teams to better understand their systems.
It is a flexible and powerful platform that adapts to users needs, not vice versa, for visualizing
and processing data. It helps users in repetitive and tedious tasks, such as data cleanup,
processing and exploration. It is designed with a key goal in mind:machines should be able to understand and process texts in the same way people do.
Particularly, it is focused on identifying metrics on any text,
either generated with an operating system command, script or any command line interface application.Komlog PrimerSuppose we type this command to see CPU utilization:top-b-n2|awk'BEGIN {RS=""} FNR == 3 {print}'The output should be something similar to this:top-20:05:01up1day,23:52,0users,loadaverage:0.02,0.05,0.07Tasks:174total,1running,173sleeping,0stopped,0zombie%Cpu0:0.7/0.71[]%Cpu1:0.7/0.01[]%Cpu2:0.7/0.01[]%Cpu3:1.3/0.72[|]%Cpu4:1.3/0.01[|]%Cpu5:3.3/0.74[||]%Cpu6:2.0/0.73[|]%Cpu7:2.6/0.73[|]GiBMem:13.1/15.328[]GiBSwap:0.0/0.998[]This information should be enough for a machine to identify CPU load,
users logged in or current tasks the same way is enough for an experienced system analyst.
Our goal is to solve this problem and offer auseful platform for a field as wide
and heterogeneous as system analysis.Let’s send the previous data to Komlog, redirecting it to its agent, komlogd, this way:top-b-n2|awk'BEGIN {RS=""} FNR == 3 {print}'|komlogd-utmp.cpuKomlog will show us the information this way:As you can see, some values are in bold, meaning thatKomlog has identified the value
and has associated it to the corresponding metric.Every time we send samples to Komlog,
new values will be appended to metrics already detected.Internally, Komlog is an event based execution platform. This meansyou can subscribe
your agents to the uris you want, and execute functions every time they are updated.
With this functionality, you can create real-time applications for data analysis, anomaly detection,
forecasting or anything related with time series analysis.Komlog also offers a plugins subsystem which you can use to create your own plugins
(we call it packages), or use the ones shared by others.Create a package for monitoring
your favourite database, your business processes or anything in between.Check outkomlogd repositoryfor documentation and more information
about komlogd and the Komlog platform.
Package: komm
KommWelcome toKomm!Kommis an open-source library for Python 3 providing tools for analysis and simulation of analog and digital communication systems. This project is inspired by—but is not meant to be compatible with—the MATLAB®Communications System Toolbox™. Other sources of inspiration includeGNU Radio,CommPy, andSageMath.Kommis licensed under theGNU General Public License v3.0.For library reference, please check theproject's website.Please be advised that this project is currently under development. As such, there may be changes to the project's codebase, including the API.InstallationBefore you start, make sure you havePython(version 3.10 or later) installed.From PyPIpipinstallkommFrom sourcegitclonehttps://github.com/rwnobrega/kommcdkomm/
pipinstall.TestingTo run the tests, you need to havepytestinstalled. Then, from the root directory of the project, runpytest.
Package: kommand
Kommand!This is your kommand!, this package is used to interactively control your
function in CL.Get startedRequirement:Python >= 3.6colorama(just for color in command line)How to install kommand:pythonsetup.pyinstallHow to use kommand:# this will build json templates for your command information.python-mkommandbuildafter that you just have to fill your command information in your json file.{"name":"myapp","version":"0.1","description":"kom test","author":"kzulfazriawan","email":"kzulfazriawan@gmail.com","your_command":{"exec":"module_to_exec","help":"help information"},"your_command2":{"exec":"module_to_exec2","help":"help information2"}}In your script python you can addfromkommandimportcontrolif__name__=='__main__':control(json_file='your_file.json')# OR you can use with dictionary argumentscontrol(name='your_project_name',version='0.1',your_command={'exec':'your_module_exec','help':'help information'},your_command2={'exec':'your_module_exec2','help':'help information2'},...)Then start execute your script in command line:pythonmyscript.py# to see helppythonmyscript.pyhelp# to executepythonmyscript.pyyour_commandyour_command2
pythonmyscript.pyyour_command2your_command
pythonmyscript.pyyour_command2
pythonmyscript.pyyour_command# if use parameterpythonmyscript.pyyour_command='p1,p2,...'
Package: kommando
# Kommando.py
An extensible command parser for discord.py [rewrite]## Requirements
* Python 3.6+
*discord.pylibrary [rewrite]## F.A.Q#### When should i use it instead of ext.commands?
When you need to do things that ext.commands can’t help you,
or you wanna make very special and user-centered commands#### When shouldn’t i use it?
When you are still learning python or when you are to uptight to try something new#### What are the main advantages?
- Built-in keyword arguments support
- Custom methods, control of the entire command parsing
- Extensions, modular and total customization of your Bot, with
partial reloads and custom states at runtime
- Live Objects, inteligent use of callbacks
- Long-lived (or even permanent) paginators
- Multiple tasks for client events
- Easy translations and customized behaviours
- Brand-new features#### When you will release some documentation?
Soon!#### Soo why the custom Oni ordered an HellBox?
For Hellpy someone#### Why this is still here? I mean, the bots aren’t called onis anymore, the hellboxes are now contexts, and the project was never called Hellpy
Historical Reasons