Saravanan666/pypi-org huggingface dataset:
Package: katena-chain-sdk-py
SDK PythonRequirementsPython >= 3.XInstallpipinstallkatena-chain-sdk-pyUsageTo rapidly interact with our API, you can use ourTransactorhelper. It handles all the steps needed to correctly
format, sign and send a tx.Feel free to explore and modify its code to meet your expectations.ExamplesDetailed examples are provided in theexamplesfolder to explain how to use ourTransactorhelper methods.You can change various settings in theexamples/common/settings.pyfile.Available examples:Send aCertificatetransactionSend aSecrettransactionSend aKeyCreatetransactionSend aKeyRotatetransactionSend aKeyRevoketransactionRetrieveCertificaterelated transactionsRetrieveSecretrelated transactionsRetrieveKeyrelated transactions and its stateRetrieve a list ofKeystates for a companyFor instance, to send a certificate:pythonexamples/send_certificate_raw.pyKatena documentationFor more information, check thekatena documentation.
Package: katex
Python KaTeXContains functionality to convert an image intoKaTeX, using\rulesAlso currently only set up to work with Facebook Messengers KaTeX setup, but it should be simple to adapt for other applications.More functionality is planned, and PRs welcome!Installation$# This will install the python package `katex`, along with the shell command$# `image_to_katex`$pipinstallkatexBasic usage$# This will generate KaTeX output for that image, where the image is scaled$# down to 30 pixels, and where each pixel is 5 units wide$image_to_kateximage.png-s30-ps5$# Display help message$image_to_katex--helpFacebook KaTeX infoKaTeX version: v0.8.2 (17/8-2017)Max length of Facebook messages is 20000 chars.Facebook renders any KaTeX error messages in the htmltitleattribute.You can use$$or\(+\)as delimeters.$$renders the LaTeX in displayMode,\(+\)renders it inline.Facebook wraps all inputs in a\colorblock, like this:\color{#fff}{inp}, whereinpis the inputKnown KaTeX options:displayMode = true if$$else falsecolorIsTextColor: falsemaxSize: 50maxExpand = 25
Package: kathurimasample
A sample Python projectA sample project that exists as an aid to the Python Packaging User Guide’s Tutorial on Packaging and Distributing Projects.This project does not aim to cover best practices for Python project development as a whole. For example, it does not provide guidance or tool recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in the setup.py file, an example of which is included in this project. You should edit this file accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written using reStructuredText or markdown with the appropriate key set. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose.Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What’s New” section for the most recent version may be appropriate.
Package: katia
Katia is a python project ment to be used as a package to create assistants where they are
needed.It is based on the top techs in the market. It usesOPENAI APIto understand what are
you telling to her/him. To speak with you he/she usesAWS Polly. And, to heard what are
you telling to him/her he/she usesGoogle recognizer.Yo can check the code inGitHubor follow theofficial documentation.
Package: katie
KatieA user-friendly kubectl wrapper for interacting with pods.UsageCommandskubectl pods <selector>- list pods.kubectl logs <selector>- show logs from first matching pod.kubectl exec <selector> -- <command>- exec in first matching pod.SelectorsCommon labels are automatically aliased in selectors. If no pods match the
original selector and the selector includes on of the labels on the left, katie
will replace that label with the matching one on the right and try the search
again.name->app.kubernetes.io/nameinstance->app.kubernetes.io/instanceversion->app.kubernetes.io/versioncomponent->app.kubernetes.io/componentpart-of->app.kubernetes.io/part-ofmanaged-by->app.kubernetes.io/managed-byAuthorMIT Licence, (c) 2019Sam Clements
Package: katka-bitbucket
Katka BitbucketDjango app which will be responsible for all interactions with bitbucket on Katka.CloneYou can clone this repository on:https://github.com/kpn/katka-bitbucketSetupSetup your environment:$makevenvStackKatka Bitbucket is build on top of the Python framework Django and the Django Rest
Framework to build APIs. Under the hood it runs Python 3.7.Dependenciesdjangorestframework: django toolkit for building Web APIspkgsettings: to manage package specific settingsContributingWorkflowFork this repositoryClone your forkCreate and test your changesCreate a pull-requestWait for default reviewers to review and merge your PRRunning testsTests are run on docker by executing$maketestOr using venv$maketest_localVersioningWe use SemVer 2 for versioning. For the versions available, see the tags on this
repository.AuthorsKPN I&P D-Nitro-d-nitro@kpn.com
Package: katka-core
Katka coreDjango app which is be responsible for storing information abouts applications and teams.CloneYou can clone this repository on:https://github.com/kpn/katka-coreSetupSetup your environment:$makevenvStackKatka core is built on top of the Python framework Django and the Django Rest
Framework to build APIs. Under the hood it runs Python 3.7.Dependenciesdjangorestframework: django toolkit for building Web APIsdjango-encrypted-model-fields: save encrypted fields on DBContributingWorkflowFork this repositoryClone your forkCreate and test your changesCreate a pull-requestWait for default reviewers to review and merge your PRRunning testsTests are run on docker by executing$maketestOr using venv$maketest_localVersioningWe use SemVer 2 for versioning. For the versions available, see the tags on this
repository.AuthorsKPN I&P D-Nitro-d-nitro@kpn.com
Package: katnip
What is Katnip?Katnip is a repository of implementations and extensions forKitty.While Kitty defines the base classes and syntax,
it contains no specific implementation for any of them.
So, for example, in order to send a payload over TCP,
you need to create some class that extendsServerTargetand is able to send data over TCP,
and so on.Katnip contains such classes.
Currently, Katnip contains various implementations of:Controllers for servers and clientsMonitorsTargetsLegosTemplatesWant to know more?Read the documentations atRead The Docs.How to installgit clone https://github.com/cisco-sas/katnip.git katnip
cd katnip
pip install -e .Contribution FAQFound a bug?Open an issue.Have a fix?Great! please submit a pull request.Want to share you implementation?Thank You! Please submit a pull request.
Package: katottglib
Quick startInstall pandaspip install pandas(temporary not pinned)Install withpip install katottglibImportimport katottglibSearch for entities withfind_by_namekatottglib.find_by_name(name="Lviv")Release notesv0.2.7 (2023-07-10)Temporary unpin pandas and openpyxl versions.v0.2.6 (2023-07-10)Try to fix continuation import errors on some installations.v0.2.5 (2023-07-10)Fix import statements to be consistent.v0.2.4 (2023-07-10)Fix installation by adding setup.py install_requiresv0.2.3 (2023-07-10)Fix installation by refining the structurev0.2.2 (2023-07-10)Updated setup.py configv0.2.1 (2023-07-09)Fixes and improvements to performance.data/kodifikator.xlsx is included into the dist.v0.2.0 (2023-07-01)Fixes and improvements to performance.Dataframe is now persisted with Pickle.v0.1.0 (2023-06-10)Initial release.Search by name with filter by level (find_by_name).Search by identifier (find_by_id)
Package: katpoint
katpointCoordinate library for the MeerKAT project, providing astronomical coordinate
transformations, antenna pointing models, correlator delay models, source flux
models and basic source catalogues, using an existing coordinate library such
as PyEphem to do the low-level calculations.History0.10.1 (2023-10-10)Fix deprecated NumPy type aliases and configparser attributes (#81)Flake8 cleanup (#82)0.10 (2021-04-20)Handle out-of-range projection inputs (#67, #68)Fix the sign of the NIAO term in the delay model (#75)Allow fixed parameters during pointing model fitting (#73)Handle katpoint v1 description strings in v0 (#76)Improve Timestamp arithmetic and comparison operators (#57)Update pointing and other documentation (#59, #65, #70)Minor improvements to requirements, testing (#62 - #64, #69, #71, #72, #74)Mark Python 2 support as deprecated (#61)0.9 (2019-10-02)Add Antenna.array_reference_antenna utility function (#51)Vectorise Target.uvw (#49)Improve precision of flux model description string (#52)Produce documentation on readthedocs.org (#48)Add script that converts PSRCAT database into Catalogue (#16)0.8 (2019-02-12)Improve UVW coordinates by using local and not global North (#46)Allow different target with same name in Catalogue (#44)Add support for polarisation in flux density models (#38)Fix tab completion in Catalogue (#39)More Python 3 and flake8 cleanup (#43)The GitHub repository is now public as well0.7 (2017-08-01)Support Python 3 (#36)Improve DelayCorrection, adding description string and offset (#37)0.6.1 (2017-07-20)Resolve issue with ska-sa/katdal#85 - SensorData rework (#34)0.6 (2016-09-16)Initial release of katpoint
Package: katscript-jupyterlab
KatScript JupyterLabSyntax highlighting for KatScript within JupyterLab.RequirementsJupyterLab >= 3.0InstallClone the repo, thenpipinstall.ContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the katscript-jupyterlab directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# If using a server extension, it must be manually installed in develop modejupyterserverextensionenable<extension_name># Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in
different terminals to watch for changes in the extension's source and
automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built
locally and available in your running JupyterLab. Refresh JupyterLab to load
the change in your browser (you may need to wait several seconds for the
extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this
extension to make it easier to debug using the browser dev tools. To also
generate source maps for the JupyterLab core extensions, you can run the
following command:jupyterlabbuild--minimize=FalseUninstallpipuninstallkatscript-jupyterlab
Package: katsdpimageutils
IntroductionThis is a utility library for code shared betweenkatsdpimagerandkatsdpcontim. It is not currently intended to be used directly.Revision history0.1.1Workaround for anAstropy issuethat would cause crashes when rendering
MeerKAT spectral images with Astropy 4.1+.Add LICENSE file and update copyright notices.Addfilesoption inmypy.iniso that one can just runmypy.0.1First public release.
Package: katsdpservices
Common code for MeerKAT Science Data Processor servicesThis contains common code used by services that make up the Science Data Processor
subsystem of the MeerKAT radio telescope. It includesA common logging setup, which examines environment variables to configure
some logging options and specify a server to receive logs in Graylog
format.An extension toargparseto receive command-line options viakatsdptelstate.Signal handlers to restart the process and adjust log levels.Utilities to simplify integration withaiomonitor.A simple wrapper aroundnetifacesto
get the IP address of a network interface.Changelog1.3Packaging modernisation (#34)Drop some old Python 2 workarounds (#34)Switch testing to pytest (#34)Fix flake8 for pre-commitAdd--aiomonitor-webui-portcommand-line option (#35)1.2Resolve logging destination at startup (#33)1.1Addtelstate_endpointattribute to argparse result (#29)Add a custom log field with timestamp in microsecond precision (#21)Add pre-commit hooks1.0First public release.
Package: katsuba
KatsubaPython bindings to theKatsubalibraries.Error handlingMost errors are represented either as native Python exceptions where it makes
sense, or as akatsuba.KatsubaErrorfor custom errors from the Rust side.Bindingskatsuba.opBindings to core functionality from thekatsuba-object-propertycrate.fromkatsuba.opimport*fromkatsuba.utilsimportstring_id# Open a type list from file systemtype_list=TypeList.open("types.json")# Configure serializer optionsopts=SerializerOptions()opts.flags|=STATEFUL_FLAGSopts.shallow=False# Construct the serializerser=Serializer(opts,type_list)# Deserialize a filewithopen("TemplateManifest.xml","rb")asf:manifest=f.read()assertmanifest[:4]==b"BINd"manifest=ser.deserialize(manifest[4:])# Make sure we deserialized the right object:assertmanifest.type_hash==string_id("class TemplateManifest")# Iterate the templates in the resulting object:forlocationinmanifest["m_serializedTemplates"]:print(f"Template{location['m_id']}at{location['m_filename']}")katsuba.wadBindings to core functionality from thekatsuba-wadcrate.fromkatsuba.opimportSerializerfromkatsuba.wadimportArchive# See `katsuba.op` above.s=Serializer(...)# Open an archive memory-mapped:a=Archive.mmap("/path/to/Root.wad")print(f"{len(a)}files in archive!")# Deserialize a file out of the given archive:if"TemplateManifest.xml"ina:a.deserialize("TemplateManifest.xml",s)# Iterate over files in the archive and get their contents:forpathina:data=a[path]# With a glob pattern for filtering files:forpathina.iter_glob("ObjectData/**/*.xml"):data=a[path]katsuba.utilsBindings to useful components from thekatsuba-utilscrate.For the time being, this features the hash functionsdjb2andstring_id.
Package: kattention
KattentionThis package implements different Attention mechanisms as Keras layers.Setuppip install kattentionUsagefrom tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Flatten, Dense, Softmax
from kattention.layers import Transformer 

SEQUENCE_LENGTH = 4
EMBEDDING_SIZE = 300
CLASSES_TO_PREDICT = 5
ATT_HEADS = 2

model = Sequential()
model.add(Transformer(attention_heads=ATT_HEADS, input_shape=(SEQUENCE_LENGTH, EMBEDDING_SIZE)))
model.add(Transformer(attention_heads=ATT_HEADS))
model.add(Flatten())
model.add(Dense(CLASSES_TO_PREDICT))
model.add(Softmax())

print(model.summary())
Package: kattis
Kattis APIA python wrapper for the non-existentKattisAPI.UsageYou can simply install the package using pip$pipinstallkattisGetting Startedimport the kattis moduleimportkattisExamplesSome examples to get started.AuthenticationYou can authenticate a Kattis user by callingkattis.auth, this will
return a KattisUser object with a few callable methods.user=kattis.auth('username','password')User MethodsMethods that are callable on a KattisUser object.user.problems(pages) -> dict: Fetches solved user problemsuser.stats() -> dict: Fetches relevant user statisticsuser.data() -> dict: Combines problems and statisticsuser=kattis.auth('username','password')problems=user.problems(1)stats=user.stats()info=user.data()ProblemsYou can fetch kattis problems by ID or by full pageskattis.problem(id) -> dict: Fetches problem information for a single problemkattis.problems(pages) -> list[dict]Fetches problem information across specified pagesproblem=kattis.problem('2048')# Fetches information for problem with ID '2048'problems=kattis.problems(2)# Fetches all problems on first 2 pages
Package: kattiskitten
Kattis kittenKattis CLI - Easily download, test and submit kattis problemsUsage: kk [OPTIONS] COMMAND [ARGS]...

  Simple CLI for downloading and testing kattis problems

Options:
  --help  Show this message and exit.

Commands:
  get       This command downloads a kattis problem and test files
  problems  Simply opens https://open.kattis.com/problems in your webbrowser
  submit    This command submits a problem to kattis
  test      This tests a kattis problem using provided test problemsInstallation (requires python >= 3.6):pip3 install kattiskittenCommandsDownload test files.> kk get rationalsequence
Downloading samples
Samples downloaded to './rationalsequence'Test the problem> kk test rationalsequence
👷‍ Testing rationalsequence...
👷‍ Language = Python 3 🐍

🔎 Test number 1:
❌ Failed...
__________INPUT____________
5
1 1/1
2 1/3
3 5/2
4 2178309/1346269
5 1/10000000

__________INPUT____________
__________OUTPUT___________
Hello world!

__________OUTPUT___________
__________EXPECTED_________
1 1/2
2 3/2
3 2/5
4 1346269/1860498
5 10000000/9999999

__________EXPECTED_________Submit solution to kattis> kk submit rationalsequence
Submission received. Submission ID: 5030066.
* Opens web browser on submission page *Choose languageThe default language is python3. To change language you can use the--languageflag on the get command.> kk get rationalsequence --language java
Downloading samples
Samples downloaded to './rationalsequence'The other commands will auto detect which language you have chosen.Supported languagesPython3JavaC++CRustContribute by addingmore languages! :-)
Package: kattis-problem-setup
kattis-problem-setupDownload the sample data for any problems fromKattis.RequirementsThe project is built inPython 3.InstallationTo install, simply clone the project:git clone https://github.com/bradendubois/kattis-problem-setup
cd kattis-problem-setupUsageTo run the project, simply run themain.pyeither directly, or in Python, with any number of problem IDs provided../main.py PROBLEM_1 PROBLEM_1orpython main.py PROBLEM_1 PROBLEM_2wherePROBLEMwould be the ID of a problem.Example: If there were sample material for the problemHello World!, where the ID ishello, usage would be:pythom main.py helloand output would be:Parsing: hello 

Title: Hello World!
ID: hello
CPU Time Limit: 5 seconds
Memory Limit: 1024 MB
Difficulty: 1.2DisclaimersThe description of each problem is not downloaded.KattisTerms of Serviceis clear (see2. License for content); materials cannot be (a)copiedor (b)publically displayed. This script gets uninformative information on memory limits / CPU time, etc. but does not represent materials concerning theproblem itself. It would be a clear violation of the TOS to copy, or likely facilitate copying, the actual description of each problem.Can it copy all the problems from Kattis?It could be easily made to download a description of every problem from Kattis, but for the same reasons as above, it will not be implemented.AcknowledgementsKattis, for hosting fun competitive programming problems.Beautiful Soup, still the best choice for web scraping in Python.
Package: katversion
Thekatversionpackage provides proper versioning for Python packages as
dictated by their (git) source repositories. The resulting version string is
baked into the installed package’s__init__.pyfile for guaranteed
traceability when imported (no dependency on what pkg_resources thinks!).Version String Formatkatversiongenerates a version string for your SCM package that complies withPEP 440.
It only supports git repositories.The format of our version string is:- for RELEASE builds:
    <major>.<minor>
    e.g.
    0.1
    2.4

- for DEVELOPMENT builds:
    <major>.<minor>.dev<num_commits>+<branch_name>.g<short_git_sha>[.dirty]
    e.g.
    0.2.dev34+new.shiny.feature.gfa973da
    2.5.dev7+master.gb91ffa6.dirty

- for UNKNOWN builds:
    0.0+unknown.[<scm_type>.]<timestamp>
    e.g.
    0.0+unknown.git.201402031023
    0.0+unknown.201602081715

where <major>.<minor> is derived from the latest version tag and
<num_commits> is the total number of commits on the development branch.

The <major>.<minor> substring for development builds will be that of the
NEXT (minor) release, in order to allow proper Python version ordering.

To add a version tag use the `git tag` command, e.g.

    $ git tag -a 1.2 -m 'Release version 1.2'Typical UsageAdd this tosetup.py(handles installed packages):fromsetuptoolsimportsetupsetup(...,# version=1.0,  # remove the version parameter as it will be overriddensetup_requires=['katversion'],use_katversion=True,...)Add this tomypackage/__init__.py, including the comment lines
(handles local packages):# BEGIN VERSION CHECK# Get package version when locally imported from repo or via -e develop installtry:importkatversionas_katversionexceptImportError:# pragma: no coverimporttimeas_time__version__="0.0+unknown.{}".format(_time.strftime('%Y%m%d%H%M'))else:# pragma: no cover__version__=_katversion.get_version(__path__[0])# END VERSION CHECKIn addition, a command-line script for checking the version:# From inside your SCM subdirectory, run the following command
# which will print the result to stdout:
$ kat-get-version.py
Package: kauri-finance-sdk
KauriFinanceSDKIntroductionKauri.Finance – EU licensed multifunctional investment and payment solution to enable any crypto operations for businesses and professional tradersRequirementsThis library requires Python version from 3.5 to 3.9.Please note that this library also uses requests and certifi. These libraries' supported Python versions can differ from the versions supported by kauri_finance_sdkInstallationWe recommend usingPyPIto install the Kauri Finance Software Development Kit for Python.$pipinstallkauri-finance-sdkUsageAfter theregistration, api_key and api_secret will become available.
You can get themhere.
Please note that some features are fully available only after theverification.ExampleTheexamplesfolder has basic and advanced examples.Base api url -https://api.kauri.finance/fromkauripay.processingimportKauriPayapi_key=''api_secret=''host='https://api.kauri.finance/'pay=KauriPay(api_key=api_key,api_secret=api_secret,host=host)defget_total_balance(view_currency)->float:"""Shows total balance for account in chosen currency:param view_currency: currency for total balance:return: total balance amount for account"""result=pay.get_balance()balance_dict=result.get('balance')total=0forcurrencyinbalance_dict:total+=((balance_dict.get(currency).get(view_currency).get('total'))+(balance_dict.get(currency).get(view_currency).get('reserved')))returntotalprint(get_total_balance('BTC'))DocumentationPlease see theDocumentationfor more details.Contact UsWebsite:https://kauri.financeMail:support@kauri.financeTelegram BOT:https://t.me/kaurifinance_botLinkedIn:https://www.linkedin.com/company/18495339Facebook:https://www.facebook.com/KAURIFinance-101252805245259KAURIFINANCE OU Estonia,
Tallinn, Narva mnt. 7, V korrusLicenseKauri Finance SDK for Python is licensed under MIT License.
Package: kaushaltools
kaushaltoolsVersion:0.0.2pypl:kaushaltoolsAuthor: Kaushal BhatolEmail:kaushal@bhatol.comgithub: @KaushalBhatolInstallationpipinstallkaushaltoolsModulesEncrypto:For encrypting & decrypting text and dictionary.QRCodeManager:For Genrating Qr code, Saving as picture and reading qr codes.totp: Reading totp, genrating totp qr code, reading totp qr code and fetching key.DocumentsName                                        | Module--------------------------------------------|---------Time-Based One-Time Password (totp)         |totpManaging QR code                            |qrmanagerEncrypting and decrypting text or dict      |encryptoRecent PatchesPatched Encrypto to return string file insted of bites.