Saravanan666/pypi-org huggingface dataset:
Package: jp-cleanup
Jupyter notebook cleanupWorking with PyCharm and your Jupyter notebooks becoming quite heavy and slow down your system? This project contains
some tools to cleanup you Jupyter notebooks.UsageYou may want to remove the output of all cells since loading the notebook takes ages. You can either use jp-cleanup
on the command line or programmatically.Command-lineAt first, install jp-cleanup with pip using the version on GitHubpipinstallgit+https://github.com/larsklitzke/jp-cleanup.gitor on PyPipipinstalljp-cleanupAfter installation, you can clear the output fields of a notebooktest-notebookwithjp-cleanup--filetest-notebook.ipynb--clearwith--clearbeing an extra flag to not remove the output of a notebook accidentally.To list all available parameters or view the current version, runjp-cleanupwith the--helpflag.jp-cleanup--helpPythonInstead of runningjp-cleanupon the command-line, you can also use the package in Python. To remove the outputs of
a certain jupyter notebooktest-notebook, load the fileimportjpcleanupasjpcpath,content=jpc.load('test-notebook')# or with .ipynbreset the output of all cellscontent = jpc.clear_field(content)and write the result back to either the same filejpc.save(content, path)or a new filejpc.save(content,'test-result')# or with .ipynbInstallationEither clone this project withgitclonehttps://github.com/larsklitzke/jp-cleanupto extend the functionality of the project or, since the the project is hosted on PyPi, install it withpipinstalljp-cleanuporpipinstallgit+https://github.com/larsklitzke/jp-cleanup.gitLicenseCopyright (C) 2019  Lars Klitzke,Lars.Klitzke@gmail.comThis 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 3 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, seehttp://www.gnu.org/licenses/.
Package: jpcm
perceptual-jp-colormapsA perceptually uniform colormap generator for Matplotlib equipped with traditional-ish Japanese colors to serve as a fixed color palette.Additions are welcome.Why perceptually uniform colormaps? Can you not just use default Matplotlib colormaps?non-perceptually uniform colormaps induce dangerous artifacts, as seen in the below image:.
The left colormap introduces new features to the data.Matplotlib perceptually uniform colormaps aresimply not visually appealingand sometimes lack enough contrast.
With this package, anyone can design colormaps to fit their visual style.dependencies:Python3:--	colour-science--	numpy
--	logging--	scipy--	json--	pynverse--	matplotlibtested on:Windows 10LinuxPython 3.8, 3.10, 3.12expected to work on:MacOSall Python >=3.6 (support available for >=3.8)install:pip3 install jpcmor download sourcerun generator:to create your own colormapsas a package:import jpcmjpcm.register()will register all default colormaps and any additional ones via the optionalcustom_mapsargument.
Note any custom_maps should be of the following format (note the RGB key colors):cmaps = {   'def' : [[0,0,0],[255,0,0]],   }The optionaldatafileargument will cause jpcm to save all colormaps to that location as well.directly via code:edit maps.py with your preferred cmap styles, and runpython3 gen.pyorpython3 gen.py --readmefrom/gen/load colormaps:import jpcmjpcm.open(<filename>)will return a dictionary containing all the colormaps in the file at .Note the file should be of the same type as the generated 'cmap.txt' from the generatorgallery
Package: jpcovid
jpcovidjpcovidの目的は日本の都道府県ごとのcovid-19に対する政策の政策提案者の失敗を特定することです。jpcovidはcovid-19による都道府県ごとの死者数の総計をその都道府県の人口で割ったスコアを時系列でグラフにしましたそのスコアのグラフは連続値で単調増加関数です。そのため、急激にグラフが増加しているところで政策提案者が間違いを犯していることとなります。グラフの値が高いところほど、政策提案者はより深刻な間違いを犯していると考えることができます。jpcovid は、インターネットを介して次のサイトから最新のデータをスクレイピングします。https://www3.nhk.or.jp/n-data/opendata/coronavirus/nhk_news_covid19_prefectures_daily_data.csvjpcovidのインストール方法$pip install jpcovidjpcovidの実行方法$ jpcovid <都道府県名>$ jpcovid Tokyo Osaka$ jpcovid Tokyo Tottori$ jpcovid Osaka Niigata$ jpcovid Hokkaido Nara
Package: jpcovid-v2
jpcovid_v2jpcovid_v2の目的は政策提案者の失敗を特定することです。jpcovid_v2はcovid-19による各都道府県の死者数の総計をその国の人口で割ったスコアを時系列でグラフにし、そのスコアのグラフの傾きを示したものです。そのスコアのグラフは連続値で単調増加関数です。そのため、急激にグラフが増加しているところで政策提案者が間違いを犯していることとなります。したがって、このグラフの微分(傾き)を取れば、政策提案者の間違いをより明確に表すことができると考えました。出力されたグラフの値が高いところほど、政策提案者はより深刻な間違いを犯していると考えることができます。jpcovid_v2 は、インターネットを介して次のサイトから最新のデータをスクレイピングします。https://www3.nhk.or.jp/n-data/opendata/coronavirus/nhk_news_covid19_prefectures_daily_data.csvjpcovid_v2のインストール方$ pip install jpcovid_v2jpcovid_v2の実行方法$ jpcovid_v2 <都道府県名>$ jpcovid_v2 Tokyo Osaka$ jpcovid_v2 Tokyo Tottori$ jpcovid_v2 Osaka Niigata$ jpcovid_v2 Hokkaido Nara$ jpcovid_v2 Niigata Fukui Shimane Tottori
Package: jpcovid-v3
jpcovid_v3下記の二つのツールを同時に表示させるようにしました1, jpcovid(https://github.com/miyagawa-toshiki/jpcovid)2, jpcovid_v2(https://github.com/miyagawa-toshiki/jpcovid_v2)jpcovid_v3のインストール方法$ pip install jpcovid_v3jpcovid_v3の実行方法$ jpcovid_v3 <都道府県名>$ jpcovid_v3 Tokyo Osaka$ jpcovid_v3 Tokyo Tottori$ jpcovid_v3 Osaka Niigata$ jpcovid_v3 Hokkaido Nara$ jpcovid_v3 Niigata Fukui Shimane Tottori
Package: jpeg2dct
array or a Tensor containing DCT coefficients.Home-page: https://github.com/uber-research/jpeg2dctAuthor: Uber Technologies, Inc.Author-email: UNKNOWNLicense: UNKNOWNDescription: jpeg2dct library provides native Python function and a TensorFlow Op to read JPEG imageas a numpy array or a Tensor containing DCT coefficients.Platform: UNKNOWN
Package: jpeglib
jpeglibPython envelope for the popular C library libjpeg for handling JPEG files.libjpegoffers full control over compression and decompression and exposes DCT coefficients and quantization tables.InstallationSimply install the package with pip3pipinstalljpeglibor using the cloned repositorypythonsetup.pyinstall:warning: This will installjpeglibtogether with multiple versions of libjpeg, libjpeg-turbo and mozjpeg. For common architectures/OS we provide prebuilt wheels, but installing from source takes couple of minutes.UsageImport the library in Python 3importjpeglibDCTGetdiscrete cosine transform(DCT) coefficients and quantization matrices as numpy arrayim=jpeglib.read_dct('input.jpeg')im.Y;im.Cb;im.Cr;im.qtYou get luminance DCT, chrominance DCT and quantization tables.Write the DCT coefficients back to a file withim.write_dct('output.jpeg')Pixel dataDecompress theinput.jpeginto spatial representation in numpy array withim=jpeglib.read_spatial('input.jpeg')im.spatialYou can specify parameters such as output color space, DCT method, dithering, etc.Write spatial representation in numpy arrray back to file withim.write_spatial('output.jpeg')You can specify input color space, DCT method, sampling factor, output quality, smoothing factor etc.You can find all the details in thedocumentation.libjpeg versionIt is possible to choose, which version of libjpeg should be used.jpeglib.version.set('6b')Currentlyjpeglibsupports all versions of libjpeg from 6b to 9e, libjpeg-turbo 2.1.0 and mozjpeg 4.0.3.
Their source codes is baked inside the package and thus distributed with it, avoiding external dependency.Get currently used libjpeg version byversion=jpeglib.version.get()You can also set a libjpeg version for a scope only.jpeglib.version.set('6b')im=jpeglib.read_spatial('image.jpeg')# using 6bwithjpeglib.version('9e'):im=jpeglib.read_spatial('image.jpeg')# using 9eim=jpeglib.read_spatial('image.jpeg')# using 6b againCreditsDeveloped byMartin Benes, University of Innsbruck, 2023.
Package: jpe-types
Threading
-   adds thread inharitance and return posibility
-   logging filteter for thread inheritance
-   a thread and a lock in the same class to make it slitly easyer to work with threadsMultiprocessing:
-   multiprocessing safe print
-   returning values from processesconversions
- adds the abilty to convert ints to any baselogging:
- logging.log() decorator witch logs function calles
- logging.createDefaultLogger creats a default logger to logg cals curently rather restrictedutils:
log scanning:
- adds the ability to scan all log files for keywords
copy:
- fix fore schalow copy bug in lists see doc
Package: jpf
jpfPretty format all your json files at once in place with three charactersUsagejpfJust typing in the three magic characters will pretty format all your*.jsonfiles in the current folder and all subfolders.
Since the command is recursivejpfshould be used with caution.Optionsjpfcomes with some options to further customise the formatting of your files:argumentshortdefaultfunction--help-hshow this help message and exit--indent-i4format files with that indent level--sort-keys-sFalsedecide whether jpf should sort the keysInstallationpipjpfis as very simple to install using pip:pip install jpfcondaAlternativelyjpfcan be installed using conda:conda install -c conda-forge jpf
Package: jp-flowchartjs
flowchart_js_jp_proxy_widgetjp_proxy_widgetclass wrapper forflowchart.jsWe can also script the production of the flowchart:fromjp_flowchartjs.jp_flowchartjsimportFlowchartWidgetfcode='''st=>start: Starte=>end: Endop1=>operation: Generateop2=>parallel: Evaluatest(right)->op1(right)->op2op2(path1, top)->op1op2(path2, right)->e'''testEmbed=FlowchartWidget()testEmbed.charter(fcode)testEmbedreturn SVG embed:testEmbed.embed_svg()return SVG data:testEmbed.get_svg()return PNG embed:testEmbed.embed_png()return PNG raw:testEmbed.getpng()oneliner return SVG:FlowchartWidget().charter(fcode, embed=True)We can also define a really simple magic:fromIPython.core.magicimportregister_cell_magic@register_cell_magicdefflowchart_magic(line,cell):"Send code to simulator."returnFlowchartWidget().charter(cell,embed=True)and then call as:%%flowchart_magic

st=>start: Start
e=>end: End
op1=>operation: Generate
op2=>parallel: Evaluate
st(right)->op1(right)->op2
op2(path1, top)->op1
op2(path2, right)->eIf youimport jp_flowchartjs.jp_flowchartjsthe magic will be available.
Package: jpfmanager
You can use jpf manager to help in saving / getting objects to / from file using either json or pickleExemple:filetest_jpf.py:from pathlib import Path
from jpfmanager.jpf import FileManager
from toti_class import toti


if __name__ == "__main__":
    x = toti(5,6)
    pathi = str((Path(__file__).parent / 'test1.tst').absolute())
    FileManager.save(x,pathi)
    newX = FileManager.get(pathi)
    print(newX)Filetoti_class.pyclass toti(object):
    def __init__(self, val1, val2):
        self.Val1 = val1
        self.Val2 = val2FileManager.save(object, path, method = None)Args:
       path: provide a string path to where the file will be saved
       object: provide the object you want to save in that file
       method: save using either json or pickle, json is set by default
   Returns:
       bool representing if the save operation succeddedFileManager.get(path, method = None):Args:
        path: provide a string path to where the file is saved           
        method: save using either json or pickle, json is set by default
    Returns:
        False if the path is not correct or it is not a file path
        the content txt file in case of using json method and object in case of using the pickle methodjson pickle file manager repo
Package: jpg2pdf
jpg2pdfSimple Python module for generating PDF document from JPEG files.It can put multiple scans/photos of pages in JPEG(.jpg) into one PDF file without quality loss.
Python 3.6 or higher is required, no dependencies on external libraries.Usageimportjpg2pdfwithjpg2pdf.create('test.pdf')aspdf:pdf.add('1.jpg')pdf.add('2.jpg')pdf.add('3.jpg')
Package: jpgis-dem
JPGIS DEM toolA CLI tool to convert Japanese DEM XML files into Geotifs. A Python port oftmizu23/demtool.InstallationInstall with pippipinstalljpgis-demUsageConvert a single xml filejpgis-demxml2tifFG-GML-3622-57-DEM10B-20190510.xml3622-57.geotiffConvert a 10m zip containing a single xml filejpgis-demxml2tifFG-GML-3622-57-DEM10B.zip3622-57.geotiffConvert a 5m zip containing multiple xml files into a merged geotiffjpgis-demxml2tifFG-GML-3624-31-DEM5B.zip3624-31.geotiff
Package: jpg-png
JPG_to_PNG_converterThis program will change picture format from JPG to PNGHow to use it?The program will first ask user to insert thefolder namein which.jpgimages are present. The user simply provide the name of the folder.
If the folder is not present in the current directory, it will show a message saying "No folder named<folder_name>exist".If the user provides correct folder name, it will then ask user to input the name of the folder in which he/she wants to save the converted .png images.
If this folder already exists, it will save all the converted images in the that folder. Whereas if the folder does not exist, it will first create a folder and then will save all the converted images in the png formate.Installationpip install jpg-pngLicenseÂ© 2022 Ahzam AhmedThis repository is licensed under the MIT license. See LICENSE for details.
Package: jpg-sorter
DescriptionPurpose of this program is to allow user to change image Exif timestamps and rename file accordingly to them.Program updates following EXIF tags:ExifIFD.DateTimeOriginalExifIFD.DateTimeDigitizedFile name pattern is:yyyy_MM_dd_HH-mm-ss-XXwhere XX is a counter increased in case of name collision.#Installpip install jpg-sorter#RunningFrom command linejpg_sorterFrom python consoleimport jpg_sorter.sorter as sorter
sorter.main()#LicensesThis software is released under the MIT License, seeLICENSE fileIcons:Sitehttps://icons8.com/License:Creative Commons Attribution-NoDerivs 3.0 Unported.#Dependencies
See filerequirements.txt#AuthorZbigniew Kurzynski
Package: jphelper
A python library for processing your japanese learning materials.Installationpip install jphelperUsageConvert romaji to hiragana or katakana.fromjphelperimportkanaizekanaize('ohayou')# おはようkanaize('puroguramingu',to_katakana=True)# プログラミングkanaize('jyoukyou')# じょうきょうkanaize('gakkou')# がっこうPair kanji and its furigana.fromjphelperimportmatch_readingmatch_reading('学校','がっこう')# 学校[がっこう]match_reading('青い空','あおいそら')# 青[あお]い 空[そら]match_reading('すばしっこい茶色の狐','すばしっこいちゃいろのきつね')#すばしっこい 茶色[ちゃいろ]の 狐[きつね]Convert arabic numeral to japanese.fromjphelper.numberimportto_japaneseto_japanese(3907)# さんぜんきゅうひゃくななto_japanese(524,use_kanji=True)# 五百二十四to_japanese(-8437)# マイナスはっせんよんひゃくさんじゅうななto_japanese(0.456,decimal_limit=2)# ゼロてんよんごto_japanese(12500,separator='、')# いち、まん、に、せん、ご、ひゃく、ゼロPlaying with numbers.fromjphelper.numberimportshorten,kanji_groupingshorten(12345678987)# 123.4億kanji_grouping(-15124)# -1万5124kanji_grouping(-2345678.90123,use_hiragana=True,use_minus_sign=False)# マイナス234まん5678てん90123
Package: jphmm-tools
jpHMM toolsjphmm_toolsprovides methods for extracting information
fromjpHMM[Schulzet al.NAR 2012]output.It implements tool forconvertingLos Alamosalignment file
into a reference file suitable for jpHMM:jphmm_ref-haligning sequences based on the jpHMM output:jphmm_align-hextracting sequence subtype information from the jpHMM output:jphmm_subtype-h
Package: jp-holiday
Japnese Holiday日付が含まれるデータフレームを入れると，祝日フラグを与えてデータフレームを返します。引数には以下を指定してください。第一引数 => データフレーム第二引数 => データフレーム内の，日付が入っているカラム名第三引数 => 新しく作られる祝日フラグのカラム名を入れてください。
＊第三引数はデフォルト値がholidayです。日付は，str型でもdatetime型でも対応します。str型に変換して，スライスをしています。`
初めから4つが年，
6，7文字目が月
9，10文字目が日にちです。
他のところは何が入っていても問題ありません。ex1. 2021-01-01
ex2. 2021-01-01 01:01:00
ex3. 2021^01@01 ほりでい
ex4. 2020101901fromjp_holidayimportjp_holidaydf_with_holiday=jp_holiday.is_holidy(df,"date","is_holiday")
Package: jpipe
jpA python implementation (usingjmespath.py)
of thejpCLIfor theJMESPathlanguage (a query language for JSON).CompatiblityThe aim is for 100% compatiblity with the officialjpCLI for JMESPath.
Please open an issue if an incompatibility is found.Usageusage: jpipe {jp,jpp} ...

positional arguments:
  {jp,jpp}
    jp      A python implementation of the jp CLI for JMESPath
    jpp     jpp is an extended superset of the jp CLI for JMESPath
Package: jpkfile
jpkfilejpkfile is a module for reading of data archives recorded withJPK Instruments.
The project’s repository can be foundhere.InstallYou have the following three options to install jpkfile.via pipThe simplest way, if you have internet access on the target device, is to install  viapip. In a command line type:$ pip install --user jpkfilevia sourceYou can also clone/download the source files fromjpkfile’s project page. Navigate to your copy of the project folder in a command line and type:$ python setup.py install --useradd module to yourPYTHONPATHCurrentlyjpkfilehas only one relevant python filejpkfile.py, which makes “installing” straight-forward: you simply need to add the folder in which the .py file lies to your python path.
One way to do so is to add a.pthfile containing the path to the folder as text to your user’ssite-packagesfolder:
* On my Ubuntu 18.04 machine, the site-packages folder is at/home/<username>/.local/lib/python3.7/site-packages* If yours isn’t there, you can figure it out by starting python in the command line and typing>>> import site
>>> site.USER_SITEOpen a new file in a text editor, enter the path to the folder containing the jpkfile module.Save the file into the site-packages folder.That’s it. You should now be able to import jpkfile anywhere on your system.First StepsYou can have a look at theread_data_from_jpk_archive.pyfile, or, if you have jupyter/ipython notebook installed, at theread_data_from_jpk_archive.ipynbfile in the examples folder. Those examples show you first steps how to use the jpkfile module.DocumentationThe module is documented using sphinx. You can find a built version atreadthedocs.io, and also download it as PDF or HTML from there.
Alternatively, you can build it yourself locally. The source files include adocsfolder, which contains all the contents for the documentation. It requires sphinx (I tested only version 2.0.1) and the sphinx_rtd_theme to build.LicenseThe MIT License (MIT)
Copyright (c) 2016-2020 Ilyas KuhlemannPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: jpkgchanger
jpkgchangerChange java project package name easily with CLI tooljpkgchanger!InstallpipinstalljpkgchangerUsageTo change package name for java project source code fromcom.examoletocom.anotherrun in the project root directory:jpkgchanger--currentcom.example--targetcom.anotherTo ignore some folders or files you can use--protected_dirsor--protected_filesarguments:jpkgchanger--currentcom.example--targetcom.another\--protected_dirs.git\--protected_files.gitignore\/
Package: jpl
JiggyPlaybookLinterDescriptionUse Jiggy? Want to validate your playbook before deploying a pipeline?jplor theJiggyPlaybookLinterallows you to validate your JiggyPlaybook outside of an execution.InstallationFrom Source$gitclonehttps://github.com/thejig/jpl.git
$cdjpl
$python3.7-mvenvvenv
$sourcevenv/bin/activate
$pipinstall-e.From Build$pipinstalljplUsageVia CLIjplhas a CLI for easy usage$jpl--help

Usage:jpl[OPTIONS]ClickCLIentrypointtorunJiggyPlaybookLint.CLIArgs:-v--verbose:Run`jpl`withverbosity.-s--skip:Skip"PASSED"rulesinJiggyPlaybookLintReport.-p--playbook:LocationofJiggyPlaybooktolint.Returns:click.echo-`withstyle`Options:-v,--verboseRun`jpl`withverbosity.-s,--skipSkip`PASSED`rulesinjplreport-p,--playbookTEXTFilepathtoJiggyPlaybook[required]--helpShowthismessageandexit.A minimal test case$jpl-v-pexamples/jiggy-playbook.yml__________/\ \/\==\/\ \_\_\ \\ \_-/\ \ \____
/\_____\\ \_\\ \_____\\/_____/iggy\/_/laybook\/_____/inter[F01]FunctionSourceExists-get-weekday:FAILEDDeclaredpathtofunction:`examples.utils.dates.GetWeekdayTask`doesnotexist.Via python client with.validate()importjpl>>>client=jpl.JiggyPlaybookLint(path="path/to/playbook")>>>result=client.validate()Thevalidate()method will return atupleThe tuple denotes the validity of the playbook and the failing rules asJiggyRuleobjects(False,[<JiggyRule:F01>,<JiggyRule:F01>,<JiggyRule:F01>,<JiggyRule:F01>,<JiggyRule:F01>,<JiggyRule:F01>])OverviewAJiggyPlaybookis broken down into chunksPlaybookThe entire.ymlconstitutes the "playbook"PipelineThe keypipelineincluding alltasksconstitutes the "pipeline"TaskTasks are chunks of a pipeline having the below attributes:namedescriptionfunctionwhich containssource,params,outputrequiresname:Hello, world!author:me@jiggy.devdescription:Show off the usage of jplversion:0.0.1pipeline:runner:sequentialsecrets:location:examples/secrets/.env-examplesource:jiggy.EnvSecretstasks:-name:print-somethingdescription:Print somethingfunction:source:examples.utils.string_manipulation.PrintThisparams:-type:strvalue:'THISPIPELINEISGREAT'output:nullrequires:nullRulesEtymology:JiggyRule- JiggyRule.rule consists of 3 characters (i.e.)X01X: (char) - letter describes corresponding ruleset0: (digit) - incrementing based on third digit0: (digit) - incrementingExamples:Rule:PlaybookHasNamerule.rule = I (info) 0 (base 10) 1 (rule number 1)Rule:PipelineHasDescriptionrule.rule = P (pipeline) 0 (base 10) 1 (rule number 1)
Package: jplaceparser
JplaceParserPython tools to parse and manipulateJPlace files, the format ofEvolutionary Placementresults.JplaceParser allows not only reading Jplace files as python dictionaries but also manipulating field values and exporting back to jplace files. It contains a number of filters to remove placements that do not satisfy quality criteria. Currently, placements can be filtered by three criteria involving thependant and distalplacement length as well as the phylogenetic tree diameter:Filter by maximum pendant lengthFilter by maximum pendant to distal length ratioFilter by maximum pendant to tree diameter ratioThis is an ongoing project!Installationpip install jplaceparserorGit clone project to local directory.In terminal navigate to directory and enter:python setup.py installfromjplaceparserimportJplaceParserjplace=JplaceParser.fromJplaceFile("examples/example.jplace")jplaceNumber of Placements19Fieldsedge_num, likelihood, like_weight_ratio, distal_length, pendant_lengthJplaceParser version0.0.1AuthorSemidán Robaina Estévez, 2022filtered_jplace=jplace.filterByMaxPendantToTreeDiameterRatio(max_pendant_ratio=0.001)filtered_jplace.writeToFile("examples/filtered_example.jplace")filtered_jplaceFiltering placements for tree diameter: 4.519636416Number of Placements9Fieldsedge_num, likelihood, like_weight_ratio, distal_length, pendant_lengthJplaceParser version0.0.1AuthorSemidán Robaina Estévez, 2022