Skip to main content

Official Python Standard Library for Xkye Language

Project description

Introducing Xkye-Python standard library to provide objective query builder for xkye language. You can easily query the entities from the xkye file using this library. It provides a more convenient and idiomatic way to write and manipulate queries.


Installation

Install library with pypi:

$ pip3 install xkye

Usage

from xkye import IO as io

#initiate the xkye with io
x = io(filename.xky)

#read the contents of the file
x.read()

#get the output of any of the entity from teh xky file
#to get the value of the entity
x.get("entityname")

#to get the value of the entity in the given clutch
x.get("entityname","clutchname")

#to get the value of the entity in the given cluth's span
x.get("entityname","clutchname", clutchspan)

#to get the span count of the given cluster
x.getSpan("clustername")

Examples

Please use the examples directory to see some complex examples using xkye-pyhton library. For details about xkye syntax and format, use the offical Xkye-lang documentation.


Documentation

Documentation is available at xkye-python.readthedocs.io .


Version matrix

Xkye version

Xkye-Python Library version

>= 1.0.0

>= 1.0.0


Upcoming features on or before v2.0.0

  • Ability to get the span limit of the given cluster (Completed)

  • Ability to add entity, clutch and subclutch


Contribution Guide

Want to hack on Xkye-Python? Awesome! We have Contribution-Guide on our official repo. If you are not familiar with making a pull request using GitHub and/or git, please read this guide . If you’re looking for ways to contribute, please look at our issue tracker .


License

Xkye-python is open-source standard python library for xkye language that is released under the MIT License. For details on the license, see the LICENSE file.


If you like this library, help me to develop it by buying a cup of coffee

Buy Me A Coffee Badge

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xkye-1.0.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

xkye-1.0.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file xkye-1.0.1.tar.gz.

File metadata

  • Download URL: xkye-1.0.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8

File hashes

Hashes for xkye-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5ca0582fe128ba7858059332d2a5a740a3c14673bf78ca53416b0495ef555ae1
MD5 1a548b175d6eee892722a87525f151d0
BLAKE2b-256 d52e3176d04e0aac314cea094462e847ff9acc9478973f5a3897817ae1ba9c70

See more details on using hashes here.

File details

Details for the file xkye-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: xkye-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8

File hashes

Hashes for xkye-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6451b83e354b7694a19abb2b59901d56a0aaa036dab0d7700df8533913226558
MD5 3d31503fd18278f3acee1d0c1b00dd95
BLAKE2b-256 3d5d5580a9dca110eb96041012777beb81505a632edab873e8daf404e7d3a979

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page