Saravanan666/pypi-org huggingface dataset:
Package: mathics-pygments
This is a lexer and highlighter for Mathematica/Wolfram Language source code using the pygments engine.It currently supports:All builtin functions in theSystemcontext including unicode symbols except  those that use characters from the private unicode space (e.g.\[FormalA]).User defined symbols, including those in a context.All operators including unicode operators like π.Comments, including multi line and nested.Strings, including multi line and escaped quotes.Patterns, slots (including named slots#nameintroduced in version 10) and slot sequences.Message names (e.g. the ivar inGeneral::ivar)Numbers including base notation (e.g.8 ^^ 23 == 19) and scientific notation  (e.g.1 *^ 3 == 1000).Local variables inBlock,WithandModule.A Sass file containing the styles can be obtained from the package repository for use in static website generators such as Jekyll, Octopress, Pelican, etc.Copyright 2021 Rocky Bernstein
(C) 2016 rsmenon
Package: mathicsscript
mathicsscript is a command-line interface toMathics.See thescreenshot directoryfor a description and another example.Featuresprompt_toolkitand GNU Readline terminal interaction. This includes:saving command history between sessions.variable completion, even for symbol names like\\[Sigma]limited ESC keyboard input; for exampleescpescis πSyntax highlighting usingmathics-pygmentswhich includes dynamically created variables and functions.Automatic detection of light or darkterminal background color.Optional Graphics rendering viamatplotlibfor 2D graphics, andAsymptotefor 3D graphcs.Entering and displaying Unicode symbols such as used for Pi or Rule arrowsProvision for running in non-interactive batch mode which an be used inside POSIX shellsInstallingTo install, run$ make installTo install from git sources so that you run from the git source tree:$ make developRunningOnce install run usingmathicsscript:$ mathicsscript
Mathicscript: 3.2.2.dev0, Mathics 3.1.0.dev0
on CPython 3.7.10 (default, Feb 23 2021, 10:13:46)
using SymPy 1.8, mpmath 1.2.1, numpy 1.20.2, cython 0.29.22

Copyright (C) 2011-2021 The Mathics Team.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
See the documentation for the full license.

Quit by evaluating Quit[] or by pressing CONTROL-D.

In[1]:=For batch use:$ mathicsscript -c "N[Pi, 30]"
3.14159265358979323846264338328To read from a fileIn file/tmp/test.m:sum=2+2
integral=Integrate[1,x]
Print["Results: ",{sum,integral}]Feeding this intomathicsscript:$ mathicsscript --no-prompt </tmp/test.m
4
x
Results: {4, x}
NoneFor a full list of options, typemathicsscript--help.Why not IPython via Jupyter?There will always be a need for simple terminal-like
interaction. Although there is IPython support via Jupyter all of this
is pretty heavy-weight. To code to this protocol, a developer needs to
write a kernel, and use a wire protocol. This adds complexity not
only for the person developing this package, but also for the user who
needs to load the extra layers that aren’t used. And when something
goes wrong, it is harder to track down problems.At the other end of the spectrum, if the dependencies of this package
are too onerous and you want even simpler, lighter-weight terminal interactionwithoutany of the features mentioned above, usemathicswhich is distributed as part of
the core Mathic3 package.
Package: matHist
matHistPlot histogram using MatplotlibmatHist is a Python package to plot normalized histogram using Matplotlib.It reads a data file which has only one column with a string as header. It the data file doesn't contain a header, it will skip the first line.ContributorSumitava Kundu,IACS, Kolkata.InstallationPrerequisitespython3 or higherPython3-numpyPython3-matplotlibUsing PyPIUse the package managerpipto install matHist.pipinstallmatHistUsing source codegitclonehttps://github.com/sumitavakundu007/matHist.git
tar-xvfmatHist-X.X.XcdmatHist-X.X.X
python3setup.pyinstall--userUsageimportmatHistmatHist.mat_hist_func("input_file.dat","output_file.png")It will ask for few inputs to plot histogram like number of bins (bins), bar width, histogram color etc.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.License[MIT](https://choosealicense.com/licenses/mit/
Package: mathiz
Mathiz - Web FrameworkMathiz (junction of "make this" with the letter "z"), is a web framework created in Python to develop web servers quickly and simply. This framework uses theWSBLib library!LicenseBSD 3-Clause
Copyright (c) 2022, Jaedson Silva
All rights reserved.This project use theBSD 3-Clauselicense. Pleasesee LICENSE filetomore informationabout license.
Package: mathjspy
mathjspymathjspy is a Python library evaluate mathematical expressions in the same manner as MathJS.The purpose is to allow calculation of expressions in python that are consistent with what is calculated through
MathJS.Many thanks to MathJS for their hard work in developing an excellent mathematical expression interpreter.http://mathjs.orgOfficial documentationThe homepage ishttp://mathjspy.readthedocs.orgYou will find:every installation methodsthe official documentationcode examplesinstructions for contributing0.0.9 (unreleased)Updated for Python30.0.8 (unreleased)Fixed addition following subtractionAdded a ? b : c syntax0.0.7 (unreleased)Override divide by zero errors for now.0.0.6 (unreleased)Moved depreciated ifElse function to ifElseAlt until a ? b : c syntax supported.0.0.5 (unreleased)Changed IRR function.0.0.3 (unreleased)Allow tuple / array data types for functions.0.0.2 (unreleased)Added log function0.0.1 (unreleased)Initial ReleaseInitial project released in Alpha.
Package: mathkit
MathKit - A Mathematical Library Made SimpleMathKit is a Python library that provides various mathematical functions and utilities for performing common mathematical calculations.New updated calculator usage for simpler functionsfrommathkitimportmainmain()Example Usage If you decide to predefine numbersimportmathkit# If you dont want to add mathkit. before all function you can import the specific function by# from mathkit import add# add(5,3)# You can do this with all the functionsmathkit.add(5,3)# Output: Your answer is 8mathkit.cbrt(27)# Output: The cube root of 27 is 3.0mathkit.div(10,2)# Output: Your answer is 5.0mathkit.fact(5)# Output: The factorial of 5 is 120mathkit.hcf(24,36)# Output: The H.C.F. of 24 and 36 is 12mathkit.lcm(12,18)# Output: The LCM of 12 and 18 is 36mathkit.log(100)# Output: Logarithm of 100 (base e) is 4.605...mathkit.mod(10,3)# Output: Your answer is 1mathkit.mul(4,5)# Output: Product = 20mathkit.per(50,10)# Output: 10 percent of 50 is 5mathkit.power(2,3)# Output: The answer is: 8mathkit.sqrt(25)# Output: Square root of 25 is 5.0mathkit.sqr(4)# Output: The square of 4 is 16mathkit.sub(8,3)# Output: Your answer is 5mathkit.compound_interest(amount,time,interest)# Output Based On predefines numbersmathkit.simple_interest(amount,time,interest)Please Note For the simple and compound interest to work you have to specify the order numbers exactly in the format givenFor more information, please visit the GitHub repository.
Package: mathlibs
## Startmathlibs- Mathematical library, created for theoremsInstallationThe easiest way to install Mathlibs is pippip install mathlibsAnd it remains only to wait until the installation is finished. Version 0.3UsageInitializationMathlibs.init(Language)INITIALIZATION IS REQUIRED! OTHERWISE, SOME FUNCTIONS MAY NOT WORK!
Language can take two values: ru and en. Ru вЂ“ Russian, en вЂ“ English
Example:import mathlibsMathlibs.init(ru)Output:PythagorasMathlibs.Pyth(cathetusX, cathetusY, Hypotenuse)cathetusX, cathetusY, Hypotenuse вЂ“ provide numbers, if one number is 0, then this number is unknown to us.
The formula of the Pythagorean theorem: cВІ = aВІ + bВІExample:import mathlibsa = Mathlibs.Pyth(3, 3, 0)print(a)Output: 18EulerMathlibs.euler(e)For the Euler formula, initialization is required, otherwise it will not work
e вЂ“ provides a numberExample:import mathlibsa = Mathlibs.euler(30)print(a)Output: 8DiscriminantMathlibs.Discr(a,b,c)Initialization is required for the discriminant, otherwise it will not work
a, b, c вЂ“ provide numbers
Discriminant formula: axВІ + bx + c = 0Example:import mathlibsa = Mathlibs.Discr(2,4,2)print(a)Output: -1.00
Package: mathlibtools
mathlib-toolsThis package containsleanproject, a supporting tool forLean mathlib.InstallationIn principle, you should install those tools as part of theglobal Lean installation procedurerecommended by the Lean community.
Read what what remains of this section only if you want more details
about this specific part of the procedure (the tools described here won't give
you anything if Lean itself is not available).Released versionpipxThe tools in this repository use python3, at least python
3.6, which is the oldest version of python supported
by the python foundation. They can be installed usingpip. The basic install command
for the latest released version is thus:python3-mpipinstallmathlibtoolsThe above command may complain about permissions. This can be solved
by running it as root, but this is not recommended in general. You can
runpython3 -m pip install --user mathlibtoolsto install it in your
home directory (make sure that$HOME/.local/bin/is on your shell path
afterwards), but an even better way is to usepipx:python3-mpipinstall--userpipx
python3-mpipxensurepathsource~/.profile
pipxinstallmathlibtoolsmacOSIf you are on macOS, the recommended way to install is via homebrew,
which will handle the above Python installation for you:brewinstallmathlibtoolsNixOSIf you are using NixOS, you can also install mathlib tools using the
bundleddefault.nixfile:nix-env -if https://github.com/leanprover-community/mathlib-tools/archive/master.tar.gzDevelopment versionIf you want to use the latest development version, you can clone this
repository, go to the repository folder, and runpip install ..UsageSee thededicated pageon the community website.
Package: math-lyf
This is long descriptionIntel® Extension for Tensorflow* libraryIntel® Extension for Tensorflow* library is the support library for Intel® Extension for Tensorflow*(https://pypi.org/project/intel-extension-for-tensorflow/). While Intel® Extension for Tensorflow* itself is a pure Python package, Intel® Extension for Tensorflow* library contains the binary (C/C++) parts of the library, including Python bindings, Intel XPU(GPU, CPU, etc) devices support.Documentation:Intel® Extension for TensorFlow* online document website.SecuritySee Intel'sSecurity Centerfor information on how to report a potential security issue or vulnerability.See also:Security Policy
Package: mathMB
Math helper functions for nexoclom and general usePackage ContentsDocumentation athttps://mathmb.readthedocs.io/en/latest/.Installation>>> pip install mathMBLicenseThis project is Copyright (c) Matthew Burger and licensed under
the terms of the BSD 3-Clause license. This package is based upon
theAstropy package templatewhich is licensed under the BSD 3-clause licence. See the licenses folder for
more information.ContributingWe love contributions! mathMB is open source,
built on open source, and we’d love to have you hang out in our community.Imposter syndrome disclaimer: We want your help. No, really.There may be a little voice inside your head that is telling you that you’re not
ready to be an open source contributor; that your skills aren’t nearly good
enough to contribute. What could you possibly offer a project like this one?We assure you - the little voice in your head is wrong. If you can write code at
all, you can contribute code to open source. Contributing to open source
projects is a fantastic way to advance one’s coding skills. Writing perfect code
isn’t the measure of a good developer (that would disqualify all of us!); it’s
trying to create something, making mistakes, and learning from those
mistakes. That’s how we all improve, and we are happy to help others learn.Being an open source contributor doesn’t just mean writing code, either. You can
help out by writing documentation, tests, or even giving feedback about the
project (and yes - that includes giving feedback about the contribution
process). Some of these contributions may be the most valuable to the project as
a whole, because you’re coming to the project with fresh eyes, so you can see
the errors and assumptions that seasoned contributors have glossed over.Note: This disclaimer was originally written byAdrienne Lowefor aPyCon talk, and was adapted by
mathMB based on its use in the README file for theMetPy project.
Package: mathmini
mathmini-pipSample math library containing add and sub functionsInstallationpipinstallmathminiUsagepython3-mmathminiadd105python3-mmathminisub105importmathminiprint(mathmini.add(10,5))print(mathmini.sub(10,5))Release and PublishUpdateversioninsetup.cfgCommit changesRungit tag v1.0.0Rungit push origin v1.0.0
Package: mathml2docx
mathml2docxThe fork inhtmldocxconverts html (including mathml) to docxDependencies:python-docx&bs4To installpip install mathml2docxImporvementsAdd: Convert mathml to docx formulaAdd: MathmlToDocx, a wrapper class for InteliSense and encapsulationAdd: Etc...Fix: Known errors in the original repositoryUsageAdd strings of html to an existing docx.Document objectfrom docx import Document
from mathml2docx import MathmlToDocx

document = Document()
new_parser = MathmlToDocx()
# do stuff to document

html = '<h1>Hello world</h1>'
new_parser.add_html_to_document(html, document)

# do more stuff to document
document.save('your_file_name')Convert files directlyfrom mathml2docx import MathmlToDocx

new_parser = MathmlToDocx()
new_parser.parse_html_file(input_html_file_path, output_docx_file_path)Convert files from a stringfrom mathml2docx import MathmlToDocx

new_parser = MathmlToDocx()
docx = new_parser.parse_html_string(input_html_file_string)Change table stylesTables are not styled by default. Use thetable_styleattribute on the parser to set a table
style. The style is used for all tables.from mathml2docx import MathmlToDocx

new_parser = MathmlToDocx()
new_parser.table_style = 'Light Shading Accent 4'To add borders to tables, use theTableGridstyle:new_parser.table_style = 'TableGrid'Default table styles can be found
here:https://python-docx.readthedocs.io/en/latest/user/styles-understanding.html#table-styles-in-default-templateChange default paragraph styleNo style is applied to the paragraphs by default. Use theparagraph_styleattribute on the parser
to set a default paragraph style. The style is used for all paragraphs. If additional styling (
color, background color, alignment...) is defined in the HTML, it will be applied after the
paragraph style.from mathml2docx import MathmlToDocx

new_parser = MathmlToDocx()
new_parser.paragraph_style = 'Quote'Default paragraph styles can be found
here:https://python-docx.readthedocs.io/en/latest/user/styles-understanding.html#paragraph-styles-in-default-template
Package: mathml2omml
Pure Python library to convert MathML to OMML (Office Math Markup Language).InstallationUse pip:pipinstallmathml2ommlor, use setup.py:python3setup.pyinstallUsageMathml2omml takes a MathML as string, and outputs an OMML as string:importmathml2ommlmathml='<math><mi>x</mi><mo>+</mo><mi>y</mi></math>'omml=math2omml.convert(mathml)By default, mathml2omml recognises only entities defined in MathML specification.
If the input includes other entities, pass the entity information
as a dictionary to the second argument:importhtml.entitiesmathml='<math><msubsup><mo>&int;</mo><mn>1</mn><mi>x</mi></msubsup></math>'omml=math2omml.convert(mathml,html.entities.name2codepoint)
Package: mathmod
MathmodHave you ever looked for a complete, simple calculator module? Well here you go!Mathmod has logarithm, fibonacci, arithmetic, tax, interest, and other calculators! It's the core of Palc. (Palc is an amazing calculator that strives to be simple while having many features.Try it now - there are no fees, no risks, nothing! If you don't believe me, you can install from the source code manually. The code is available athttps://github.com/thetechrobo/python-text-calculator/tree/master/mathmod.Anyway, have a great day! Bye :DNOTE: Mathmod 0.11 will have an API change in area.py, and will no longer support python versions earlier than 3.4. For more info seehttps://github.com/TheTechRobo/python-text-calculator/wiki/%60area.py%60-syntax-has-changed!
Package: mathmodel
mathmodelInstallation / 安装mathmodel is a set of modules that we use to manage aspects of our mathmodel infrastructurePython version 3.xa seed project that available to upload to pypi.orgCreate a pull request for the main repository’smasterbranch您好，这是一个pypi的项目，它是一个帮你快速处理数据分析、文本分析模板Contributing：Fork the repository on GitHub.Run the mathmodel withpythonto confirm they all pass on your system.Either create your feature and then write tests for it, or do this the other way around.[ContactProjectTeam](https://github.com/h-WAVES/Mathmodel)[联系作者](hhtnan@163.com)QQ交流：595454159Installation / 安装pip install mathmodel
Package: math-package-xgqfrms
math_package_xgqfrmsA math package of python 3. 🐍This package includes math methods:addition,subtraction,multiplication anddivision.PyPIhttps://pypi.org/user/xgqfrms/https://pypi.org/project/math_package_xgqfrms/GitHubmath_package_projectProject tree# math_package_project$tree
.
├──LICENSE
├──README.md
├──dist
│├──math_package_xgqfrms-0.0.2-py3-none-any.whl
│└──math_package_xgqfrms-0.0.2.tar.gz
├──pyproject.toml
├──src
│└──math_package_xgqfrms
│├──__init__.py
│└──math.py
└──tests├──demo.py└──test.pyExamplesaddimportmath_package_xgqfrmsasMathn1=1n2=2sum=Math.add(n1,n2)print("sum =",sum)# sum = 3subimportmath_package_xgqfrmsasMathn1=3n2=1minus=Math.sub(n1,n2)print("minus =",minus)# minus = 2mulimportmath_package_xgqfrmsasMathn1=2n2=3multi=Math.mul(n1,n2)print("multi =",multi)# multi = 6divimportmath_package_xgqfrmsasMathn1=6n2=2divide=Math.div(n1,n2)print("divide =",divide)# div = 3.0
Package: mathpad
mathpadmathpadis a robust Computer Algebra System (CAS) library built on top ofSymPy, providing a simple and intuitive way to solve engineering, science, and math problems using Python.QuickstartInstall using package manager of choice. For example,pip:pipinstallmathpadImport and use the library inpython:CodeDisplayfrommathpadimport*v=5*m/smph="mph"*miles/houreqn=mph==v.eval()DocumentationCurrently the only in-depth documentation isWalkthrough.ipynb. You can access it on theJupyterLite Sandbox Site here.ShowcaseFeatureExampleDisplayUnitsmm/s**2feet.in_units(cm)(V*A).in_units(watt)Valuesv=2.5*m/sc=m(5)Symbolst="t"*secondsy="\\hat{y}_1"*voltsSymbolic Functionsa="a(t)"*m/s**2Equationseqn=(v==a*t)Solvingsln,=solve([eqn],solve_for=[a])sln[a]Algebrasimplify(e**(1j*pi))expand((t+1)(t+2))factor(t**2+3*t*s+2)subs((t+1)(t+2),{t:5})Calculusdiff(a,wrt=t,order=1)integral(a,wrt=t,between=(0,10))VectorsO=R3("O")# 3D frame of referencev1=O[1,2,3]x,y,z=("x","y","z")*mv2=O[x,y,z]v3="v_3"@Ov2.cross(v3)MatricesO2=R2("O2")A=Mat[O,O2]([1,2],[3,4],[5,6])v2_wrt_O2=v2@AB=Mat[O2,O]("B")I=Mat[O2,O2].INumpy Compatibilityy=sin(t)y_fn=as_numpy_func(y)y_fn({t:[1,2,3]})importnumpyasnpy_fn({t:np.arange(start=0,stop=2*np.pi,step=np.pi/12)})array([0.84147098, 0.90929743, 0.14112001])array([0.        , 0.25881905, 0.5       , 0.70710678, 0.8660254 ,
0.96592583, 1.        , 0.96592583, 0.8660254 , 0.70710678,
0.5       , 0.25881905])Code Generationgenerate_c_code(theta,[t])CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: mathparse
mathparse is a library for solving mathematical equations contained in stringsHome-page:https://github.com/gunthercox/mathparseAuthor: Gunther Cox
Author-email:gunthercx@gmail.comLicense: MIT
Description: UNKNOWN
Keywords: mathparse
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Programming Language :: Python
Package: mathphys
mathphysPython library with math functions, physical constants and auxiliary functionsFor installation instructions, read INSTALL.INSTALL - mathphysThis package can be installed using setuptools (>=16.0) or via PyPi. Developed and tested with Python 3 (3.4).To list commonly used commands, runmake helpTo install to a default Python directory, runmake installUse the appropriate command in<python>. Depending on permissions, it may be
necessary to run the command with sudo or as superuser.To install a development version, with a link to the local package files in the
default Python directory, runmake developDetails and further options can be found in setuptools documentation.
Package: math-pi
This Project has only one function: piYou can have1000000(1 Million) digitsof pi in a string.You can't calculate with it, because if you convert it to foat python will reduce it to 3.141592653589793 but you can many things; make e. api search(To find a number sequence in pi),create music with pi,make a 3D code drawingor evenmake a game!Install with pip:pipinstallmath-piAn Example:>>>importmath_pi>>>print(math_pi.pi(b=10))3.1415926535>>>print(math_pi.pi(a=2,b=10))# This doesn't return the "3." when the starting number is more than 1415926535>>>print(math_pi.pi(b=1000000))3.141592653589793238462643383279502884197169399375105820...#Squuezed Output Viewer will pop up when you print a big numberThis Project requires:pi_1mpHomePageSpecial Thanks toPeter Truebsenwho inspired me for making this moduleNote: ThisProject counts numbers after the point. Examplemath_pi.pi(a = 1, b = 3)is "3.141"Regards,
Tanmay
Package: mathPkg
DiscriptionA pakage that contains following functionsaddnum that add two numbers.subnum that subtract two numbers.mulnum that multiply two numbers.divnum that divide two numbers.pownum that gives one number raise to power other.prime_num it will return that a number is a prime number or noteven_odd_num it will return that a number is an even or odd.is_palindrome it will return that a number is a Palindrome number or notis_armstrong it will return that a number is a Armstronge number or not.