Saravanan666/pypi-org huggingface dataset:
Package: simple-calc
GUI CalculatorWe all need to calculate things at some random time, and using this simple GUI Calculator makes it much more easier.InstallationGo to your terminal:$pip3installsimple_calcPSC:\>pipinstallsimple_calcStart Using the ModuleGo to your IDE, Python's built-in IDLE, or the Python Console, and type in:>>>importsimple_calc.__main__There you go!AbilitiesThis simple, functional calculator is easy to use and can perform the 4 main functions:AdditionSubtractionMultiplicationDivisionHere is a preview of the calculator, made from theamazingtkintermodule:I do sincerely hope you enjoy this GUI Calculator.
Package: simplecalcDocTest
simplecalcPackage for simple operationsInstallation$pipinstallsimplecalcUsageTODOContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensesimplecalcwas created by SimpleCalc. It is licensed under the terms of the MIT license.Creditssimplecalcwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: simplecalcpypip
simplecalcpypipHands-on of packages documentation using pipInstallation$pipinstallsimplecalcpypipUsageTODOContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensesimplecalcpypipwas created by TestPipDocs. It is licensed under the terms of the MIT license.Creditssimplecalcpypipwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: simplecalculate
It is Only Contain Functions,Not Any ClassBasic Calculation 2 digits to 6 digits Only===>>>Examples: 1) Input section:import simplecalculate as se
	a = se.add(6,8) #add two values
	print(a)

	b = se.subtract4(4,5,6,5) #subtract Four values
	print(b)

	c = se.add6(4,10,5,9,8,2) #add six values
	print(c)

	d = se.add6(4,10,5,9,8,2,2) #add seven values
	print(d)

	Output section:
	14
	-12
	38
	error******************************** Addition function types ********************************
add() ===>>>add()
add3()
add4()
add5()
add6(),******************************** Subtraction function types ********************************subtract() ===>>>subtract()
subtract3()
subtract4()
subtract5()
subtract6(),******************************** Multiplication function types ********************************multiplication() ===>>>multiplication()
multiplication3()
multiplication4()
multiplication5()
multiplication6(),******************************** Division function types ********************************
division() ===>>>division()
division3()
division4()
division5()
division6(),******************************** Modulas function types ********************************modulas() ===>>>modulas()
modulas3()
modulas4()
modulas5()
modulas6(),******************************** Exponent function types ********************************exponent() ===>>>exponent()
exponent3()
exponent4()
exponent5()
exponent6(),******************************** Floor Division function types ********************************floordivision() ===>>>floordivision()
floordivision3()
floordivision4()
floordivision5()
floordivision6()'''
Package: simplecalculator
Calculator==========A simple calculator library.This module is now a Python package. You can install it using:$ sudo pip install simplecalculatorExamples of usage:* `simplecalculator.py` -- a command-line utility* `tornadoweb.py` -- a TornadoWeb applications with a minimalistic RESTful API. Do you math with curl!How?----Clone this repo and tests:$ python -m unittest testAll good?Usage (in your script)-----------------------1. Import `calculator`2. Instantiate `SimpleCalculator()`3. Call `run()` with the list of values, operands, and functions you want to process.4. The history of operations, results, and unprocessed input is stored in `SimpleCalculator.log`.Here's a short sample:from calculator.simple import SimpleCalculatorc = SimpleCalculator()c.run('1 + 1')print c.logIf you want to read the state of the LCD (no kidding!), useprint c.lcdUsage (on the command line)---------------------------Run:$ ./simplecalculator.py -s "1 + 2 / 6 acv 1 + 1 / 33 fmod 0.01"then$ ./simplecalculator.py -s "1 + 2 / 6 acv 1 + 1 / 33 ceil fmod"then$ ./simplecalculator.py -s "1 + 2 / 6 acv 1 + 1 / 33 fmod 0.01 1 2 3 4"This calculator is as forgiving as a simple desktop calculator, it will ignore what it does not know, try to compute what it can treating the given string as a list of keystrokes.  You may see one or more `status` entries after the last result, that's intended.Usage (via curl)----------------If you want to implement this alculator as a RESTful API, install [TornadoWeb](http://tornadoweb.org 'TornadoWeb') and run `tornadoweb.py', then use curl:$ curl -X POST http://localhost:8888/v1/calculate -d '1 + 2 / 6 acv 1 + 1 / 33 fmod 0.01 1 2 3 4'You can easily extend this calculator to support any number of one- and two-argument functions, search calculator/simple.py for `fmod` and `ceil` to see what modifications you need to make.Why?----I got asked to provide samples of my work, proof I know Python, etc.  This project is way more than what I was asked to deliver, but I had more time to spare.  There is more coming.Who?----Jacek Artymiak
Package: simple-calculator-akarni
Simple CalculatorA tutorial package to do simple calculationsFree software: MIT licenseDocumentation:https://simple-calculator-akarni.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-05-27)First release on PyPI.
Package: simple_calculator_function
Simple CalculatorA simple python calculator with the following functions :Addition, subtraction, division and multiplicationTakes the n'th rootAble to reset memory and also calculate with previous valueInstallationCalculator requires >= Python 3 to runInstallation from pip and PYPIpipinstallsimple_calculator_functionInstallation as a python module:Create a virtual environment$python-mvenvvenvActivate the virtual environment$venv\Scripts\activate.batInstall the Calculator with pip$pipinstallgit+https://github.com/helloworld4774/simple_calculator.gitLicenseMIT
Package: simple-calculator-pws
simple_calculator_pwsDescription.
The package simple_calculator_pws is used to:
- Soma
- SubtraÃ§Ã£o
- MultiplicacÃ£o
- DivisÃ£oInstallationUse the package managerpipto install simple_calculator_pwspipinstallsimple_calculator_pwsUsagefromsimple_calculator_pwsimportoperationsoperacoes.soma()parasomarosvaloresoperacoes.subtracao()parasubtrairosvaloresoperacoes.multiplicacao()paramultiplicarosvaloresoperacoes.divisao()paradividirosvaloresAuthorPaulo WilliamLicenseMIT
Package: simple-calculator-u-aaa
Table of contentsGeneral InfoUsageTechnologies usedAcknowledgementLicenseGeneral InfoThis is a simple python package that can be used to perform the simple mathematical functions:AdditionSubtractionDivisionMultiplicationN-th root of numberExponentUsageThis calculator can be used for basic mathematical operations. It also has a calculator memory.Sample CodefromcalculatorimportCalculatorcal=Calculator(4)#sets calculator memory to 4ORfromcalculatorimportCalculatorcal=Calculator()Additioncal.add(4)#returns 4Subtractioncal.subtract(1)#returns 3Multiplicationcal.multiply(2)#returns 6Divisioncal.divide(2)#returns 3Memorycal.memory_value()#returns 3cal.reset_memory()#returns 0Technologies usedPython version: 3.8AcknowledgementThis project was inspired by Turing CollegeLicenseMIT 2021
Package: simple-camera
Simple CameraMinimum dependencies library for fast rendering of triangle meshes.SetupInstall with pip:foo@bar:~$pipinstallsimple-cameraor manually:Inside cloned repository run the following:foo@bar:~$pipinstall-rrequirements.txtfoo@bar:~$pythonsetup.pyinstallUsagefromsimple_cameraimportrender_perspective_cameraimg=render_perspective_camera(vertices,faces,width=256,height=256,angles=[0,0,0],translation=[0,0,0],scale=0.75)Image.fromarray(img)AcknowledgementsThis library is based onFace3Dcode.
Package: simple-capture
Command line screen recorder, built using FFmpeg.InstallationSimple Capture can be installed assimple-captureviapip.DocumentationDocumentation can be foundhere.DependenciesYou will needFFmpeg. If on Windows, I also recommend installingthisif you are on
Windows, so that you can use DirectShow.AuthorRajarshi Mandal-Raj-CSHLicenseThis project is licensed under the BSD 2 Clause License - see theLICENSE.txtfile
for details.AcknowledgmentsTheFFmpeg Projectfor making this possible!
Package: simple-categories
Reads lines from a plaintext file, separated by categories.To use use it, install the package and import on your project withimport catlistThen read a file withcategories = catlist.catlist(file_name)Category names are delimited by square brackets as the first and last
characters of the line.Items in each category are just plain text, one item per lineAny lines before the first category will be assigned to 'uncategorized'The format is simmilar to .ini files, only you don't have thei 'key'='value'
structure in the items.Blank lines and lines that begin with '#' are ignored.Example of a file:# the following lines will be assigned to 'uncategorized`

Linux
Windows
MacOS

[Directories]
/home
/usr
/etc

# this line will be ignored

[Files]
README.md
module.py
Package: simple-categorisation
Simple categorisationDefine categories and sub-categories with predicates, and categorise
lists of items based on these categories:cat=Categoriser()# The category of items that are < 0.5cat.add("x < 0.5",lambdax:x<0.5)# Items over 1over_1=cat.add("x >= 1",lambdax:x>=1)# Items between 1.1 and 1.2, as a subcategory of items over 1over_1.add("1.2 > x >= 1.1",lambdax:1.2>x>=1.1)over_1.add("x > 1.2",lambdax:x>=1.2)result=cat.categorise_list([0.01,0.6,1.001,1.05,1.1,1.2,3])summarised=result.summarise()print(summarised)This should show something along the lines of:{"categories":[{"category_name":"x < 0.5","matches":1},{"category_name":"x >= 1","matches":5,"categories":[{"category_name":"1.2 > x >= 1.1","matches":1},{"category_name":"x > 1.2","matches":2},{"unmatched_items":2}]},{"unmatched_items":1}]}It is possible to obtain a Sankey diagram with plotly for the same
example.First, install plotlypipinstallplotlyThen:parameters=result.plotly_sankey(top_label="Top")importplotly.graph_objectsasgofig=go.Figure(data=[go.Sankey(parameters)])fig.update_layout(title_text="Example Sankey Diagram",font_size=20)fig.show()
Package: simplecel
SimplecelOffline Excel-like app with no formula conversion, but with image/markdown/HTML support.FeaturesCustom renderers beyondhttps://docs.handsontable.com/5.0.0/demo-custom-renderers.html-- 'markdownRenderer', 'imageRenderer'. -- Can render images with URL's alone. No need for<img src="" />.Always good word wrap support and auto-row-height due to Handsontable.Absolutely no formula conversion. Things like=1+2,OCT2,11-14will never get converted.Max column width can be specified (default: 200).Installationpip install simplecel
pip install pyexcel-xlsx  # Or any other packages defined in pyexcel GitHubFor what you need to install other thansimplecel, please seehttps://github.com/pyexcel/pyexcel#available-pluginsUsage$ simplecel --help
Usage: simplecel [OPTIONS] FILENAME

Options:
  --config TEXT     Please input the path to CONFIG yaml, as defined in pyhandsontable.
  --host TEXT
  --port INTEGER
  --debug
  --help          Show this message and exit.
$ simplecel example.xlsxIn this case,example.config.yamlis also auto-loaded, although you can specify*.config.yamldirectly in--config. If the file doesn't exist, it will be auto-generated on Save.Example ofexample.config.yamlsimplecel:_default:{allowInsertCol:false,hasHeader:true,renderers:markdownRenderer}hanzi:allowInsertCol:falsecolHeaders:truecolWidths:[67,197,200,71,90,106,66,60,59,200]contextMenu:truedropdownMenu:truefilters:truehasHeader:truemanualColumnResize:truemanualRowResize:truemaxColWidth:200renderers:markdownRendererrowHeaders:trueOne-stop settings for all tables are defined in_default.Note that thedefaultConfigin the Javascript areletdefaultConfig={rowHeaders:true,colHeaders:true,manualRowResize:true,manualColumnResize:true,// fixedRowsTop: 1,filters:true,dropdownMenu:true,contextMenu:true,maxColWidth:200,hasHeader:false,// renderers: 'markdownRenderer',allowInsertCol:true};rendererscan also accept something like{1:"markdownRenderer",2:"markdownRenderer"}Some other acceptable configs are defined inhttps://docs.handsontable.com/5.0.0/Options.htmlPlanWrap this app in PyQt / PyFlaDesk for GUI end-users (maybe later, as PyFlaDesk of now is still buggy).Screenshots
Package: simplecf
IMPORTANTsimplecf uses Boto3 from 1.1.0 forward, if you need Boto (aka Boto2) support,
please install version 1.0.2 using this command:pip install simplecf==1.0.2What is simplecf?How to useWhat is simplecf?simplecf is a templating system for AWS Cloudformation that allows you
to make many variations of a single template for maximum code re-use.
See a simple exampleHEREThe standard use-case is that you have 4 environments {dev,qa,stage,prod}
based on one Cloudformation template.  Rather than maintaining 4 templates
that are mostly identical, you can add Mustache {{ tags }} to your templates
and create simple JSON data files that specify the values.  This has
the added benefit of eliminating the need for a lot of boilerplate mapping
code in the “Parameters” section of your templates.simplecf also supports data file fragments;  You can create a single data
file for each AWS region that contain region-specific data like ami-id,
etc… and import that data file fragment into your other templates.How to useYou can install using pip:#As root, or alternately use --user
pip install simplecfCreate a standard AWS Cloudformation template, adding Mustache {{ tags
}} for the parts you wish to be dynamically substitutedmy-cf-template.json:...
"Tags":[
  {"Key": "Phase", "Value": "{{ phase }}"}
]
...Next, create a JSON file to define the stack and fill in the tags. You
can generate an empty data file withsimplecf.py-dprod.json-cmy-cf-template.jsonprod.json:{
  "CF_TEMPLATE": "my-cf-template.json",
  "STACK_NAME": "MyStackProd",
  "STACK_REGION": "us-east-1",
  "phase": "Prod"
}Then run simplecf to generate the templatesimplecf.py-dprod.jsonWhich outputs:MyStackProd.json:...
"Tags":[
  {"Key": "Phase", "Value": "Prod"}
]
...Run simplecf.py with –help to see various other tools and options.
Package: simple-cfddns
simple cfddnsA simple that conviently set up a DDNS service based on Cloudflare.installpip3 install simple-cfddnsusageupdatea record, or create if not exist:cfddns\-z<zone_id>\-t<token>\-nexample-ddns.yourdomain\updatelistall records on a domain:cfddns\-z<zone_id>\-t<token>\-nexample-ddns.yourdomain\listdeleteall records on a domain:cfddns\-z<zone_id>\-t<token>\-nexample-ddns.yourdomain\deleterun as a systemd serviceIn general, we want this program to run periodically and automatically restart in the event of
any exception. To achieve this, we can install "simple-cfddns" as a systemd service.installa new cfddns service:prog=$(whichcfddns)sudo$prog\-z<zone_id>\-t<token>\-nexample-ddns.yourdomain\installdefaultthis will create a service with name "cfddns-default". you can create
multiple cfddns services given that they have different names.then, start and enable it:sudosystemctlstartcfddns-default
sudosystemctlenablecfddns-defaultlistall cfddns servicescfddnsservicesuninstalla serviceprog=$(whichcfddns)sudo$proguninstalldefault
Package: simplecfg
SimpleCFGA library to easily manage program configuration, for Python.Installationpip install simplecfgQuick Startimportsimplecfgcfg=simplecfg.Config("settings.cfg")# Writingcfg.set("username","Max")cfg["website"]="https://itsmaxymoo.com"cfg.write_file()# Readingcfg.read_file()name=cfg.get("username")# 'name' contains "Max"FunctionsAll of the following functions are to be called on an instance ofsimplecfg.ConfigNameFunctionArgument(s)Returns__init__(path: str)ConstructorPath to the config file-get(key: str)Get an item from the configKey nameItem stored at key, otherwise Noneset(key: str, value)Set a value in the configKey name, itemNonedelete(key: str)Remove an item from the configKey nameItem if found, otherwise Noneget_keys()Returns an iterable of all keys in the config-iterabledump()Returns text representation of the config-strwipe()Deletes all keys--read_file(load_if_corrupt = False)Loads config from diskBoolean to create an empty config if the file is corrupt. Otherwise, raise ValueError-write_file()Commit config to disk--Magic FunctionsNameBehavior__len__()Returns the number of keys in the config__contains__(key: str)Returns true if key exists in the config__getitem__(key: str)Alias toget(key)__setitem__(key: str, value)Alias toset(key, value)__delitem__(key: str)Alias todelete(key), does not return anythingSynchronousConfigAlternatively, you may opt to usesimplecfg.SynchronousConfig.
It has the same functions assimplecfg.Config, but it will automatically
commit the config to disk witheverymodification.Predefined DirectoriesSimpleCFG contains some predefined directories in the modulesimplecfg.dir,
to assist in configuration file placement. Each directory is accessed atsimplecfg.dir.DIRNAMEDirectory NameLinuxMac OSWindowsHOME~~~APP_DATA~/.local/share~\AppData\Roaming~/Library/Application SupportCONFIG~/.config~\AppData\Roaming~/Library/Application SupportTEMP/tmp~\AppData\Local\Temp/tmp
Package: simple-chalk
Simple ChalkNote: This document is best viewedon github.
Pypi's headers are all caps which presents inaccurate information"Table of ContentsIntroWhat is it?Why create it?Why the subset of features?InstallUsageApichalk(string) => stringnewChalk() => ChalkTestFeatures included from js version of ChalkFeatures omittedIntroWhat is it?A terminal string styling library for python.  It implements a subset of
Sindre Sorhus'chalk(which is for js).e.g.chalk.green.bold("success")prints like you'd expect in the console.Why create it?I am familiar with and enjoy the syntax ofchalk.
Anthonyalmarza'schalkdeviates from that syntax and so I created my own.I'm also new to python so this was a good way to learn.Why the subset of features?I only use chalk for very simple purposes so I left out things like 256 colors.Install$pipinstallsimple_chalkUsagefromsimple_chalkimportchalk,green# both of these are the sameprint(chalk.green("success"))print(green("success"))# chainedprint(green.bold("success"))# assign combinationssuccess=green.bold.underlineprint(success("we did it!"))# last color winsprint(green.red("this is red"))# background and foreground colors are separatewhyNot=green.bgWhite.red.bgGrayprint(whyNot("this is red text with a gray background"))Apisimple_chalkexports the followingchalk(string) => stringA singleton that can be used instead of importing the colors and
styles directly.chalkand all exported colors/styles are chainable callables.  When called,
they take a single string argument and return a string wrapped in the
appropriate ascii color codes.newChalk() => ChalkYou probably don't need this, but it creates a new chalk instance in case
another library is misbehaving.The following colors are exportedblackredgreenyellowbluemagentacyanwhiteblackBright (also 'gray' and 'grey')redBrightgreenBrightyellowBrightblueBrightmagentaBrightcyanBrightwhiteBrightEach color also has a camel-casedbgequivalent.  e.g.bgBlackandbgYellowBrightFinally the following miscellaneous styles are exportedbolddimunderlinehiddenTesthubcloneolsonpm/py_simple-chalkcdpy_simple-chalk
pythonrunTests.pyFeatures included from js version of Chalkchainable apisame color names (with added aliases)Features omitted** Features marked with*are ones I'd pull in should someone create a PR.256 colors and TrueColor supportmultiple arguments, and thus nested styles*color support detection*blue -> blueBright auto conversion on windows*ability to disable*modifiers other than the miscellaneous styles noted above.
e.g.reset,italic,inverseetc.
Package: simplechanges
Simple ChangesSimple Changesis a dead-simple changelog format that keeps track of changes and call them programmatically. The file format is dead-easy to follow, and you can use this package to parse the file and get information in the changelog. Simple Changes is used in Unscripted to parse the game's changelog and present the latest version information to players, but this library can be used anywhere.RequirementsPython 2.7+Poetry package manager (for building)Getting startedQuick Start: Install on PyPISimple Changes is bundled in Unscripted, but you can install it into your projects anywhere from PyPI with pip:pip install simplechangesInstall from sourceTo install Simple Changes from the source code, first clone the repository from GitHub viagit clone. You'll also need to install Poetry. In the root of the source, run the following commands:- poetry install
- poetry buildThe resulting wheel files will be available in the dist directory.SyntaxComments are wrapped in/*and*/.Versions are denoted by square brackets:[v1.0.0].Notes are denoted with dashes in the beginning and end with a newline.Note: To get thelatestversion to work in the parser, always place the latest version at the top of the file.Example file/*
    Changelog Test
*/

[v1.0.1]
- Made a small bugfix.

[v1.0.0]
- Launched!
- I ate cheese.UsageUsing the package is relatively easy. To get the latest version in the changelog, assuming the changelog builds up:fromsimplechangesimportSimpleChangesParserchangelog=SimpleChangesParser("changelog.changes")changelog.parse()version,notes=changelog.latestAfter parsing, you also can browse for a specific version:fromsimplechangesimportSimpleChangesParserchangelog=SimpleChangesParser("changelog.changes")changelog.parse()version,notes=changelog.versions["v1.0.0"]LicenseThis code is licensed under the Mozilla Public License, v2.0.
Package: simplecharts
Featuresno big dependenciesproduces clean SVGavailable charts: grouped columns, stacked columns, lines, stacked areasUsagerenderer=StackedColumnRenderer()data={'rows':[{'label':'Apples','values':[3,2,5],},{'label':'Oranges','values':[4,2,3],},{'label':'Pears','values':[4,3,4],},{'label':'Bananas','values':[5,1,2],}],'legend':['John','Jane','Joe'],}svg=renderer.render(data)