Saravanan666/pypi-org huggingface dataset:
Package: jbigkit-py
jbigkit-pyjbigkit-py is a Python binding library tojbigkit, making you able to encode/decode image to/fromJBIGformat.jbigkit-py is designed for Python3.6+. It has not been tested on Python2 yet.InstallFrom pip:$pipinstalljbigkit-pyOr from source:# make sure you have c++ compiler installed before# make sure you have setuptools, pybind11 installed in pip before$gitclone--recurse-submoduleshttps://github.com/HyperSine/jbigkit-py.git
$cdjbigkit-py
$pipinstall.To perform tests after installation:# make sure you have pytest, Pillow installed in pip before$python-mpytest.TutorialA decode example:#!/usr/bin/env python3importjbigkitwithopen('path to a .jbg file','rb')asf:jbg_data=f.read()decoder=jbigkit.JbgDecoder()status,processed_len=decoder.decode_in(jbg_data)# status should be JbgErrno.EOK if a valid .jbg file was givenassertstatus==jbigkit.JbgErrno.EOK# make sure all processedassertprocessed_len==len(jbg_data)w,h=decoder.get_width(),decoder.get_height()print('the .jbg file has image size{:d}x{:d}'.format(w,h))print('the .jbg file has{:d}planes.'.format(decoder.get_planes_num()))# to get the i-th planeith_plane=decoder.get_plane(i)# type: memoryview# pass the i-th plane to Pillow library for further processingimportPIL.Imageimg=PIL.Image.frombytes('1',(w,h),bytes(ith_plane),'raw','1;I')For encode, seetests/test_JbgEncoder.pyAPI ReferenceAPIsDescriptionsJbgEncoder.__init__(x, y, *planes)Equivalent to calljbg_enc_init.Planes data is pass via*planesvariadic arguments. Each one for a plane, and must be Bytes-like object.JbgEncoder.set_lrlmax(mwidth, mheight)Equivalent to calljbg_enc_lrlmax.JbgEncoder.set_layers(d)Equivalent to calljbg_enc_layers.JbgEncoder.set_lrange(dl, dh)Equivalent to calljbg_enc_lrange.JbgEncoder.set_options(order, options, l0, mx, my)Equivalent to calljbg_enc_options.JbgEncoder.encode_out()Equivalent to calljbg_enc_out, but returns abytesobject which is the encode result.JbgDecoder.__init__Equivalent to calljbg_dec_init.JbgDecoder.set_maxsize(xmax, ymax)Equivalent to calljbg_dec_maxsize.JbgDecoder.decode_in(buf)Equivalent to calljbg_dec_in.bufmust be Bytes-like object.JbgDecoder.get_width()Equivalent to calljbg_dec_getwidth.JbgDecoder.get_height()Equivalent to calljbg_dec_getheight.JbgDecoder.get_plane(plane)Equivalent to calljbg_dec_getimageandjbg_dec_getsize.It returns a readonlymemoryviewobject which is the data of user-specified plane.JbgDecoder.get_planes_num()Equivalent to calljbg_dec_getplanes.JbgDecoder.merge_planes(use_graycode)Equivalent to calljbg_dec_merge_planes.JbgErrno.to_string()Equivalent to calljbg_strerror.Version ConventionAs this project is based on the C libraryjbigkit, this project uses the following scheme for versioning:<version of C library jbigkit>.<a integer for jbigkit-py version>For example, a release with version2.1.1means it is based on jbitkit-2.1 and is the 1st release of jbigkit-py.
Package: jbiot
Descriptionjbiot J. bioinformatic devtoolkits which contain:- lsub
- csub
- smartFqs.py
- jbio.start/stop/send
- docker2sing.py
- startup
- md2html.py
- always
- filterTable.py
- render.py
- tsv2xls.py
- xls2tsv.pyinstall it and try them:pip install -U jbiot
Package: jblibpandas
jblib-pandasAuthor: Justin BardThis module was written to minimize the need to write the pandas related functions I use often. These modules were stripped out of jblib to minimize the dependencies required to import jblib. I.E. PandasThe source code can be viewed here:https://github.com/ANamelessDrake/jblib-pandasMore of my projects can be found here:http://justbard.comINSTALL:python3 -m pip install jblibpandasfrom jblibpandas import mean_deviationDESCRIPTION:
        This function takes a Pandas DataFrame column in and then returns a series of calculated mean deviations

    FUNCTION:
        mean_deviation(data, mean=None)

    EXAMPLE:
        data["MeanDeviation"] = pd.Series(mean_deviation(data['column']), index=data.index)from jblibpandas import standard_deviationDESCRIPTION:
        This function takes a Pandas DataFrame column in and then returns the calculated standard deviation

    FUNCTION:
        standard_deviation(data, mean=None)

    EXAMPLE:
        standard_dev = standard_deviation(data['column'])
Package: jbnetwork
Explicación de la funcionalidad de la librería.La presente librería permite crear y analizar redes bayesianas. Para lo mismo, se necsita crear lo siguiente:Una red que contenga los nodos y las aristas que se desean analizar de la siguiente forma:red = {
"A": ["B", "C"],
"B": [],
"C": ["D"],
"D": []
}Una red de probabildades que contenga las probabilidades de cada nodo de la siguiente forma:probabilidades = {
"A": {"distribucion": [0.1, 0.9], "padres": []},
"B": {"distribucion": [0.8, 0.2], "padres": [("A", 0), ("A", 1)]}, # 0.8 = P(B=0|A=0, C=0), 0.2 = P(B=0|A=0, C=1)
"C": {"distribucion": [0.7, 0.3], "padres": [("A", 0), ("A", 1)]}, # 0.7 = P(C=0|A=0, C=0), 0.3 = P(C=0|A=0, C=1)
"D": {"distribucion": [0.6, 0.4], "padres": [("C", 0), ("C", 1)]} # 0.6 = P(D=0|C=0), 0.4 = P(D=0|C=1)
}Estas dos redes se deben pasar a la librería de Bayes de la siguiente forma:bayes = Bayes(red, probabilidades)Esto devolverá un texto que indica si la red está completamente descrita o no.Para calcular la probabilidad de una variable, se debe llamar a la función de la siguiente forma:Crear un query de la siguiente forma:
query = ("A", ("B", 0), ("C", 1), ("D", 0))Luego, llamar a la función de inferencia de la siguiente forma:
bayes.inferencia(red, probabilidades, query)Con lo anterior se obtiene la probabilidad de la variable A, dada la evidencia de que B=0, C=1 y D=0.
Package: jb-news
JB-NewsThis library is a comprehensive wrapper for JBlanked's News API. It leverages the power of OpenAI, Machine Learning, and MQL5's Calendar to provide developers with easy access to news data across all computer languages, including MQL4 and Python.FeaturesEasy access to JBlanked's News APIAccess to News Event History, Machine Learning Predictions, Smart Analysis, and more.Supports multiple programming languages including MQL4 and PythonInstallationpip install jb-newsThis API is freely accessible through our library and through GET requests. Get your API key from:https://www.jblanked.com/profile/. Note that the free tier has a rate limit of once every 5 minutes, but VIP members enjoy unrestricted access.UsageAfter installation, import the class:fromjb_news.newsimportCJBNewsThen set a variable as an instance of the CJBNews class:jb=CJBNews()A list of Event IDs are found onhttps://www.jblanked.com/news/api/docs/.Next, set your API key and Event ID:api_key="YOUR_API_KEY_HERE"event_id=756020001# CHF CPINext step is to connect to the API by using the get method.ifjb.get(api_key):Lastly, load the event info of the specified Event ID:ifjb.load(event_id):name=jb.info.namecurrency=jb.info.currencyevent_id=jb.info.eventIDhistory=jb.info.historycategory=jb.info.categorymachine_learning=jb.info.machine_learningsmart_analysis=jb.info.smart_analysis# print the news infoprint(f"Event Name:{name}\nEvent ID:{event_id}\nCurrency:{currency}")Alternatively, you can load the calendar:ifjb.calendar(api_key,today=True):foreventinjb.calendar_info:name=event.namecurrency=event.currencyevent_id=event.eventIDcategory=event.categorydate=event.dateactual=event.actualforecast=event.forecastprevious=event.previousoutcome=event.outcomestrength=event.strengthquality=event.qualityprojection=event.projection# print the calendar infoprint(f"Event Name:{name}\nEvent ID:{event_id}\nCurrency:{currency}\nDate:{date}\nActual:{actual}\Forecast:{forecast}\Previous:{previous}")
Package: jboc
No dependencies, no paradigm - Just a Bunch Of CodeA small collection of some useful code that didn't fit into any package that I know of.ExamplesTurn a generator function into a function that returns a list:fromjbocimportcollect@collectdefodd_numbers(n):foriinrange(n):yield2*i+1# not a generator anymoreodd_numbers(3)==[1,3,5]Same as before, but gather the values into a different container, e.g. a dict:fromjbocimportcomposed@composed(dict)defvals_to_squares(values):forvinvalues:yieldv,v**2# the pairs are gathered in a dictvals_to_squares([3,2,8])=={3:9,2:4,8:64}Installpipinstalljboc
Package: jboss
JBoss API client – Short description.ContentsRequirementsInstallationUsageBug trackerContributingContributorsLicenseRequirementspython >= 2.6InstallationJBoss API clientshould be installed using pip:pip install jbossUsagefrom jboss import APIClient

client = APIClient()
response = client.api.runtime['test:dev:1.0'].process['process-name'].start.post()
response = client.api.task.query(processInstanceId=response.json['id'])Bug trackerIf you have any suggestions, bug reports or
annoyances please report them to the issue tracker
athttps://github.com/klen/jboss/issuesContributingDevelopment of JBoss API client happens at:https://github.com/klen/jbossContributorsklen(Kirill Klenov)LicenseLicensed under aBSD license.
Package: jbossply
This simple python library is a JBoss output lexer & parser based onPLY(yet another implementation of lex and yacc for Python).JBoss CLI server has output that closely resembles JSON, but it is not 100% JSON so it is difficult
to parse it with ordinary tools. With this library you can process JBoss output and parse it as JSON.Examplefromjbossply.jbossparserimportJbossParsertest3="""{
    "outcome" => "success",
    "result" => {
        "rule-1" => {
            "flags" => "L,QSA,R",
            "pattern" => "^/$",
            "substitution" => "/ejbca",
            "condition" => undefined
        },
        "rule-3" => {
            "flags" => "L,QSA,R",
            "pattern" => "^/pki/?$",
            "substitution" => "/ejbca/adminweb",
            "condition" => undefined
        }
    }
}
"""parser=JbossParser()print(parser.parse(test3))Which gives output{u'outcome': u'success', u'result': {u'rule-3': {u'pattern': u'^/pki/?$', u'flags': u'L,QSA,R', u'condition': None, u'substitution': u'/ejbca/adminweb'}, u'rule-1': {u'pattern': u'^/$', u'flags': u'L,QSA,R', u'condition': None, u'substitution': u'/ejbca'}}}You may want to cache parser tables, then createJbossParserlike this:parser=JbossParser(write_tables=True,outputdir='/tmp/table-dir')Command line usageAfter installed with pip you may use also the command line helperjboss2json.$ cat jboss-output.txt | jboss2json
{"outcome": "success", "result": {"rule-3": {"pattern": "^/pki/?$", "flags": "L,QSA,R", "condition": null, "substitution": "/ejbca/adminweb"}, "rule-1": {"pattern": "^/$", "flags": "L,QSA,R", "condition": null, "substitution": "/ejbca"}}}InstallationYou can install this package using pip:pip install jbossplyCreditsThe code is based on @vsajip repositoryjson-ply
Package: jb.recipe.supervisor
IntroductionThis recipe installs and configuresupervisoraccording to a configuration
file.How to use?You can use by configuration yourbuildout.cfgconfiguration file like
this:[buildout]
parts = supervisor

[supervisor]
recipe = jb.recipe.supervisor
configuration-file = supervisor-sample.confYou can download a sample configuration file athttps://github.com/multani/jb.recipe.supervisor/raw/master/supervisord-sample.confRunning Buildout with this configuration file will generate:asupervisorconfiguration file using the template from theconfiguration-filesettings as shown above;bin/supervisord, which is a script to run thesupervisordaemon,
according to the content of the configuration file above ;bin/supervisorctl, which is a script to run thesupervisorclient,
according to the content of the configuration file above.Additional settingsBy default, the configuration file will end inparts/PART_NAME/supervisord.conf, but you can change it by setting theoutput-dirin your configuration file:[buildout]
parts = supervisor

[supervisor]
recipe = jb.recipe.supervisor
configuration-file = supervisor-sample.conf
output-dir = /foo/bar
# The configuration will end in /foo/bar/supervisord.confThe configuration file is processed bycollective.recipe.template. It means
you can use Buildout variables inside your template, such as${buildout:parts-directory},${_buildout_section_name_}, or any valid
settings. Seehttp://pypi.python.org/pypi/zc.buildout/1.5.2#variable-substitutionsfor more
informations.Related projectscollective.recipe.supervisoris a similar project, but with a different
approach. I liked to be able to configuresupervisorfrom Buildout but I
found the syntax used bycollective.recipe.supervisorto be confusing and
really ad-hoc.0.0.1 (2012-03-11)Initial release
Package: jbrela-jakubBrela
python-package-exampleThis is a minimal python package, for use alongside the lesson:https://github.com/BillMills/pythonPackageLessonContributing:Please do! Guidelines:This lesson is for beginners. Yes there are plenty of super fancy things we don’t cover here; someday, we’ll make a different, super fancy lesson to teach those things.Max 100 lines per PR please.Open an issue or empty PR first to talk about controversial changes.
Package: jbrowse-jupyter
JBrowse JupyterJBrowse Jupyter is a python package that let's you create JBrowse 2 views in
Jupyter notebooksDemosBasic usage -SKBR3 cancer cell line demo -TutorialsTutorial for setting up JupyterLab locally with jbrowse-jupyterhttps://github.com/GMOD/jbrowse-jupyter-tutorial/DocumentationMore documentation herehttps://gmod.github.io/jbrowse-jupyter/docs/html/index.htmlInstallation$ pip install jbrowse-jupyterResourcesJBrowse 2 homepageLinear Genome View docs-
storybook docs of React LGVDash Applicationshow to get started to
custumize Dash applications.Dash HTML componentsDash html
components to build the Dash application layout.Dash JBrowsesuite of Dash components
for JBrowse viewsContributingSee ourcontributing guide.CitationJBrowse Jupyter: a Python interface to JBrowse 2, Bioinformatics (2023)https://doi.org/10.1093/bioinformatics/btad032Contact usReport a bug or request a feature athttps://github.com/GMOD/jbrowse-jupyter/issuesJoin our developers chat athttps://gitter.im/GMOD/jbrowse2Send an email to our mailing list atgmod-ajax@lists.sourceforge.netFAQWhat file types are supported?We currently support:bam/crambigwigbigbedindexed fasta/bgzip indexed fastatwobitgff3 tabixvcf/vcf tabixHow do I configure text searching?In order to configure text searching in your Linear Genome View, you must first
create a text index. Follow the steps foundhere.
Then you must create and add a text search adapter to your config.Can I use local files/my own data?Yes, there are a couple of ways in which you can configure and use your own data
from your local environment in jbrowse views. 1. Make use of the jupyter
notebook/lab server. Intended for those running their notebooks with jupyter lab
or jupyter notebook. 2. Launch your own http server with CORS which will enable
you to use local files. You can run our serve.py to launch our dev server.
(Checkout our local_support.ipynb for tutorials on how to use your own data)
Package: jbturtle
jupyterlab-jbturtleSimple turtle module for JupyterLabJBTurtleThis module usesPillowAttention: Almost impractical with FireFox because of FOUC.Do not use with FireFox.Installpip install Pillow
pip install jbturtleSamplefrom jbturtle import *

turtle = JBTurtle(640, 400)
nn = 0
for count in range(100):
  turtle.line_hsv(nn, 1, 1)
  turtle.forward(100)
  turtle.turn_right(85)
  nn += 5FunctionsJBTurtle(xs, ys)Constructorxs: x-size of workspaceys: y-size of workspaceinit(xs, ys)Initializationxs: x-size of workspaceys: y-size of workspaceforward(dst)turn_right(angle)turn_left(angle)move(x, y)pen_up()pen_down()speed(spd)line_width(lw)line_color((r, g, b))line_rgb(r, g, b)line_hsv(h, s, v)
Package: j-builds
j buildsBuild and Deploy!Installpip3.7 install j_builds
pip3.7 install termcolorSetupcat build.ini[main]

[git]
# repo-directory = True to build it, False not to do so
repo-a = True
repo-b = True

[docker]
namespace = mynamespace

[before build]
cmd = echo "this runs before building"

[on success]
cmd = echo "this runs after a successful build"

[on fail]
cmd = echo "this runs after a not successful build"
Package: jbxapi
API Wrapper⚠ There have been some breaking changes in v3.0.0, please seeCHANGES.md.The Joe Sandbox API Wrapper enables you to fully integrate Joe Sandbox into your malware analysis framework. Joe Sandbox is a deep malware analysis platform for analyzing malicious files.You can use this wrapper withJoe Sandbox Cloud— our Cloud hosted instanceOn-premise installations of Joe Sandbox— for even more power and privacyIt is at the same time a powerful implementation of the Joe Sandbox API and also a command line tool for interacting with Joe Sandbox.LicenseThe code is written in Python and licensed under MIT.RequirementsPython 2.7 or higherPython 3.5 or higherInstallationWith Pippip install jbxapi⚠ On-premise installations with Joe Sandbox v25 or older should use the following version:pip install jbxapi==2.10.1For upgradingjbxapito a more recent version, usepip install --upgrade jbxapiManuallyInstall the python libraryrequests.pip install requestsCopyjbxapi.pyto where you need it.DocumentationCommand Line InterfacePython APICreditsThanks toPedram Aminifor a first wrapper implementation!LinksJoe Securiy LLCJoe Security BlogTwitter @joe4security
Package: jc3000
jc3000A small python package for generating music. Inspired bythiswhich was inspired bythis(that's why it's called jc3000).You can generate any notes you want based on anyfundamental(the frequency of concert A in this case, fundamental as a term is used kind of loosely). You can also use either just or equaltemperament.More readingThis pagehas really good information on how music and scales work at the physical level.Default sample rate is44,100 Hz.Default concert A is440 Hz.InstallationYou can install it via pip. It requires numpy. Probably not compatible with python <= 3.6.python3 -m pip install jc3000ExamplesPlay the liccfrom jc3000 import Sequence

s = Sequence(fs=44100, fundamental=440, equal=True)
s.add_note('d', duration=.125)
s.add_note('e', .125)
s.add_note('f', .125)
s.add_note('g', .125)
s.add_note('e', .257)  # .257 for ~swing-iness~
s.add_note('c', .125)
s.add_note('d', .25)

s.write_file('the_licc.wav')Play the C major scale with concert A set to 432 Hz.from jc3000 import Sequence

s = Sequence(fundamental=432)

notes = ['cdefgabc']

for i, note in enumerate(notes):
    if i < 5:
        s.add_note(note)
    else:
        s.add_note(note, octave=1)
        
s.write_file('cmajor_432hz.wav')
Package: jcal
jcaljcalis a package for Japanese holiday at 2019-2021.https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.htmlInstallationpip install jcalExamplefrompprintimportpprintfromjcalimportholidaypprint(holiday(2023)){datetime.date(2023, 1, 2),
 datetime.date(2023, 1, 9),
 datetime.date(2023, 2, 11),
 datetime.date(2023, 2, 23),
 datetime.date(2023, 3, 21),
 datetime.date(2023, 4, 29),
 datetime.date(2023, 5, 3),
 datetime.date(2023, 5, 4),
 datetime.date(2023, 5, 5),
 datetime.date(2023, 7, 17),
 datetime.date(2023, 8, 11),
 datetime.date(2023, 9, 18),
 datetime.date(2023, 9, 23),
 datetime.date(2023, 10, 9),
 datetime.date(2023, 11, 3),
 datetime.date(2023, 11, 23)}
Package: jcalapi
📅 jcalapijcalapi is a local calendar cache and JSON API that interacts with Exchange and
Confluence calendars. It fetches events and returns them in a JSON format,
making it easy to integrate calendar data into other systems.🚀 Getting Started📋 PrerequisitesPythonPoetry🔑 Setting Up CredentialsTo use jcalapi, you'll need to provide credentials for accessing your Exchange
or Confluence calendars. These credentials should be stored in a secure
location, and you should ensure that they are not exposed in your code or
version control system.For Exchange, you'll need your username and password.
For Confluence, you'll need your API token.See.envrc-samplefor an example.💾 Installation# pippipinstall--userjcalapi# pipxpipxinstalljcalapi🏃 UsageYou can run the application directly using Python:python-mjcalapi🐳 Blablabla, Docker?dockerrun-it--rm-p127.0.0.1:7042:7042\-eONFLUENCE_URL=https://confluence.example.com\-eCONFLUENCE_USERNAME=john.doe\-eCONFLUENCE_PASSWORD=XXX\-eEXCHANGE_USERNAME=john.doe@example.com\-eEXCHANGE_PASSWORD=XXX\ghcr.io/pschmitt/jcalapi📚 API UsageThe API provides endpoints for fetching calendar events. Here's an example of how to use it:curlhttp://localhost:7042/todayThis will return a JSON response with the events data:[{"uid":"event1","backend":"exchange","calendar":"calendar1","organizer":"organizer1","attendees":{"name":"hisname","email":"his@email.com","optional":false,"response":"Accept"},"summary":"event1 summary","description":"event1 description","body":"event1 body","location":"event1 location","start":"2023-06-06T00:00:00","end":"2023-06-06T01:00:00","whole_day":false,"is_recurring":false,"categories":["Cat1","Cat2"],"status":"confirmed","extra":{"conference_type":"Teams","meeting_workspace_url":"https://teams.microsoft.com/l/meetup-join/...","net_show_url":"https://teams.microsoft.com/l/meetup-join/..."},"conference_url":"https://teams.microsoft.com/l/meetup-join/..."},...]To fetch events for tomorrow, you can use the/tomorrowendpoint:curlhttp://localhost:7042/tomorrowThis will return a JSON response with the events data for tomorrow.The/metaendpoint provides metadata about the backends (Confluence/Exchange):curlhttp://localhost:7042/metaThe/reloadendpoint allows you to reload the calendar data:curl-XPOSThttp://localhost:7042/reload🤝 ContributingContributions are welcome! Please feel free to submit a pull request.🧑‍💻 Development setupClone the repositorygitclonehttps://github.com/pschmitt/jcalapi.gitNavigate into the cloned repositorycdjcalapiSetup the environmentpoetryinstall📄 LicenseThis project is licensed under theGNU General Public License v3.0.
Package: jcalendar
jcalendarjcalendar isJalaliimplementation of Python's calendar moduleStatusInstallpip install jcalendarDocumentsThis modulealmostfollowsPython calendar.almost: locale is not implemented yet.Example>>>c=calendar.TextCalendar()>>>c.prmonth(1400,5)Mordad1400SaSuMoTuWeThFr12345678910111213141516171819202122232425262728293031Todosupport calendar locale
Package: jcalg1
JCALG1A python module to interface with Jeremy Collake'sJCALG1compression algorithm.Getting startedInstallationClone the github repogit clone https://github.com/CallMeAlexO/jcalg1.git
cd jcalg1Then just installpython setup.py installUsageI planned to make JCALG1 as similar as possible to zlib, for consistancy.
There are two functions:compressanddecompress.importjcalg1text="""Mary had a little lamb,Little lamb, little lamb,Mary had a little lambWhose fleece was white as snow.And everywhere that Mary went,Mary went, Mary went,Everywhere that Mary wentThe lamb was sure to go.""".encode('utf-8')compressed=jcalg1.compress(text,level=9,skip_checksum=False)decompressed=jcalg1.decompress(compressed)print(decompressed==text)LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsThe algorithm's original author - Jeremy Collake, who gave me permission to share this on github. Thank you Jeremy!
Package: jcat
jcatPython implementation ofcatjOrigin:https://git.osuv.de/m/jcatMirror:https://gitlab.com/markuman/jcatInstallpip install jcatexample~$ cat /tmp/test2.json
{
  "mappings": {
    "templates": [
      {
        "fields": {
          "mapping": {
            "norms": false,
            "type": "text",
            "fields": {
              "keyword": {
                "ignore_above": 256,
                "type": "keyword"
              }
            }
          }
        }
      }
    ]
  }
}
~$ jcat
USAGE:
        cat some.json | jcat
        jcat some.json

~$ jcat /tmp/test2.json
.mappings.templates[0].fields.mapping.norms = False
.mappings.templates[0].fields.mapping.type = "text"
.mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256
.mappings.templates[0].fields.mapping.fields.keyword.type = "keyword"