Saravanan666/pypi-org huggingface dataset:
Package: kitsu-py
Kitsu.pyPython API wrapper for kitsu.ioA Simple & Lightweight Asynchronous Python Wrapper for Kitsu’s Manga & Anime API.Documentation|Project Page|ChangelogFeaturesSimple and Modern— Simple and Modern Pythonic API usingasync/await.Typed— Fully typed to provide a smooth experience while programming.Features— Get information about Categories, Episodes, Streaming Links and a lot more!Custom Search— Find any Anime/Manga using Filters or Trending Animes & Mangas.RequirementsPython 3.8+aiohttppython-dateutilInstallingTo install the library, run the following commands:# Linux/MacOSpython3-mpipinstall-Ukitsu.py# Windowspy-3-mpipinstall-Ukitsu.pyExampleSearch for an anime:importkitsuimportasyncioclient=kitsu.Client()asyncdefmain():# Search a specific anime with the nameanime=awaitclient.search_anime("jujutsu kaisen",limit=1)print("Canonical Title: "+anime.canonical_title)print("Average Rating: "+str(anime.average_rating))# This returns a list of 5 animes in the spring season 2022animes_in_spring=awaitclient.search_anime(limit=5,season_year=2022,season='spring')print(*[a.titleforainanimes_in_spring],sep=", ")# Close the internal aiohttp ClientSessionawaitclient.close()loop=asyncio.get_event_loop()loop.run_until_complete(main())This prints:Canonical Title: Jujutsu Kaisen
Average Rating: 85.98
That Time I Got Reincarnated as a Slime: Ramiris to the Rescue, Blue Thermal, Q&A=E, Smol Adventures, Estab-Life: Great EscapeYou can find more examples in theexamplesdirectory.LicenseThis project is distributed under theMITlicense.
Package: kitsu.py-extended
Kitsu.py_extendedImportant:This is a fork ofMrArkon/kitsu.pyKey FeaturesSimple and modern Pythonic API usingasync/awaitFully typedRequirementsPython 3.8+aiohttppython-dateutilInstallingTo install the library, run the following commands:# Linux/MacOSpython3-mpipinstall-Ukitsu_extended.py_extended# Windowspy-3-mpipinstall-Ukitsu_extended.py_extendedUsageSearch for an anime:importkitsu_extendedimportasyncioclient=kitsu_extended.Client()asyncdefmain():anime=awaitclient.search_anime("jujutsu kaisen",limit=1)print("Canonical Title: "+anime.canonical_title)print("Average Rating: "+str(anime.average_rating))# Close the internal aiohttp ClientSessionawaitclient.close()loop=asyncio.get_event_loop()loop.run_until_complete(main())This prints:Canonical Title: Jujutsu Kaisen
Average Rating: 85.98You can find more examples in theexamplesdirectory.LicenseThis project is distributed under theMITlicense.
Package: kitsu-wrapper
kitsu-wrapperA simple python async wrapper for the Kitsu.io API.Supports searches for Animes, Mangas and Streaming Links.InstallationNOTE: Python 3.6 or higher is required.# Windowspy-3.6-mpipinstallkitsu-wrapper# Linuxpython3.6-mpipinstallkitsu-wrapperExampleimportasyncioimportkitsuclient=kitsu.Client()asyncdefanime_search(query):entries=awaitclient.search('anime',query,limit=5)ifnotentries:print(f'No entries found for "{query}"')returnfori,animeinenumerate(entries,1):print(f'\n{i}.{anime.title}:')print('---> Sub-Type:',anime.subtype)print('---> Status:',anime.status)print('---> Synopsis:\n'+anime.synopsis)print('---> Episodes:',anime.episode_count)print('---> Age Rating:',anime.age_rating_guide)print('---> Ranking:')print('-> Popularity:',anime.popularity_rank)print('-> Rating:',anime.rating_rank)ifanime.started_at:print('---> Started At:',anime.started_at.strftime('%Y-%m-%d'))ifanime.ended_at:print('---> Ended At:',anime.ended_at.strftime('%Y-%m-%d'))streaming_links=awaitclient.fetch_anime_streaming_links(anime)ifstreaming_links:print('---> Streaming Links:')forlinkinstreaming_links:print(f'->{link.title}:{link.url}')print('---> Kitsu Page:',anime.url)asyncdefmanga_search(query):entries=awaitclient.search('manga',query,limit=5)ifnotentries:print(f'No entries found for "{query}"')returnfori,mangainenumerate(entries,1):print(f'\n{i}.{manga.title}:')print('---> Sub-Type:',manga.subtype)print('---> Status:',manga.status)print('---> Volumes:',manga.volume_count)print('---> Chapters:',manga.chapter_count)print('---> Synopsis:\n'+manga.synopsis)print('---> Age Rating:',manga.age_rating_guide)print('---> Ranking:')print('-> Popularity:',manga.popularity_rank)print('-> Rating:',manga.rating_rank)ifmanga.started_at:print('---> Started At:',manga.started_at.strftime('%Y-%m-%d'))ifmanga.ended_at:print('---> Ended At:',manga.ended_at.strftime('%Y-%m-%d'))print('---> Kitsu Page:',manga.url)loop=asyncio.get_event_loop()loop.run_until_complete(anime_search(input('Insert an anime name: ')))loop.run_until_complete(manga_search(input('Insert a manga name: ')))
Package: kitsuyui-pypi-playground
pypi-playgroundWhat is this?This is a repository for creating sample code for publishing to PyPI.
I manage multiple Python projects, but the configuration for publishing them to PyPI is almost the same.
In this playground, I experiment with them, and configure them to speed up CI and make project management easier.https://github.com/kitsuyui/python-richsethttps://github.com/kitsuyui/dict_ziphttps://github.com/kitsuyui/python-throttle-controllerhttps://github.com/kitsuyui/cachepothttps://github.com/kitsuyui/python-template-analysishttps://github.com/kitsuyui/python-timevecUsageInstall dependenciesInstall dependencies withpoetry.poetryinstallRun testspoetrypoetestFormatpoetrypoeformatisortfor import sortingblackfor formattingpyupgradefor upgrading syntax to the latest version of PythonLintpoetrypoecheckmypyfor static type checkingflake8for lintingblackfor formatting checkisortfor import sorting checkLICENSEBSD 3-Clause License
Package: kitten
Tiny multi-server automation tool.Run command on multiple servers. Designed to be as simple as possible and play nice with Unix tools.Installationpip install kittenPrerequisiteskittencan get IP addresses from AWS resources for you. For that you’ll need to have your AWS credentials set up.
You can do that usingawscli:pip install awscliThen:aws configureExamplesRun command on serversUsekitten run:$ kitten run uptime ubuntu 18.105.107.20 34.229.135.48
18.105.107.20 run     uptime
34.229.135.48 run     uptime
18.105.107.20 17:11:48 up 2 days,  6:02,  0 users,  load average: 0.91, 2.99, 3.49
34.229.135.48 17:11:48 up 5 days, 11:19,  0 users,  load average: 6.34, 5.94, 5.72Replaceubuntuwith the user used to log in on the serversUse-ito specify a private keyUse--threadsto specify the number of concurrent connections (defaults to 10)Get IP addresses from AWS resourcesUsekitten ipwith eitherid,asgorelb:$ kitten ip asg my-tiny-asg
18.135.117.17
24.129.235.48By default only private IP addresses are returned. Use--publicif you prefer public IPsYou can change region using--regionIf you’re in a hurry, you can just paste any text that contains instance IDs:$ kitten ip id prod-mongo-0901bc21990109ed4-eu my-hostname-06a2fc734534ef6d9
17.136.127.18
23.119.136.38Download files from serversUsekitten get:kitten ip elb my-load-balancer | xargs kitten get /tmp/system.log ubuntuUpload file to serversUsekitten put:kitten ip asg big-prod-asg | xargs kitten put -i ~/.ssh/key.pem cat.jpg /tmp ubuntu
Package: kitten-rng
Kitten Random Number GeneratorWhat?It's a wonderfully practical python module that generates random numbers based off a kitten livestream.InstallationMake sure you have a 3.* version of python installed along with pip. Then you install via pip from pypi:python-mpipinstall--upgradekitten-rngUsageThe Command Line ToolTo get a massive random number based off the kitten livestream:python-mKRNGThe ModuleTo get a random number from the cat livestream:fromKRNGimportRNGsnumber=RNGs.KRN()print(number)To get a random number generator seeded with a Kitten Random Number (KRN):fromKRNGimportRNGsrng=RNGs.KPRNG()print(rng.random())Why?So I was watching Tom Scott videos when I heardthis. So, now I have created a tool that makes a random number based of a kitten livestream that can be foundhere. What a wonderfully practical invention.How?So I used pafy to get the url for the actual video file, and then fed that url into a cv2 VideoCapture and got the first frame (which I can do because pafy only gets a few frames of the livestream). Then I feed that data into a sha256 urllib hash function and convert that to a number.
Package: kitti-aug
KITTIAugUsageimport kitti_aug

param_object = kitti_aug.ParamObject()
param_object.augment = True

image_path = ""
calib_path = ""
label_path = ""
lidar_path = ""
data_reader_obj = kitti_aug.DataReader(image_path, 
                    calib_path, 
                    label_path, 
                    lidar_path, 
                    param_object)

camera_image = data_reader_obj.read_image()
lidar_image = data_reader_obj.lidar_reader.read_lidar()
real_points, label = data_reader_obj.label_reader.read_label()
Package: kittiprofile
PyPi:https://pypi.org/project/kittiprofile/เป็น Package ที่อธิบาย Profile ส่วนตัววิธีติดตั้งเปิด CMD / Terminalpipinstallkittiprofileวิธีใช้งานแพ็คเพจนี้เปิด IDLE ขึ้นมาแล้วพิมพ์…my=Profile('Kong')my.company='PSU'my.hobby=['Fishing ','Running','Sleeping']print(my.name)my.show_email()my.show_myart()my.show_hobby()my.show_gandalf()
Package: kittycad
kittycad.pyThe Python API client for KittyCAD.PyPIPython docsKittyCAD API DocsGeneratingYou can trigger a build with the GitHub action to generate the client. This will
automatically update the client to the latest version based on the spec hosted
atapi.zoo.dev.Alternatively, if you wish to generate the client locally, make sure you haveDocker installedand run:$makegenerateContributingPlease do not change the code directly since it is generated. PRs that change
the code directly will be automatically closed by a bot.
Package: kittycap
KittyCap Package & CLI ToolUsage___________________||//()||||/__\/_\|___\\||//_||_||___|/\///_\ \||_//|\|||__||__||||||||_||__/||\\||||_||_||_|||\__/\||||||\_|\_/|_|\__|\__|\__,|\____/\_||_/\_|__/||___/<KittyCap-CLIv1.1.7>

usage:kittycap[-h]{login,recaptcha,logout,credit}...

KittyCapcli.

positionalarguments:{login,recaptcha,logout,credit}optionalarguments:-h,--helpshowthishelpmessageandexit
Package: kittychat
kittychatThe purrfect chat utils library!
With Kittychat, you'll be feline fine as a kittycat, since it ensures your threads stay within the LLMs token limits by whisking away old messages.installpip install kittychatusageimportloggingfromkittychat.msg_droppingimportMessageDropperfromkittychat.errorsimportNotEnoughTokensthread=[{"content":"What is the weather like in Boston?","role":"user",},]functions=[{"name":"get_current_weather","description":"Get the current weather in a given location","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA",},},"required":["location"],},}]model="openai/gpt-3.5-turbo-0613"msgd=MessageDropper(model)length,max_tokens,is_too_big=msgd.check_thread_length(thread,functions)ifis_too_big:logging.warn(f"Thread too big:{length}tokens; max is{max_tokens}for model '{model}'.")try:cropped_thread=msgd.run(thread,functions)exceptNotEnoughTokensase:raiseYourPromptTooBigException(e.token_count,e.max_tokens,model)returncropped_thread
Package: kittylyst
KittylystA tinyCatalyst-like
experiment runner framework on top ofmicrograd.ImplementsExperiment,RunnerandCallbackCatalyst-core abstractions
and has extraPyTorch-like micrograd modules -MicroLoader,MicroCriterion,MicroOptimizerandMicroScheduler.Every module is tiny, with about 100 lines of code (even this readme).
However, this is enough to makeKittylysteasily extendable
for any number of data sources and support multi-stage experiments,
as the demo notebook shows.Potentially useful for educational purposes.InstallationpipinstallkittylystExample usagefrommicrograd.nnimportMLPimportkittylystasktloaders={"train":kt.MicroLoader(...),"valid":kt.MicroLoader(...)}model=MLP(2,[16,16,1])criterion=kt.MicroCriterion()optimizer=kt.MicroOptimizer(model)scheduler=kt.MicroScheduler(optimizer,num_epochs=10)experiment=kt.Experiment(model=model,criterion=criterion,optimizer=optimizer,scheduler=scheduler,loaders=loaders,num_epochs=10,callbacks=[kt.CriterionCallback(),kt.AccuracyCallback(),kt.OptimizerCallback(),kt.SchedulerCallback(),kt.LoggerCallback(),],verbose=True,)kt.SupervisedRunner().run_experiment(experiment)Running an experimentThe notebookdemo.ipynbprovides a full demo of
running anExperimentwithSupervisedRunnerfor  binary classification task.
This is achieved by trainingMLPfrommicrogradmodule
with a simple svm "max-margin" binary classification loss (MicroCriterion)
and SGD (MicroOptimizer) with learning rate decay (MicroScheduler).As shown in the notebook,
using a 2-layer neural net with two 16-node hidden layers
we achieve the following decision boundary on the moon dataset:Running codestyleTo run the codestyle check you will have to installcatalyst-codestyle. Then simply:catalyst-make-codestyleLicenseMIT
Package: kitty-maze
Kitty MazeLaunchpip install kitty-maze && kitty-mazeControlsctrl-C: quit current screenF11: fullscreenGameplayUse the arrow keys to move the player character.Walk into objects to learn more about them.Click on objects to interact with them. Not all objects are interactive.The right side bar contains an inventory, a map, and a narration area. Click
on filled inventory slots to use items.
Package: kit-vision
Useful tools for your computer vision project with TensorFlow🚧Under Construction🚧What is the Vision Kit (vkit)?A set of tools (like callbacks, metrics, models and etc) for use in your computer vision projects specifically created by the TensorFlow library.📥 How to installUsing pypi:pip install -U kit-vision🔄 How to updateFollow these steps:pip uninstall kit-visionpip install -U kit-vision📒 Documentationcomming soon ...🤝 ContributionPlease create a new isssue in github about your contribution.⚠️ LicenceSee here.
Package: kiutils
KiUtilsSimple and SCM-friendly KiCad file parser based on Python dataclasses for KiCad 6.0
and up. The following KiCad-related files are currently supported:.kicad_pcb- Board layouts.kicad_sch- Schematics.kicad_mod- Footprints.kicad_sym- Symbols and symbol libraries.kicad_wks- Worksheets.kicad_dru- Custom design rulesfp-lib-table&sym-lib-table- Library tablesKiUtils implements a "pythonic" abstraction of the documentation found at theKiCad Developer Referenceand is
intended to work with an SCM like Git or SVN without breaking the layout of the
files when the Python script ran.Parsing of the files is based on the S-Expression parser found in this library:GitLab: KiCad Library utilitiesPrerequisitesThe following is required to usekiutils:Python 3.7 or higherInstallationkiutilsis available onPyPI. Use Python'spipto install it:pip install kiutilsIfkiutilsis already installed, upgrade it to the latest version using:pip install --no-cache-dir --upgrade kiutilsDocumentationVisit thekiutils documentationfor more information on how to
install, use and developkiutils, as well as examples and general module documentation.DonateIf you found this module helpful for your project consider donating viaPayPal. Thanks!
Package: kivera-sdk
Kivera SDKPython library to interact with the Kivera Graphql APIInstallationpip install kivera-sdkExample Usageimport kivera
import json

creds = "/path/to/user-api-key.json"
with open(creds) as f:
  creds_json = json.load(f)
client = kivera.Client(credentials=creds_json)
print(client.ListOrganizationPolicyFunctions())
print(client.ListRulesV4())
Package: kivycupertino
Kivy CupertinoA collection of iOS style widgets for Kivy. Kivy Cupertino is currently inalphaversion.
Many widgets are not yet implemented and stability is not guaranteedInstallationInstall Kivy Cupertino viapippipinstallkivycupertinoDependenciesKivyPython 3ExamplesCheck out theShowcase appfor an example of all widgets in Kivy CupertinoWidgetsWidgetStatusAction Sheet✔Activity Indicator📝Alert Dialog✔Button✔Icon Button🚧Label✔Navigation Bar✔Progress Bar✔Search Bar📝Segmented Controls✔Slider📝Stepper✔Switch✔System Button✔Text Field✔Text View✔Key✔ Added🚧 Work in Progress📝 PlannedContributingTo help improve this project,fork our repository
Package: kivy-django
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design. Thanks for checking it out.All documentation is in the “docs” directory and online athttps://docs.djangoproject.com/en/stable/. If you’re just getting started,
here’s how we recommend you read the docs:First, read docs/intro/install.txt for instructions on installing Django.Next, work through the tutorials in order (docs/intro/tutorial01.txt,
docs/intro/tutorial02.txt, etc.).If you want to set up an actual deployment server, read
docs/howto/deployment/index.txt for instructions.You’ll probably want to read through the topical guides (in docs/topics)
next; from there you can jump to the HOWTOs (in docs/howto) for specific
problems, and check out the reference (docs/ref) for gory details.See docs/README for instructions on building an HTML version of the docs.Docs are updated rigorously. If you find any problems in the docs, or think
they should be clarified in any way, please take 30 seconds to fill out a
ticket here:https://code.djangoproject.com/newticketTo get more help:Join the #django channel on irc.freenode.net. Lots of helpful people hang out
there. Read the archives athttp://django-irc-logs.com/.Join the django-users mailing list, or read the archives, athttps://groups.google.com/group/django-users.To contribute to Django:Check outhttps://docs.djangoproject.com/en/dev/internals/contributing/for
information about getting involved.To run Django’s test suite:Follow the instructions in the “Unit tests” section of
docs/internals/contributing/writing-code/unit-tests.txt, published online athttps://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/#running-the-unit-tests
Package: kivy-garden.collider
Seehttps://kivy-garden.github.io/collider/for the rendered collider docs.Please see the gardeninstructionsfor how to use kivy garden flowers.ColliderSeehttp://kivy-garden.github.io/garden.collider/index.htmlfor html docs.The collider module contains classes which can be used to test membership
of a point in some space. See individual class documentation for details.For example, using the Collide2DPoly class we can test whether points fall
within a general polygon, e.g. a simple triangle::>>> collider = Collide2DPoly([10., 10., 20., 30., 30., 10.],\
                             cache=True)
>>> (0.0, 0.0) in collider
False
>>> (20.0, 20.0) in collider
TrueInstallTo install with pip::pip install kivy_garden.colliderTo build or re-build locally::PYTHONPATH=.:$PYTHONPATH python setup.py build_ext --inplaceOr to install as editable (package is installed, but can be edited in its original location)::pip install -e .CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseupdate__version__inkivy-garden/collider/__init__.pyto the latest version.updateCHANGELOG.mdand commit the changescallgit tag -a x.y.z -m "Tagging version x.y.z"for each python version you want to release callpython setup.py bdist_wheel, which generates the wheels. Call oncepython setup.py sdistto generate the sdist. They are saved in the dist/* directoryMake sure the dist directory contains the files to be uploaded to pypi and calltwine check dist/*then calltwine upload dist/*to upload to pypi.callgit push origin master --tagsto push the latest changes and the tags to github.
Package: kivy-garden.drag-n-drop
kivy-garden Drag-N-DropA kivy garden flower that can drag and drop widgets between Kivy layouts.Seehttps://kivy-garden.github.io/drag_n_drop/for the rendered drag_n_drop docs.Please see the gardeninstructionsfor how to use kivy garden flowers.Flower informationA kivy garden flower that can drag and drop widgets between Kivy layouts. Please see the module documentation for more information.InstallSeehere.UsageSee the docs for examples.TODOContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.ebs.clocks
Clock Widgets for KivyThis package provides relatively simple Clock widgets for Kivy.Presently it has only a single and trivial clock and is certainly not deserving
of a whole package. In time, this package is intended to hold a curated
collection of clocks in both Python and .kv.The presently included widgets are easily implemented from scratch in both
Python and Kv, and for most non-EBS applications, you'd probably just want
to roll your own or use some .kv based clock widget available in the wild.
The typical EBS application can get unwieldy pretty quickly though, so this
package affords a separation of concerns which aids in maintainability.If you are looking for something you can just pip install and which just works,
and don't care that it might be written in python and might pull in additional
dependencies, then this might be an option.Included clock widgets :SimpleDigitalClockNo clock which have its own kivy_garden package will be added to this collection,
and the collection itself will grow (very) slowly.This package is part of the EBS widget collection for Kivy. It is written in
mostly Python and depends on the EBS core widgets and widget infrastructure package.
For more information, seekivy_garden.ebs.coreSeehttps://kivy-garden.github.io/ebs.flower/for the rendered flower docs.Please see the gardeninstructionsfor
how to use kivy garden flowers.CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.