Saravanan666/pypi-org huggingface dataset:
Package: py-jelastic
py-jelasticPython API client library forJelastic.Note:This library is only tested with Jelastic version v8.4.1.InstallationYou can clone the repo and runpython setup.py install.Quick StartTo begin, import the Jelastic client and instantiate the API.fromjelasticimportJelasticjelastic=Jelastic('https://app.xapp.cloudmydc.com',token='d6f4e314a5b5fefd164995169f28ae32d987704f')The library follows the convention from the Jelastic API documentation. For example, to get the list of accounts, you would do the following:fromjelasticimportJelasticjelastic=Jelastic('https://app.xapp.cloudmydc.com',token='d6f4e314a5b5fefd164995169f28ae32d987704f')accounts=jelastic.billing.Account.GetAccounts()The result is a JSON dictionary returned from the Jelastic API.You can read more about this library atRead the Docs.
Package: pyjellyfish
pyJellyfish : Python wrapper around Jellyfish (k-mer counter)NOTEThis install script is not yet PEP517 compliant, which means the
wheel and setuptools packagesneedto be in your environment.Do not forget this line when setting up your environment (see below):pip install --upgrade setuptools wheel pipIntroductionThis tool essentially serves as an installer for Jellyfish for use with
Python. A small bundle of utilities is also included.CitingGuillaume Marcais and Carl Kingsford, A fast, lock-free approach for
efficient parallel counting of occurrences of k-mers. Bioinformatics
(2011) 27(6): 764-770; doi:https://doi.org/10.1093/bioinformatics/btr011InstallWith pippython -m venv $HOME/.virtualenvs/km
source $HOME/.virtualenvs/km/bin/activate
pip install --upgrade setuptools wheel pip
pip install .OptionsAdditionally, pyJellyfish contains an option to manually specify which
Jellyfish version one wishes to build against. This can be done by
running setup.py with the custom build commandjellyfish.source $HOME/.virtualenvs/km/bin/activate
python setup.py jellyfish --version 2.2.10Note that the setup script will automatically detect if jellyfish has
already been built and use that instead of re-running the jellyfish step.
After running the previous command, installation will proceed as usual.pip install .RequirementsPython 3.6.0 or later
Package: pyjen
OverviewExtensible, user and developer friendly Python interface to theJenkinsCI tool, wrapping the features exposed by
the standard RESTAPIusing
Pythonic objects and functions. Tested against the latest 2.x and 3.x versions
of Python, and the latest trunk and LTS editions of Jenkins.With an intuitive and well thought out interface, PyJen offers anyone familiar
with the Python programming language an easy way to manage Jenkins servers
from a simple command prompt. All core primitives of Jenkins including views,
jobs and builds are easily accessible and can be loaded, analyzed and even
modified or created via simple Python commands.Comments, suggestions and bugs may be reported to the projectmaintainerFull API documentation can be found onReadTheDocs.org.Quick start guideFirst, we recommend that you install the pip package manager if it is not
already installed. Seeherefor
details.Install PyJen directly from PyPI using PIP:# pip install pyjenimport the pyjen module and start scripting!
See below for some common examples.For a more in-depth guide to contributing to the project, see ourcontributors guide.ExamplesDisplay a list of all jobs on the default viewfrom pyjen.jenkins import Jenkins
jk = Jenkins("http://localhost:8080")
vw = jk.default_view
jobs = vw.jobs

for j in jobs:
    print(j.name)Disable all jobs in a view named “My View”from pyjen.jenkins import Jenkins
jk = Jenkins("http://localhost:8080")
vw = jk.find_view("My View")
vw.disable_all_jobs()Get all upstream dependencies of a job named “JobA”from pyjen.jenkins import Jenkins
jen = Jenkins("http://localhost:8080")
jb = jen.find_job("JobA")
upstream = jb.all_upstream_jobs

for u in upstream:
    print(u.name)Clone all jobs in a view named with a ‘trunk’ identifier for a new branchfrom pyjen.jenkins import Jenkins
j = Jenkins("http://localhost:8080")
v = j.find_view("trunk_builds")
v.clone_all_jobs("trunk", "branch")
Package: pyjengahq
pyjengahqUnofficial Python wrapper around the JengaAPIs that are pre-integrated into the financial, identity, credit and payment systems across Africa.Table of ContentsQuickStartDocumentation/UsageContributingCreditsQuickStartInstallationpip install pyjengahqFrom Sourcegit clone https://github.com/TralahM/pyjengahq
cd pyjengahq

python setup.py bdist_wheel
pip install -e .DocumentationAPI ReferenceContributingCredits
Package: pyjenkins
===============================PyJenkins===============================Python wrapper around the Jenkins JSON API* Free software: MIT license* Documentation: http://pyjenkins.rtfd.org.Features--------Query Jenkins jobs and builds, and trigger a build.Installation------------pip install pyjenkinsUsage----->>> from pyjenkins import Jenkins>>> jenkins = Jenkins("http://jenkins.example.com/", 'username', 'password')>>> job = jenkins.get_job_by_name('my-job')>>> build = job.build('auth-token')>>> build.startedFalse...>>> build.refresh()>>> build.startedTrue>>> build.completeFalse>>> build.estimated_duration60234...>>> build.completeTrue>>> build.successfulTrueHistory-------0.1.2 (2013-10-01)+++++* Build.get_build() now accepts a job url and optional auth kwarginstead of a Job instance.* Adds unit tests.0.1.1 (2013-09-28)++++++++++++++++++* Bugfix for url transformation to API urls.* Bugfix for some Build status information always returning False* Python3 support* Adds .get_job() to JobSummary* Adds .get_build() to BuildSummary0.1.0 (2013-09-27)++++++++++++++++++* First release on PyPI.
Package: pyjest
# JestJest is a IPython magic tool to make us one or more HTTP request(s) in a cell.## How it works```$ pip install pyjest```## ExamplesPlease take a look at the `examples` folder about how Jest can be used in a Jupyter notebook in more detail. The snippets below represent a sequence of three cells each of which shows how we can construct a jest call along with required fields for two HTTP calls in one run.```[1] consumes = [dict(original_keyword='iphone'),dict(original_keyword='phone')]```The `consumes` variable holds a list of dictionary. Two different items will be used while jesting a request with a request body.```[2] %%jest --var responses --params consumes{"url": "http://localhost:8080/path","request": "post","body": {"field": "@original_keyword","field": 1},"headers": {"Content-Type": "application/json","Authorization": "Bearer ASDASADAS","Cookie": "auth_cookie=ASDADASDA"}}```Jest saves the response in to the `responses` field. We use `--params` to add that Jest will use it to load data from. The request body references a field name with suffix `@`. So that Jest understands that the referenced field must be in each item of `consumes`.```len(responses) # 2 for each item of `consumes````After having a successful request, we can react the result via `responses`.## LicenseMIT
Package: pyjetbrains
pyjetbrainsTake the control over JetBrains IDEs Family with python code!InstallationPyjetbrains can be installed viaPython Package Index (PyPi)command:pipinstallpyjetbrainsFeaturesOpen IDE projects (whole folder)Open files for editingOpen file at specific character and lineCompare multiple filesFormat filesCurrently supports Windows only,Linux and Mac comming soon!It also tries to search for installed path on it's own, so you don't have to specify
location of any of installed IDE inside pyjetbrains.For Toolbox Users:Toolbox installs with CLI path automatically so it's much
easier to find jetbrains IDE with toolbox.DocumentationAllpyjetbrainshave required parameter of IDE as value of Enum.All methods have their documentation visible while using IDE!Checking if IDE is InstalledBefore using any of pyjetbrains method, pyjetbrains automatically checks whether
is desired IDE installed or not, but you can check it manually.importpyjetbrainspyjetbrains.is_installed(pyjetbrains.IDE.PYCHARM)Opening files and foldersFor opening files or folders(as project)there issubprocess.open()method.importpyjetbrainspyjetbrains.open(pyjetbrains.IDE.INTELLIJ_IDEA,# IDE"hello_world.txt",# Pathline=5,# Line caret cursor positioncolumn=7# Column caret cursor position)pyjetbrains.open(pyjetbrains.IDE.CLION,# IDE"main.cpp","hero.cpp","vilain.cpp"# Multiple Paths)my_paths=["main.cpp","hero.cpp","vilain.cpp"]pyjetbrains.open(pyjetbrains.IDE.PHPSTORM,# IDEmy_paths# Multiple paths passed as list)pyjetbrains.open(pyjetbrains.IDE.RUBYMINE,# IDE"my_awesome_project"# Folder which will open as project)Comparing files (2 up to 3 files)Comparing files is done withpyjetbrains.compare_files()method, that takes
from two to three files. After execution, difference tab of provided paths is opened.importpyjetbrainspyjetbrains.compare_files(pyjetbrains.IDE.PYCHARM,# IDE"project1/main.py",# First path"project2/main.py",# Second path"project3/main.py"# Third path)Formating filesFor formatting files you cannot have already opened instance of desired IDE, because
Jetbrains assumes that you can use format command in IDE rather than do it with CLI.Then you specify files or folders with code to format it with and whether it
should be recursive.About mask, here is cite from jetbrains site:Specify a comma-separated list of file masks that define the files
to be processed. You can use the * (any string) and ? (any single character)
wildcards.importpyjetbrainspyjetbrains.format_files(pyjetbrains.IDE.PYCHARM,# IDE"my_python_project",# Paths to format (project folder in this case)mask="file??.py",# File maskrecursive=True# Processing directories recursively)
Package: pyJetpackID
Takes the Jetpack add-on manifest object, and returns the add-on ID.Usagefromjetpackid.jetpackidimportJetpackIDfile_path='/path/to/package.json'JetpackID.get_id(file_path)manifest=dict(name="JETPACK_ID")JetpackID.get_id(manifest)# @JETPACK_IDRelease History0.0.2 (2016-04-07)Support file and dict obj0.0.1 (2016-04-07)Initiate the project
Package: pyjexl
PyJEXLA Python-based JEXL parser and evaluator.NOTE:This library handles the JEXL fromTomFrost's JEXL library. It doesNOThandle the
similarly-named Apache Commons JEXL language.Limitations and Differences from JEXLJavaScript-style implicit type conversions aren't supported, but may be added
in the future. Instead, Python type semantics are used.Property access is only supported for mapping objects currently.Several odd edge-cases in JEXL are ignored because they are unintuitive,
difficult to implement, or a bad pattern:Implicitly using the first element in an array when chaining identifiers
is not supported. In JEXL, iffoo.baris a list, the expressionfoo.bar.bazis equivalent tofoo.bar[0].baz.Conditional expressions (AKA ternary expressions) cannot have a missing
consequent, i.e."foo" ?: 4is invalid.LicenseLicensed under the MIT License. SeeLICENSEfor details.
Package: pyjf3
Utility functions to manipulate Japanese texts.RequirementsPython 3.3 or laterFunctionsguess(s)文字列 s のエンコーディングを推測する。戻り値は UNKNOWN, ASCII, SJIS, EUC, JIS, UTF8, UTF16_LE, UTF16_BE のいずれかとなる。 UTF16_LE と UTF16_BE は、文字列の先頭にBOMが付与されている場合のみ検出される。sjistojis(s), sjistoeuc(s), euctosjis(s), euctojis(s), jistosjis(s), jistoeuc(s)文字列 s を、異なるエンコーディングに変更する。kanatohalf(ustr), kanatofull(ustr)Unicode文字列 ustr に含まれるカタカナ・句読点等を、半角<->全角に変換する。tohalf(ustr), tofull(ustr)Unicode文字列 ustr に含まれるカタカナ・句読点等以外の、cp932に含まれる文字を、半角<->全角に変換する。getnengo(y, m, d, letter=False)y年m月d日の年号と年のタプルを返す。letter=Trueの場合は年号としてH/S/T/Mのいずれかを返す。heiseitoyear(y), showatoyear(y), taishoyear(y), meijitoyear(y)平成、昭和、大正、明治の年から、西暦を返す。wrap(ustr, maxcol)Unicode文字列 ustr を、maxcol桁の文字列に分割する。ワードラップ・行頭禁則対応。CopyrightCopyright (c) 2013 Atsuo IshimotoPermission 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: pyJHTDB
# pyJHTDBPython wrapper for the [JHU Turbulence Database Cluster](http://turbulence.pha.jhu.edu/) library.
More information can be found at [http://turbulence.pha.jhu.edu/help/python/](http://turbulence.pha.jhu.edu/help/python/).## Use pyJHTDB through SciServer  (RECOMMENDED)
The SciServer is a cloud-based data-driven cluster, of The Institute for Data Intensive Engineering and Science (IDIES) at Johns Hopkins University. Users get the advantages of more reliable and faster data access since the SciServer is directly connected to JHTDB through a 10 Gigabit ethernet connection. SciServer provides docker containers with the pyJHTDB library pre-installed.To use pyJHTDB through Sciserver:` Login to[SciServer](http://turbulence.pha.jhu.edu/)(may need to create a new account first). Click on *Compute* and then *Create container* (You could also run jobs in batch mode, by selecting Compute Jobs). Type in *Container name*, select *JH Turbulence DB* in *Compute Image* and then click on *Create*. Click on the container you just created, then you could start using pyJHTDB with Python or IPython Notebook. `Please go to [SciServer](http://turbulence.pha.jhu.edu/) for more information on SciServer as well as the help on Sciserver.## Use pyJHTDB on local computersPrerequisites: numpy>=1.15.0, scipy>=1.1.0, sympy>=1.2, h5py>=2.8.0, matplotlib>=3.0.0### Installing pypi version (Linux and MacOS)If you havepip, you can simply do this:` pip install pyJHTDB `If you’re running unix (i.e. some MacOS or GNU/Linux variant), you will probably need to have asudoin front of thepipcommand. If you don’t havepipon your system, it is quite easy to get it following the instructions at [http://pip.readthedocs.org/en/latest/installing.html](http://pip.readthedocs.org/en/latest/installing.html).### Installing from source (Linux and MacOS)` git clonehttps://github.com/idies/pyJHTDB.gitcd pyJHTDB python update_turblib.py pip install--upgrade./ `### In WindowsWe notice the compilation error in Windows, and provide a temperary workaround inexamplesUse_JHTDB_in_windows.ipynb. This method use [zeep](https://python-zeep.readthedocs.io/en/master/) package. Should be as convient as pyJHTDB.## Basic usageOn first contact with this library, we recommend that you first runtest_plain. To be more specific:` from pyJHTDB import test_plain test_plain() `The code that is executed can be found inpyJHTDB/test.py, and it’s the simplest example of how to access the turbulence database.## ConfigurationWhile our service is open to anyone, we would like to keep track of who is using the service, and how. To this end, we would like each user or site to obtain an authorization token from us: [http://turbulence.pha.jhu.edu/help/authtoken.aspx](http://turbulence.pha.jhu.edu/help/authtoken.aspx)For simple experimentation, the default token included in the package should be valid.
Package: pyjieba
Python wrapper for cppjieba without any dependency, no need to compile
by using gcc/c++Python
封装C++版本的jieba分词器，性能好，并且已经预编译，无需安装时编译，即拿即用。已在Centos7、MaxOS10.13.6上测试 【Windows可能在某些情况下运行异常】。C++
代码源自”结巴”中文分词的C++版本，CPPJieba使用说明pip安装pipinstallpyjieba手动安装cdpyjiebapythonsetup.pyinstall接口使用# 导入包importpyjieba# 初始化[可选]pyjieba.initialize()# 初始化时，可以指定自己的词典pyjieba.initialize(dictPath='yourpath',# 默认词典路径， 默认在包下路径/dict/jieba.dict.utf8userPath='yourpath',# 用户词典，默认在包下路径/dict/user.dict.utf8，多个词典使用英文分号;分隔开idfPath='yourpath',# IDF词典，默认在包下路径/dict/idf.utf8，提取关键词时使用stopwordsPath='yourpath'# 停用词词典，默认在包下路径/dict/stop_words.utf8)# 分词sentence='视觉中国再次致歉'pyjieba.cut(sentence)# 输出结果 ['视觉', '中国', '再次', '致歉']# 词性标注pyjieba.tag(sentence)# 输出结果 ['视觉/n', '中国/ns', '再次/d', '致歉/v']# 使用TFIDF提取关键词pyjieba.keywordsTFIDF(sentence,# 句子，可以是文本，也可以传入分词的结果例如 ['视觉', '中国', '再次', '致歉']topN=5,# 最多返回几个关键词， 可选allowedPOS='ns,n,vn,v,x'# 关键词属性限制, 可选)# 输出结果 [('致歉', 3.618718), ('视觉', 2.680915), ('中国', 1.009107)]# 使用Textrank算法提取关键词pyjieba.keywordsTextrank(sentence,# 句子，可以是文本，也可以传入分词的结果例如 ['视觉', '中国', '再次', '致歉']topN=5,# 最多返回几个关键词， 可选allowedPOS='ns,n,vn,v,x'# 关键词属性限制, 可选)# 输出结果 [('视觉', 1.0), ('致歉', 0.996685), ('中国', 0.992994)]源码修改与编译命令如果需要进行cppjieba源码修改，需要在三个平台上分别进行编译，生成新的so和dll文件>cdcppjieba_src# windows>g++jiebaapi.cpp-fPIC-Ideps-Iinclude-std=c++11-shared-o../pyjieba/libs/cppjieba_API_win64.dll# MaxOS>g++jiebaapi.cpp-fPIC-Ideps-Iinclude-std=c++11-shared-o../pyjieba/libs/cppjieba_API_osx64.dll# Linux>g++jiebaapi.cpp-fPIC-Ideps-Iinclude-std=c++11-shared-o../pyjieba/libs/cppjieba_API_linux64.soBenchmark平台 Centos7, 8核16G，Python3.6小说文本长度：83791循环分词次数：10次数pyjiebajieba13147.3ms11137.5ms24692.9ms12792.7ms33257.1ms10830.7ms总体来看，pyjieba平均耗时为jieba的1/3。鸣谢CPPJieba“结巴”中文分词的C++版本jieba结巴中文分词
Package: pyjigsaw
This Python package provides functionality to generate jigsaw puzzle cut templates and digital puzzle sets. It includes functions for creating jigsaw templates, applying cuts, and generating SVG representations.InstallationYou can install the package using pip:pipinstallpyjigsawUsagefrompyjigsawimportjigsawfactory# Create a jigsaw cut templatemycut=jigsawfactory.Cut(5,4,image="./Zugpsitze_mountain.jpg",use_image=True)# Generate a jigsaw set from the cut templatemyjig=jigsawfactory.Jigsaw(mycut,"Zugpsitze_mountain.jpg")myjig.generate_svg_jigsaw("./Pieces")FeaturesCut ClassThe Cut class is responsible for creating jigsaw cut templates. It takes parameters such as the number of pieces in height and width, absolute height and width, an optional image for deriving dimensions, and stroke/fill color specifications.frompyjigsawimportjigsawfactory# Create a jigsaw cut templatemycut=jigsawfactory.Cut(5,4,image="./Zugpsitze_mountain.jpg",use_image=True)Jigsaw ClassThe Jigsaw class uses a Cut template to generate a set of jigsaw pieces in SVG format. It takes a Cut object and an image file path. The generated SVG files are saved in the specified output directory.frompyjigsawimportjigsawfactory# Create a jigsaw set from the cut templatemyjig=jigsawfactory.Jigsaw(mycut,"Zugpsitze_mountain.jpg")myjig.generate_svg_jigsaw("./Pieces")ContributingFeel free to contribute to the project by opening issues or submitting pull requests on GitHub.
LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: pyjira
SetupFirst, you’re gonna want to do this:pip install pyjiraYou’re already halfway there!Next, you need to set up your environment variables.Go to your home directory (~/) and put this in “.pyjira”:export PYJIRA_USER=put your username here
export PYJIRA_TOKEN=put your password here
export PYJIRA_ORG=put the organization name hereNext, add this to “.bash_profile”, also in the home directory:source ~/.pyjiraOn startup, these environment variables will be loaded and you will be able to
use PyJira. Woot!UsageTo use, import like so:import pyjiraTo get issues relating to a project:pyjira.get_issues(“SpaceJam”)  # Where “SpaceJam” is the project nameYou can also limit the amount of results you get (default=50):pyjira.get_issues(“SpaceJam”, 20)  # 20 maximum resultsTo get a specific issue, call get_issue() with the issue’s id/key:pyjira.get_issue(“SpaceJam-931”)To get all existing fields, call get_all_fields():pyjira.get_all_fields()To get a specific field:pyjira.get_field(“customfield_90010”)  # You can also just pass “90010”To get all fields within an issue:pyjira.get_issue_fields(“SpaceJam-931”)  # Add False as a second parameter to get result with “customfield_#” field namesWIPThis project doesn’t have many functions at the moment, but it will be added to
whenever a new one is needed.
Package: pyjiracloudapi
pyjiracloudapipython3 module to call jiracloud apis in command line or inside a module and export result into mysql and later Grafana.The source for this project is available here.It's a python module that you can include in your python module or can be used in command line.usage: pyjiracloudapi.py [-h] [-V] [-U USEREMAIL] [-t TOKEN] [-u URL] [-a API] [-m METHOD] [-J JSONFILE]

pyjiracloudapi is a python3 program that call jiracloud apis in command line or imported as a module

optional arguments:
-h, --help            show this help message and exit
-V, --version         Display the version of pyjiracloudapi
-U USEREMAIL, --useremail USEREMAIL
                        jiracloud user email
-t TOKEN, --token TOKEN
                        jiracloud token
-u URL, --url URL     jiracloud url
-a API, --api API     jiracloud api should start by a slash
-m METHOD, --method METHOD
                        should contain one of the method to use : ['DELETE', 'GET', 'POST', 'PUT']
-J JSONFILE, --jsonfile JSONFILE
                        json file needed for POST methodrelease notes1.0.0 initial version
Package: pyjitroundnumber
JitUtilsPower ByDescriptionPackage จัดทำขึ้นมาเพื่อในการปัดเศษทศนิยมFeaturesFunctionround_up(): ใช้ในการปัดเศษทศนิยม ขึ้น ⬆⬆Functionround_down(): ใช้ในการปัดเศษทศนิยม ลง ⬇⬇Example coding [main.py]fromsrc.py_jit_round_number.jit_round_up_downimportJitRoundNumberlistNumber=[12.34567890,-12.34567890,0.54321,-0.54321,1.1,-1.5,1.23,1.543,22.45,1352]''' round_up '''print('Round Up')i=0forjinrange(0,5):forlinlistNumber:print(f"ทศนิยม{j}ตำแหน่ง :{JitRoundNumber(number=l,decimals=j).round_up()}")i+=jifj<=i:print('\r\t\n')''' round_down '''listNumber=[12.34567890,-12.34567890,0.54321,-0.54321,1.1,-1.5,1.23,1.543,22.45,1352]print('Round Down')i=0forjinrange(0,5):forlinlistNumber:print(f"ทศนิยม{j}ตำแหน่ง :{JitRoundNumber(number=l,decimals=j).round_down()}")i+=jifj<=i:print('\r\t\n')Test number digitค่าที่ใช้ในการทดสอบการเขียน(Unit testing)ตามตารางด้านล่างนี้ โดนมีการเรียกใช้ในส่วนของClass JitRoundNumber()ออกมาใช้งานตามข้างต้นที่ได้กล่าวมาFile Testing (Unit testing)Round Up (ปัดเศษทศนิยมขึ้น)ValueRound Up TOResult12.3456789ทศนิยม 0 ตำแหน่ง13 หรือ 13.012.3456789ทศนิยม 1 ตำแหน่ง12.412.3456789ทศนิยม 2 ตำแหน่ง12.3512.3456789ทศนิยม 3 ตำแหน่ง12.34612.3456789ทศนิยม 4 ตำแหน่ง12.3457Round Down (ปัดเทศทศนิยลง)ValueRound Down TOResult12.3456789ทศนิยม 0 ตำแหน่ง12 หรือ 12.012.3456789ทศนิยม 1 ตำแหน่ง12.312.3456789ทศนิยม 2 ตำแหน่ง12.3412.3456789ทศนิยม 3 ตำแหน่ง12.34512.3456789ทศนิยม 4 ตำแหน่ง12.3456Referent Knowledgerealpython.compython-roundingkodify.netround-up-to-the-next-integer-pythons-mathceil-functionkodify.netround-decimalsknowledgehut.compython-rounding-numbersString format operation example withpython 3.6upper versionf"{12.3456:.2f}"-> output12.35f"{1200.3456:,.2f}"-> output1,200.35{:.2f}.format(number)"-> output12.35{:,.2f}.format(currency_value)-> output1,200.35