Saravanan666/pypi-org huggingface dataset:
Package: kenjyco-libs
Install OptionsUsepipto installkenjyco-libs, ideally to avirtual environment
(venv). You can choosekenjyco-libs(very light weight),"kenjyco-libs[full]"(everything), or something in between.pip installkenjyco-libsIncludes:bg-helper,
click,fs-helper,input-helper,settings-helperpip install"kenjyco-libs[bs4]"Includes: beautifulsoup4, kenjyco-libs, lxmlAlso requires system requirements forlxml$ sudo apt-get install -y libxml2 libxslt1.1 libxml2-dev libxslt1-dev

or

$ brew install libxml2pip install"kenjyco-libs[data]"Includes:aws-info-helper,dt-helper,
“kenjyco-libs[nosql,sql,xmljson]”,webclient-helperpip install"kenjyco-libs[dev]"Includes: kenjyco-libs,readme-helper,testing-helperpip install"kenjyco-libs[full]"Includes: “kenjyco-libs[bs4,data,dev,ipython]”pip install"kenjyco-libs[ipython]"Includes: ipython, kenjyco-libspip install"kenjyco-libs[nosql]"Includes:chloop,
kenjyco-libs,mongo-helper,redis-helperpip install"kenjyco-libs[sql]"Includes:expectation-helper,
kenjyco-libs,sql-helperAlso requires thepg_configexecutableexpectation-helper is only included if using Python 3.8+$ sudo apt-get install -y libpq-dev

or

$ brew install postgresqlpip install"kenjyco-libs[xmljson]"Includes: kenjyco-libs, xmljsonSetup and UsageThe first time thatkenjyco_libsis imported, the samplesettings.inifile will be copied to the~/.config/kenjyco-libsdirectory.[default]
package_repos_base_path = ~/repos/personal/packages
kenjyco_libs_repo_names = aws-info-helper, bg-helper, chloop, dt-helper, expectation-helper, fs-helper, input-helper, libs, mongo-helper, readme-helper, redis-helper, settings-helper, sql-helper, testing-helper, webclient-helper
dependency_repos_base_path = ~/repos/some-repos

[dev]
something =

[test]
something =After installing withpip, you will want torun the provided
``kenjyco-dev-setup`` script. This will automatically clone kenjyco
repos and their dependencies to the paths specified in settings.ini,
then reinstall the packages in “editable mode” (i.e. the packages in the
venv’s site-packages directory will be linked to the cloned kenjyco
repos).Usekenjyco-ipythonto start ipython with all of the installed
kenjyco packages automatically imported (keeping your ipython shell
history clean from boilerplate import statements).% venv/bin/kenjyco-dev-setup --help
Usage: kenjyco-dev-setup [OPTIONS]

  Clone missing repos and install more packages in editable mode

  Options:
    --help  Show this message and exit.


% venv/bin/kenjyco-ipython --help
Usage: kenjyco-ipython [OPTIONS]

  Start ipython with several things imported

Options:
  --no-vi      Do not use vi editing mode
  --no-colors  Do not use colors / syntax highlighting
  --help       Show this message and exit.
Package: kenkou
kenkou======健康 - kenkou - healthA python based tool to check that a given resource is alive and valid.It can check on URLs, Certificates and also DNS entries.All redirects are followed and once the final URL is discovered it is tested for a 2XX result. If a 2XX is returned it is also scanned for mixed-content items if the url is HTTPS. Certificates are verified for any HTTPS site.Currently it assumes port 443 for TLS and also that the given domain resolves to an IP address.Designed to be run from a cronjob as often as you want to check the sites.Note: Kenkou will check to see if the [Certifi](https://certifi.io/en/latest/) Python package is installed, and if so, it will use the CA Bundle from that. If not it will check to see if ```/etc/ssl/certs/ca-certificates.crt``` exists. If neither is found it will exit with an error if a certificate check was requested.Usage-----```python kenkou.py [-c|--config FILENAME]Where:-c --config  Configuration file (json format)The output is a based on the value of the "onevent" configuration key:"json" (default if not present)"pagerduty""postageapp"```Requirements------------See requirements.txt for details about what Python modules to install.Configuration-------------Example kenkou.cfg file:```json{ "pagerduty": {"url":    "https://events.pagerduty.com/generic/2010-04-15/create_event.json","method": "POST","params": { "service_key":  "secret","incident_key": "incident_secret","event_type":   "trigger","description":  "FAILURE for production/HTTP"}},"postageapp": {"api_key":    "secret","recipients": [ "email@example.com" ]},"onevent": [ "postageapp" ],"checks": "kenkou_check.cfg"}```kenkou_check.cfg:```json{ "web": { "url":  "https://example.com","dns":  [ "example.com", "127.0.0.1",[ "ns1.dnsimple.com", "ns2.dnsimple.com" ]],"cert": "example.com"},"lb": { "url":  "http://lb.example.com","dns":  [ "lb.example.com", "127.0.0.1",[ "ns1.dnsimple.com", "ns2.dnsimple.com" ]],"cert": "lb.example.com"}}```
Package: kenl380
This is the top level package for the other python packages I have published on PyPI.
It’s function is basically to supply a namespace, so that I don’t conflict with other
modules and packages both on PyPI as well as in the site-packages directory for any
given Python installation.To see an example of a submodule that would be installed within this namespace, take
a look at mypylibpackage, which you can find on GitHubin this repository. When it is installed locally, it goes into
thekenl380directory in site-packages, instead of into the root. When I import
it, I normally do it like this:import kenl380.pylib as pylibThat way I don’t have to prefix the names with kenl380 everywhere…
Package: kenl380.pylib
PyLib is a library of useful (to me) functions and classes for building
applications and packages written in Python. It supports both the 2.x and 3.x
versions of Python.Installing$ pip install kenl380.pylibDocumentationRead the documentation for PyLib. It is hosted online atkenl380pylib.readthedocs.ioCreditsPyLib was written and is maintained byKen LowrieLicensePyLib is released under theApache 2.0 licenseDevelopingStart by setting up your environment using pipenv. Switch to the local
copy of your repository and:$ pipenv installThepipenv installstep is only required once to setup the virtual
environment. After that, you can typepipenv shellto spawn a shell
that’s setup for working on pylib.pylibis installed in edit mode after running thepipenv install, so
you can make changes directly to the code and test them interactively
when working inside thepipenv shellprompt.If you’re building an application, you can:import kenl380.pylib as pylibto load the methods and classes frompylibinto your applications’
namespace.Update the Docs!Sphinx is used to create the documentation forpylib. Be sure to
add or update the docs for any changes you make. This is required if
you plan on submitting a pull request.TestingMake sure that you write unittests for any new methods or classes that you
add. You can test them usingtox.For example, to run unit tests, issue this command from your pipenv shell:$ pipenv shell
$ toxPyLib’s tox.ini is configured to run all of the unittests on both Python
2.7 and 3.6, so you need to have both installed locally in order to run
the tests. You can use Homebrew or Pyenv to get multiple versions installed
on your local system.ConclusionIf you have questions or comments, feel free tocontact me via email.
If you find an issue, please add it toGitHub.
Package: kenn
KENN (Knowledge Enhanced Neural Networks) is a library for python 2.7 built on top of TensorFlow which permits to enhance neural networks models with logical constraints (clauses). It does so by adding a new final layer, called Knowledge Enhancer (KE), to the existing neural network. The KE change the orginal predictions of the standard neural network enforcing the satisfaction of the constraints. Additionally, it contains clause weights, learnable parameters associated to the constraints that represent their strength.
Package: kennitala
python-kennitala is a python library for common operations on Icelandic
National Registry codes -kennitala.CapabilitiesValidation of kennitalaExtraction of birth date from kennitalaGenerating kennitala for a given birth date (for people or companies)Generating random kennitala (for people or companies)Recognize if kennitala belongs to person or companyUsage>>> from datetime import date
>>> from kennitala import Kennitala
>>>
>>> kt_no = '0101109639'
>>> kennitala = Kennitala(kt_no)
>>> kennitala.validate()
True
>>> kennitala.get_birth_date()
datetime.date(1910, 1, 1)
>>> kennitala = Kennitala(kt_no.replace('3', '4'))
>>> kennitala.validate()
False
>>> kennitala.get_birht_date()
Traceback (most recent call last):
    File kennitala.py, in get_birth_date
kennitala.Invalid
>>>
>>> company_kt = Kennitala.generate(date.today(), person=False)
>>> Kennitala.is_personal(company_kt)
FalseInstallationinside your virtualenv execute:$ pip install kennitalaor download and install manually.TestsTests are written forpy.testTo run tests simply execute:$ PYTHONPATH=./ py.test tests
Package: kenny
kennykennyprovides feature-rich clients to HTTP(s) APIs.InstallationpipinstallkennyFeaturesDevelopment featuresSupports Python >=3.9Automatic codestyle withblackandruffType checks withmypyTesting withpytestDeployment featuresGitHubintegration: issue and pr templates.Github Actionswith predefinedbuild workflowas the default CI/CD.Makefile usageTODOFAQWhy is the package called "kenny"?Kenny is my cat's name and I love him very much.
Package: kenoAPI
keno-api - Unofficial Keno APIWhat is it?keno-api is a Python package that provides data from the officialKenowebsite.Main FeaturesHistorical Draws.Monitor Live Draws.Real-time Jackpot's.Hot And Cold Numbers.Where to get itpip install kenoAPIDependenciesRequestsPandasDatetimeLicenseBSD 3This software has been developed for educational use only. Use at your own risk.DocumentationWiki / DocumentationTODONothing
Package: kenobi-app
Kenobi-ServerWIP Opensource desktop application for Kenobi.Download the Apple Watch app to get started.InstallationRelease:https://pypi.org/project/kenobi-app/Beta:https://test.pypi.org/project/kenobi-app/pipinstallkenobi-appApp usagepython3-mkenobiif you want to run the program in the background add an ampersand at the endpython3-mkenobi&PIP Usagepython3>>>fromkenobiimportKenobi>>>Kenobi()Here's the expected outputWhat isthis repo?It's repo for the opensource version of Kenobi desktop app which works on Windows, Linux along side MacOS.Why is the desktop app opensource?To help others who are struggling with writing code that commnunicates with betweendesktop <=> iOS DevicesIt is not limited to iOS devices (can be expanded to PWA, Android apps and even desktop apps)How does this work?Websockets!
Desktop Application acts as a websocket server which is then connected to via client.The client then sends commands to the server and the server acts upon it.FeaturesMedia PlaybackIncrease / Decrease volumePause / Play mediaForward / Rewind mediaToggle MuteExit full screenKeyboard controlUp arrowDown arrowRight arrowLeft arrowSpaceReturn (Enter) keyTABTrackpad SupportMove the cursor on the desktop by simply interacting with watch Screen.Ping DesktopPlay a ping noiseSay "Hello There! General Kenobi!"Rickroll:Plays This beautyPower optionsLog outSleepRestartPower offLaunch appsMacOSFaceTime, Messages, Mail, Music, Notes, Safari, System Pref, Apple TV, YoutubeWindows / LinuxTBDThe opensource desktop app is CLI based for now keeping it's resource usage as minimum as possible.License - DWYW © Aayush Pokharel
Package: kenpompy
kenpompy - Basketball for NerdsThis python package serves as a convenient web scraper forkenpom.com, which provides tons of great NCAA basketball statistics and metrics. Itrequires a subscription to Ken Pomeroy's site for use, otherwise only the home page will be accessible. It's a small fee for a year of access, and totally worth it in my opinion.ObjectiveUltimately, this package is to allow both hobbyist and reknown sports analysts alike to get data from kenpom in a format more suitable for visualization, transformation, and additional analysis. It's meant to be simple, easy to use, and to yield information in a way that is immediately usable.Responsible UseAs with many web scrapers, the responsibility to use this package in a reasonable manner falls upon the user. Don't be a jerk and constantly scrape the site a thousand times a minute or you run the risk of potentially getting barred from it, which you'd likely deserve. I am in no way responsible for how you use (or abuse) this package. Be sensible.But I Use RYeah, yeah, but have you heard ofreticulate? It's an R interface to python that also supports passing objects (like dataframes!) between them.Installationkenpompyis easily installed viapip:pip install kenpompyWhat It Can (and Can't) DoThis a work in progress - it can currently scrape all of the summary, FanMatch, and miscellaneous tables, pretty much all of those under the Stats and Miscellany headings.TeamandPlayerclasses are planned, but they're more complicated and will take some time.Usagekenpompyis simple to use. Generally, tables on each page are scraped intopandasdataframes with simple parameters to select different seasons or tables. As many tables have headers that don't parse well, some are manually altered to a small degree to make the resulting dataframe easier to interpret and manipulate.First, you must login:from kenpompy.utils import login

# Returns an authenticated browser that can then be used to scrape pages that require authorization.
browser = login(your_email, your_password)Then you can request specific pages that will be parsed into convenient dataframes:import kenpompy.summary as kp

# Returns a pandas dataframe containing the efficiency and tempo stats for the current season (https://kenpom.com/summary.php).
eff_stats = kp.get_efficiency(browser)ContributingYou can contribute by creatingissuesto highlight bugs and make suggestions for additional features.Pull requestsare also very welcome.Licensekenpompyis released on the GNU GPL v3.0 license. You are free to use, modify, or redistribute it in almost any way, provided you state changes to the code, disclose the source, and use the same license. It is released with zero warranty for any purpose and I retain no liability for its use.Read the full licensefor additional details.
Package: kent
Kent is a service for debugging and integration testing Sentry.Code:https://github.com/willkg/kent/Issues:https://github.com/willkg/kent/issuesLicense:MPL v2GoalsGoals of Kent:make it possible to debugbefore_sendandbefore_breadcrumbsanitization code when using sentry-sdkmake it possible to debug other sentry error submission payload issuesmake it possible to write integration tests against a fake sentry instanceQuick startInstalling and running on your local machineInstall Kent.You can install Kent from PyPI with pipx or pip or whatever:pipx install kentYou can install a REVISH (“main”, branch name, commit, whatever) from
GitHub:pipx install https://github.com/willkg/kent/archive/refs/heads/<REVISH>.zipYou can install from a checked out version of this repository:pipx install .Run Kent:kent-server run [-h HOST] [-p PORT]Running in a Docker containerI’m using something like this:FROM python:3.11.5-slim-bookworm

WORKDIR /app/

ENV PYTHONUNBUFFERED=1 \
    PYTHONDONTWRITEBYTECODE=1

RUN groupadd -r kent && useradd --no-log-init -r -g kent kent

# NOTE(willkg): This installs Kent from main tip. If you're using Kent for
# realzies, you probably don't want to do this because Kent could change and
# break all your stuff. Pick a specific commit or tag.
RUN pip install -U 'pip>=8' && \
    pip install --no-cache-dir 'kent==<VERSION>'

USER kent

ENTRYPOINT ["/usr/local/bin/kent-server"]
CMD ["run"]Make sure to replace<VERSION>with the version of Kent you want to use.
Seehttps://pypi.org/project/kentfor releases.Then:$ docker build -t kent:latest .
$ docker run --init --rm --publish 8000:8000 kent:latest run --host 0.0.0.0 --port 8000Things to know about KentKent is the fakest of fake Sentry servers. You can set up a Sentry DSN to point
to Kent and have your application send errors to it.Kent is for testing sentry-sdk things. Kent is not for testing Relay.Kent is a refined fake Sentry service and doesn’t like fast food.Kent will keep track of the last 100 payloads it received in memory. Nothing is
persisted to disk.You can access the list of errors and error data with your web browser by going
to Kent’s index page.You can also access it with the API. This is most useful for integration tests
that want to assert things about errors.GET /api/errorlist/List of all errors in memory with a unique error id.GET /api/error/ERRORIDRetrieve the payload for a specific error by id.POST /api/flush/Flushes the error manager of all errors.You can use multiple project ids. Kent will keep the errors separate.If you runkent-serverrunwith the defaults, your DSN is:http://public@localhost:5000/1    for project id 1
http://public@localhost:5000/2    for project id 2
...Kent definitely works with:Python sentry-sdk clientPython raven client (deprecated)I don’t know about anything else. If you use Kent with another Sentry client,
add an issue with details or a pull request to update the README.DevelopmentInstallmkvirtualenv kentpip install-e'.[dev]'
Package: kenv
Kapchinsky ENVelope (KENV)The solver of Kapchinsky-Vladimirsky envelope equation for electron beam with space charge.V. Fedorov,D. Nikiforov,A. Petrenko, (Novosibirsk, 2019)OverviewKENV is a solver code for the equation of the envelope of an electron beam with the Kapchinsky-Vladimirsky distribution for accelerator physics.It is particularly suitable for accelerating an electron beam in direct channels with solenoidal and quadrupole focusing.In order to use the KENV code correctly, it isimportant to read theDoc.AlgorithmThe algorithm reduces to lowering the order of the Kapchinsky-Vladimirsky differential equations to the first and subsequent integration.LanguageKENV completely written in Python.InstallationIn order to quickly install all the requiredPythonlibraries in the new environment, just downloadrequirementsand run the command on the command line:pip install -r requirements.txtPublicationsPublicationin Particles and Nuclei.
Package: kenworthy
# kenworthyfrom kenworthy import *kenworthyprovides tools to solve Kepler’s equation for binary orbits, and to model dust rings and clouds orbiting around substellar companions.The modulekepler3provides a fast and simple set of routines to estimate Hill sphere sizes, orbital periods and velocities at periastron and apastron, which enable characterisation of complex (i.e. not a simple exoplanet transit) eclipses.exorings3models giant ring-like structures transiting stellar disks, and provides fast calculation of light curves for forward modeling. Drawing routines for making figures of exoring systems in matplotlib are optimised withArtistprimitives.
Package: kenzy
This project is dedicated to building a “Synthetic Human” which is
called Kenzy for which we have assigned the female gender pronoun of
“she”. She has intent determination (padatious)
visual face recognition (opencv/opencv),
speech transcription (whisper),
and speech synthesis (speecht5)/(festival).
Kenzy is written in Python and is targeted primarily at locally hosted home devices.Visit our main site:https://kenzy.ai/Help & DocumentationHelp and additional details are available athttps://docs.kenzy.ai/
Package: keogram
KeogramA Keogram is generated from the center slice 1px wide from a series of images and stitched together to generate an image
that shows the
sky throughout the captured period. A keogram is a way of displaying the intensity of an auroral display, taken from a
narrow part of a
screen recorded by a camera, more specifically and ideally in practice a "whole sky camera". This allows one to easily
realize the general activity of the display that night, whether it had been interrupted by weather conditions or not,
and allows the determination of the regions in which the aurora was seen in terms of latitude and longitude of the area.However, the initial case that this module was created was to create a keogram of general night skies to judge how clear
the
night sky was on the night.FeaturesGenerates a keogram from a sorted list of files from a given directory.Saves information about the keogram alongside the image in json format.Can generate a keogram from a mixture of image formats ignoring non image formats.InstallingpipinstallkeogramUsageTo generate a keogram with checks on the source directory, and creation of the destination directory call the following.
The first parameter is the folder that contains the images that you want to use for the keogram, the second parameter
is the destination folder for the keogram. The third parameter (optional) is the filename of the resulting keogram
image. Be sure to include the file type extension. The default is "keogram.jpg"
The final parameter is weather to save a metadata json file alongside the generated keogram, this is optional and
defaults toFalse. The method returns the MetaData of the file, even if not asked to save it locally.importkeogrammetadata=keogram.create("input_directory","output_directory","filename",True)Running TestsThere are a few ways to run the tests the usual way is to usetoxfrom the top level of the repositorytoxIf you already have the dependencies in your python environment you can just usepytestif extra arguments for code
coveragepytest--cov=srcContributingPlease first raise an issue then fork the repository referencing the issue in commits and raise a Pull Request.LicenseLicensed under the MIT.
Copyright 2023 Night Works.Copy of the license.A list of the Licenses of the dependencies of the project can be found at
the bottom of theLibraries Summary.
Package: keops
Keops is a framework based on Django and ExtJS, to simplify the RIA business application development, this is a RAD tool thats delivers really professionals products, using all power of Django combined with the ExtJS framework as presentation layer. The project focus is the possibility to get two licenses style: GPL and a Commercial License.The commercial license allows developers to build new apps/modules, under any required license, but keeping existing modules under the original license.Community modules can be licensed under: AGPL, GPL, LGPL, Apache, MIT, BSD, and another compatible open source license.Commercial modules must observing and respecting use of community modules licenses.Enjoy creating powerfull business apps.
Package: keops-vt
KeopsKeops is a CLI tool that allows you to apply some logic to vector tiles in a MBTiles file, such as removing or getting the size of a given tile, obtaining the vector layers that conform the MBTiles or shrinking the vector data, in order to reduce the data size.Read the full documentation for more details:keops.franmartin.es.InstallationKeops needs Python 3.7 or higher. The recommended way to install it is viapip.pip install keops-vtIf you want to run theshrinkcommand you also needDocker.CLI UsageThe usage is pretty simple and straigthforward. For instance, if you want to drop a given tile in a MBTiles:keopseraseinput.mbtiles6/10/23Keops have some more functionalities. To check them, simply executekeopsorkeops --helpin your bash.Usage:keops[OPTIONS]COMMAND[ARGS]...Keopscommandlineinterface

Options:--helpShowthismessageandexit.Commands:debugDebugaMBTilesfile:getinforelatedwithlayersandtheirfeaturesinagivenMBTileseraseEraseatileinaMBTilesfileinfoExtractandprintthemetadatainfofromaMBTilesfileshrinkReduceandsimplifyallfeaturesofalloranyvectortilesinaMBTilescontainer.Dockerrequired.sizeGetthesizeofagiventileorzoomlevelinaMBTilesfileRoadmapIf you are interested on the roadmap of the project, check theROADMAPfile.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.CreditsThe merit of the shrink module belongs entirely torastapasta, as the unique developer of tileshrink,
andooZberg, as the person who wrapped it in a Docker image in order to use it without worrying
about the Node.js version. What I have done is creating a backup of the Docker image and
wrapping it again in this package, so it can be used in a focused environment.