Saravanan666/pypi-org huggingface dataset:
Package: kommo-python
kommo-pythonkommo-pythonis an API wrapper for Kommo CRM, written in Python.This library uses Oauth2 for authentication.Installingpip install kommo-pythonUsagefromkommo.clientimportClientclient=Client(client_id,client_secret,code,domain,redirect_uri)To obtain and set an access token and set it, follow this instructions:Get authorization urlurl=client.authorization_url(state=None)# This call generates the url necessary to display the pop-up window to perform oauth authentication# param state(code) is required for direct request for oauth, for local test isn't necessaryGet access tokenaccess_token=client.get_access_token(code,domain)# This call generates the oauth validation and get the access token and refresh token.# Must send the code and domain generated from get authorization url.Refresh access tokenrefresh_token=client.refresh_access_token(refresh_token)# "refresh_token" is the token refresh in response after login with oauth with the above url.Set tokenclient.set_token(access_token)# It is necessary to be able to use the library's actions.##Actions for get dataGet account infoclient.get_account_info()# Returns a json with the account information where the application was configured.Get list of companiesclient.list_companies()# Returns a json with the list of companies.Get custom fields for companyclient.get_custom_fields_company()# Returns a json with the list of custom fields for company.Get list of contactsclient.list_contacts()# Returns a json with the list of contacts.Get custom fields for contactclient.get_custom_fields_contacts()# Returns a json with the list of custom fields for contact.Get list of leadsclient.list_leads()# Returns a json with the list of leads.Get custom fields for leadclient.get_custom_fields_leads()# Returns a json with the list of custom fields for lead.Get list of tasksclient.list_tasks()# Returns a json with the list of tasks.Get custom fields for taskclient.get_custom_fields_tasks()# Returns a json with the list of custom fields for tast.##Actions for send dataCreate companyclient.create_company(name:str=None,company_name:str=None,phone:str=None,email:str=None,custom_fields:list=None)# Allows you to create a company in the configured application.Create contactclient.create_contact(self,name:str=None,first_name:str=None,last_name:str=None,custom_fields:list=None)# Allows you to create a contact in the configured application.Create leadclient.create_lead(self,name:str=None,first_name:str=None,last_name:str=None,custom_fields:list=None)# Allows you to create a lead in the configured application.Create leadclient.create_task(self,name:str=None,first_name:str=None,last_name:str=None,custom_fields:list=None)# Allows you to create a task in the configured application.##Actions for webhookList webhooksclient.list_webhooks()# Allows list webhooks in the configured application.Create webhookclient.create_webhook(event_type:str=None,url:str=None)# Allows create a webhook in the configured application.Delete webhookclient.delete_webhook(uuid:str=None)# Allows delete a webhook in the configured application.
Package: komodo-cli
# komodo_cliA CLI client for Komodo AI## Project Features[komodo_cli](http://komodo_cli.readthedocs.io/)a starter [Click](http://click.pocoo.org/5/) command-line applicationautomated unit tests you can run with [pytest](https://docs.pytest.org/en/latest/)a [Sphinx](http://www.sphinx-doc.org/en/master/) documentation project## Getting StartedThe project’s documentation contains a section to help you
[get started](https://komodo_cli.readthedocs.io/en/latest/getting_started.html) as a developer or
user of the library.## Development PrerequisitesIf you’re going to be working in the code (rather than just using the library), you’ll want a few utilities.[GNU Make](https://www.gnu.org/software/make/)[Pandoc](https://pandoc.org/)## ResourcesBelow are some handy resource links.[Project Documentation](http://komodo_cli.readthedocs.io/)[Click](http://click.pocoo.org/5/) is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.[Sphinx](http://www.sphinx-doc.org/en/master/) is a tool that makes it easy to create intelligent and beautiful documentation, written by Geog Brandl and licnsed under the BSD license.[pytest](https://docs.pytest.org/en/latest/) helps you write better programs.[GNU Make](https://www.gnu.org/software/make/) is a tool which controls the generation of executables and other non-source files of a program from the program’s source files.## Authorskmushegi-Initial work- [github](https://github.com/kmushegi)See also the list of [contributors](https://github.com/kmushegi/puma_cli/contributors) who participated in this project.## LicenseCopyright (c) kmushegiAll rights reserved.
Package: komodo-sdk
Komodo PackageThis is Komodo SDK package.Package hierarchykomodo/server: Flask / FastApi server for the Komodo Applianceskomodo/models: Implementation of LLM model access and runners to get responses.komodo/loaders: Loaders for komodo classes and objects.komodo/core: Implementation of komodo agents, tools, data sources and other core components.komodo/shared: Shared utilities and classes used by other komodo packages.komodo/framework: KomodoApp, KomodoAgents that form the Komodo AI platform.komodo/store: Ability to store and load proto objects from redis database.komodo/proto: Protobuf files that define the basic data structures and services.
Package: komootgpx
KomootGPXDownload Komoot tracks and highlights as GPX files with metadataPython 3 or lateris required.Installationpip install komootgpxUsageRun script in interactive modekomootgpxEnter your mail address (komoot.de)
>example@mail.com

Enter your password (input hidden)
Password:

Logging in...
Logged in as 'thepbone'

3331210XX => Example trip A (hike; 20.766km; tour_recorded)
3331214XX => Example trip B (hike; 13.863km; tour_planned)

Enter a tour id to download
>3331210XX

Fetching tours of user '153434028XXX'...
Fetching tour '3331210XX'...
Fetching highlight '2635XX'...
Fetching highlight '15840XX'...
GPX file written to '~/Development/KomootGPX/Example trip A-3331210XX.gpx'Display advanced usage informationkomootgpx --helpkomootgpx.py [options]
[Authentication]
        -m, --mail=mail_address            Login using specified email address
        -p, --pass=password                Use provided password and skip interactive prompt
[Tours]
        -l, --list-tours                   List all tours of the logged in user
        -d, --make-gpx=tour_id             Download tour as GPX
        -a, --make-all                     Download all tours
        -D, --add-date                     Add date to file name
[Filters]
        -f, --filter=type                  Filter by track type (either "planned" or "recorded")
[Generator]
        -o, --output                       Output directory (default: working directory)
        -e, --no-poi                       Do not include highlights as POIs
Package: komora-syncer
Netbox and Komora synchronizerkomora_synceris a tool to synchronize data between Komora and Netbox applicationInstallationgit clonethis repositorypip install .setup configuration files config.ymlpaths:~/.config/komora_syncer//etc/komora_syncer/config.ymlOr can be set with the env variableCONFIG_FOLDER_PATH. Example:CONFIG_FOLDER_PATH=~/NETBOX/netbox_komora_syncer/configurations/ komora_syncer  synchronizeRunkomora_syncerkomora_syncer requires at least Python 3.6.
Package: kompas-3d-wrapper
Kompas 3D WrapperFeaturesTODORequirementsTODOInstallationYou can installKompas 3D WrapperviapipfromPyPI:pip install kompas-3d-wrapperLicenseDistributed under the terms of theMIT license,Kompas 3D Wrapperis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: kompas-scraper
TitleKompas ScraperDescrptionWith kompas Scraper you can scrape search results and extract the contents produced by the search result.In kompas scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.The scraper gives information of the title of the article, article content, links, publish date etc.JSON sample data{"Scraper_repeat_data_0":[{"trenLatest_item":[{"link":"https://health.kompas.com/read/2021/11/10/120000368/punya-gejala-mirip-ini-beda-bronkitis-dan-pneumonia","text":"\n\n\n\n\n\n\nHEALTH\n10/11/2021, 12:00 WIB\n\nPunya Gejala Mirip, Ini Beda Bronkitis dan Pneumonia\n\n\n"},{"link":"https://health.kompas.com/read/2021/11/10/103100268/apa-beda-nyeri-dada-karena-gerd-dan-serangan-jantung-","text":"\n\n\n\n\n\n\nHEALTH\n10/11/2021, 10:31 WIB\n\nApa Beda Nyeri Dada karena GERD dan Serangan Jantung?\n\n\n"},{"link":"https://health.kompas.com/read/2021/11/10/090100968/6-ciri-ciri-hamil-anak-kembar","text":"\n\n\n\n\n\n\nHEALTH\n10/11/2021, 09:01 WIB\n\n6 Ciri-ciri Hamil Anak Kembar\n\n\n"}]}Download full sample dataRun Scraperfromkompas_scraperimport*link="https://www.kompas.com/food"data=run_kompas_scraper(link)How it works?It takes URL of kompas page with a search keyword to scrape the data.It generates the json data which contains the information of the kompas search result.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: kompatible
kompatibleThis package exposes a subset of theKubernetes Python Clientwith an interface which matches that of theDocker SDK for Python.ExamplesFirst, checkout this project, and install dependencies:pip install -r requirements-dev.txt.
Then, make sure you have installed and startedDockerand/orMinikubeWith those tools in place, eitherimport docker as sdkorimport kompatible as sdkand the following examples will work, although in the first case
it's Docker containers starting up,
and in the latter it's Kubernetes pods."Hello World!": Run, list, remove>>>client=sdk.from_env()>>>[client.containers.run(..."alpine","echo hello world",...name='foobar',...labels={'foo':'bar'})][...'hello world\n']>>>defnot_kube(containers):# Only needed for Docker, on Travis, with k8s started....return[cforcincontainersif'kube'notinc.name]>>>containers=not_kube(client.containers.list(all=True,filters={}))>>>[c.nameforcincontainers][...'foobar']>>>c=containers[0]>>>c.remove(force=True,v=True)>>>containers=not_kube(client.containers.list(all=True,filters={}))>>>assertlen(containers)==0Container properties>>>assertc.id>>>assertc.image>>>c.labels{...'foo':...'bar'}>>>assertc.short_id>>>assertc.statuscontainers.runkwargsSubclients>>>assertclient.api>>>assertclient.containers>>>assertclient.images>>>assertclient.volumesTODOclient.api.base_url

client.containers.run(image_name,
    name=container_spec.container_name,
    ports={'{}/tcp'.format(container_spec.container_port): None},
    detach=True,
    labels=labels,
    volumes=volumes,
    nano_cpus=int(container_spec.cpus * 1e9),
    environment=environment,
    mem_reservation='{}M'.format(new_mem_reservation_mb))
client.containers.get(name_or_id)
    container.logs(timestamps=True)
    container.attrs['NetworkSettings']
    container.attrs['Config']['Labels']
    container.remove(force=True, v=True)
client.containers.list(all=True, filters=filters)

client.images
client.images.pull  # Used by script, but not used by runtime.
# For Kubernetes, consider https://kubernetes.io/docs/concepts/containers/images/#pre-pulling-images
# We would need to make sure that every image is on every node we start up.
# Mayber other Container registries are faster than DockerHub, in which
# case pre-caching might be less important?

client.volumes
client.volumes.create(driver='local').name
Package: kompiler
KompilerA package for auto compiling C++ files as soon as they are saved.Usage: kompiler [File.cpp] [COMMAND...]
eg:
    ❯ kompiler hello.cpp
        Command used for compiling: g++ hello.cpp
    ❯ kompiler hello.cpp -std=c++11 -O2 -Wall hello.cpp -o hello
        Command used for compiling: g++ -std=c++11 -O2 -Wall hello.cpp -o hello
    ❯ kompiler 3.cpp -std=c++11 -O2 -Wall 3.cpp -o hello "&&" ./hello
        Command used for compiling: g++ -std=c++11 -O2 -Wall 3.cpp -o hello && ./hello
Package: komponents
komponentsGenerates Kubeflow Components from Kubernetes CRD specifications.Installationpip install komponentsUsageFirst, generate components. Components are specifications that Kubeflow uses to define steps of a pipeline. To generate a component, pipe a CRD specification tokomponents generate, you must provide a success and failure condition. By default, component specification are written to thecomponentsdirectory.kubectl get -o yaml crd/my-crd | komponents generate --success-condition status.state==SUCCESS --failure-condition status.state==FAILUREOnce you have generated your components you can plug them into a Kubeflow pipeline. Each field underspecof the crd becomes a parameter to the component function. Nested fields are differentiated with an underscore in the parameter name.importkfpcrd_op=kfp.components.load_component('components/my-crd-group/my-crd-v1.yaml')@kfp.dsl.pipeline()defpipeline():crd_op(foo='foo',bar='bar',baz_1='baz-1',baz_2='baz-2')Developmentpython3 -m venv venv
source venv/bin/activate
pip install .
komponents --help
Package: kompos
komposKomposis a configuration driven tool for provisioning and managing
Kubernetes infrastructure across AWS and Azure. It uses a hierarchical folder
structure and yaml files to store and generate configurations, with pluggable
compositions that encapsulates the infrastructure code and state. Terraform and
helmfile are supported as provisioners.Below is a graphical representation of the data flow.InstallationNOTE: Only Python 3 is supported.PyPIpipinstallkomposLocally for developmentUsing virtualenvpipinstallvirtualenv
virtualenv.envsource.env/bin/activate(env)cdkompos/(env)pipinstall--editable.Hierarchical configurationKompos leverageshimlto provide ahiera-like
configuration structure.Checkout theexamplesfor more information.Nix integrationWith kompos you can leveragenixto pin your
infrastructure code (i.e terraform & helmfile releases) on a specific version.
This enables you to finely control your deployments and use different
infrastructure versions per environment, cluster etc.PrerequisitesInstallnixandnix-prefetch-git.$curl-Lhttps://nixos.org/nix/install|bash

$nix-env-f'<nixpkgs>'-iAnix-prefetch-gitConfigurationThe integration can be globally enabled or diabled with the flagnix: [true|false]and a disable overwrite
with--no-nixargument. Below are the
necessary parts of komposconfig regarding nix & versioning:terraform:# This is the place to look for the terraform repo locally.# Used as the default if nix is not enabled.local_path:'/home/user/terraform-stack'# This is needed in case the modules are not in the root of the repo.root_path:'src/terraform'repo:# This will be the name of the nix derivation for terraform.name:'terraform-stack'# The repo we would like to version.url:"git@github.com:my-org/terraform-stack.git"# Likewise for helmfile.helmfile:local_path:'/home/user/helmfile-releases'root_path:'src/helmfiles'repo:name:'helmfile-releases'url:"git@github.com:my-org/helmfile-releases.git"nix:trueAnd in the hierarchical configuration you'll need the following keys:infrastructure:terraform:version:"0.1.0"# A git tag or a commit sha.# This is an optional field.# The sha256 hash of the repo provides data integrity and ensures that we# always get the same input.## It can be omitted when you're using a tag that is periodically updated.# (e.g in a dev/nightly environment). Since this is a mandatory field for nix,# nix-prefetch-git will be used as a fallback to caclulate it.sha256:"ab9190b0ecc8060a54f1fac7de606e6b2c4757c227f2ce529668eb145d9a9516"# Likewise for helmfile.helmfile:version:"0.1.0"sha256:"139cd5119d398d06f6535f42d775986a683a90e16ce129a5fb7f48870613a1a5"Docker ImageLicenseApache License 2.0
Package: komposer
komposerKomposer is a CLI tool to convert a Docker Compose file into a Kubernetes manifest file so that you can deploy your Docker Compose stack it into a single Kubernetes Pod.DocumentationSee the officialdocumentationfor details information about the CLI usage.To-doset ingress annotations from CLI as fileset ingress paths from CLI as a fileable to select the Ingress class nameable to set custom resource limitsadd annotations to all Kubernetes items with Komposer versionuse labels in Docker Compose file as alternative for CLI options
Package: komut
Komut is a high-magic CLI framework.This release is the initial spin-off from the primary user it was
developed under. It needs design adjustments, refactoring, testing,
documentation. Those will come later. For now, this is not exactly fit
for production use.LicenseThis program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
Package: kona
konaIt is a project created to manage various key-value stores.Currently, only RocksDB is supported, but we will continue to increase the number of key-value stores that can be supported.Prerequisitepython 3.7.5Supported Key-Value StoreRocksDBInstallation$ pip install konaExamplefromkona.key_value_storeimportKeyValueStoredb=KeyValueStore.new('file://./key_value_store_test_database',store_type='rocksdb',create_if_missing=True)db.put(b'foo',b'bar')print(db.get(b'foo'))db.close()db.destroy_store()# Result# b'bar'BatchYou can write to DataBase at a specific point in time usingWriteBatch().fromkona.key_value_storeimportKeyValueStoredb=KeyValueStore.new('file://./key_value_store_test_database',store_type='rocksdb',create_if_missing=True)batch=db.WriteBatch()batch.put(b'test_key_1',b'test_value_1')batch.put(b'test_key_2',b'test_value_2')batch.write()print(db.get(b'test_key_1'))print(db.get(b'test_key_2'))db.destroy_store()# Result# b'test_value_1'# b'test_value_2'CancelableBatchYou can cancel data written in batches usingCancelableWriteBatch().fromkona.key_value_storeimportKeyValueStoredb=KeyValueStore.new('file://./key_value_store_test_database',store_type='rocksdb',create_if_missing=True)test_items={b'test_key_1':b'test_value_1',b'test_key_2':b'test_value_2',b'test_key_3':b'test_value_3',b'test_key_4':b'test_value_4',b'test_key_5':b'test_value_5',}forkey,valueintest_items.items():db.put(key,value)cancelable_batch=db.CancelableWriteBatch()cancelable_batch.put(b'cancelable_key_1',b'cancelable_value_1')cancelable_batch.put(b'test_key_2',b'edited_test_value_2')cancelable_batch.put(b'cancelable_key_2',b'cancelable_value_2')cancelable_batch.put(b'test_key_4',b'edited_test_value_4')cancelable_batch.write()forkey,valueindb.Iterator():print(f'Before Cancel: key={key}, value={value}')cancelable_batch.cancel()forkey,valueindb.Iterator():print(f'After Cancel: key={key}, value={value}')db.destroy_store()# Before Cancel# Before Cancel: key=b'cancelable_key_1', value=b'cancelable_value_1'# Before Cancel: key=b'cancelable_key_2', value=b'cancelable_value_2'# Before Cancel: key=b'test_key_1', value=b'test_value_1'# Before Cancel: key=b'test_key_2', value=b'edited_test_value_2'# Before Cancel: key=b'test_key_3', value=b'test_value_3'# Before Cancel: key=b'test_key_4', value=b'edited_test_value_4'# Before Cancel: key=b'test_key_5', value=b'test_value_5'# After Cancel# After Cancel: key=b'test_key_1', value=b'test_value_1'# After Cancel: key=b'test_key_2', value=b'test_value_2'# After Cancel: key=b'test_key_3', value=b'test_value_3'# After Cancel: key=b'test_key_4', value=b'test_value_4'# After Cancel: key=b'test_key_5', value=b'test_value_5'
Package: konan-sdk
Getting Startedfromkonan_sdk.sdkimportKonanSDKif__name__=='__main__':# Initialize the SDK. Set verbose to True if you want verbose logging.sdk=KonanSDK(verbose=False)# Login user your valid konan credentialsuser=sdk.login("<email>","<password>")# Define the input data to be passed to your modelinput_data={"feature_1":1,"feature_2":"abc",}# Run the predictionprediction_uuid,ml_output=sdk.predict("<deployment_uuid>",input_data)# Print the returned outputprint(prediction_uuid,ml_output)
Package: konbata
KonbataPython File Converter for hierarchical dataA Python file converter for hierarchical data delivering simple, flexible and dynamic experiences.What is it?Konbata is a python libary, that allows you to covert a file.
It formats the content of the input file into the output format, by using an internal data structure.At least, this is the goal of the project.
It can also be used as an tool in the terminal.Why does the world need this?Simple, there are just too many file formats (see some file formats below).
And almost every tool needs its data in another file format.
This is where konbata comes in place, it serves as interface between tools and file formats.Just a list of some file formats:
xml, csv, json, html, txt, ...Where to get it?The source code is available on GitHub:https://github.com/jzeuner/konbataYou can install the latest version with pip.foo@bar:~$pipinstallkonbataUsagekonbata.py [-h] [-sh] [-g] [-del DELIMITER] [-opt OPTIONS]
                input_file output_file

positional arguments:
  input_file            Path of input file
  output_file           Path of output file

optional arguments:
  -h, --help            show this help message and exit
  -sh, --show           Show output file
  -g, --get             Get output file
  -del DELIMITER, --delimiter DELIMITER
                        Set input delimiter: -del ';'
  -opt OPTIONS, --options OPTIONS
                        Additional OptionsLicenseMIT LicenseDocumentationTo be added.WikiDiscussions and DevelopmentFeel free to contact me (e.g via Github) or to contribute in the project.Contribute to KonbataAll kind of contributions are welcome!Contribution GuidelineA detailed guide, has to be added.Example# TODOfoo@bar:~$pythonkonbata.py/test/inputfile.csv/test/outputfile.xlsxSupported FormatsFormatStatusBasic ConvertExtended ConverttxtActiveTrueFalsecsvActiveTrueFalsexlsxActiveTrueFalsexml---json---YAML---...---