Saravanan666/pypi-org huggingface dataset:
Package: simplt
Simple Python plotCall this pip package to easily create:a boxplota multi-line plota latex tableExample Boxplotpython-msimplt--box-plotWhich is the same as running:fromsimplt.boxplot.boxplotimportcreate_box_plotimportnumpyasnpextensions=[".png",],filename="example_box",output_dir="output",# Fixing random state for reproducibilitynp.random.seed(7)# Generate dummy data.first=[39,44,50,50,58,63]second=[80,100,100,120]# Add a name for each boxplot for in the legend, and y values.y_series={"data_1":first,"data_2":second}create_box_plot(extensions=extensions,filename=filename,legendPosition=0,output_dir=output_dir,x_axis_label="x-axis label [units]",y_axis_label="y-axis label [units]",y_series=y_series,)And creates:Example Multi-Line Plotpython-msimplt--line-plotWhich is the same as running:fromsimplt.line_plot.line_plotimportline_plotimportnumpyasnpextensions=[".png",],filename="example_line",output_dir="output",multiple_y_series=np.zeros((2,2),dtype=int)# actually fill with datamultiple_y_series[0]=[1,2]lineLabels=["first-line","second_line",]# add a label for each dataseriessingle_x_series=[3,5]plot_multiple_lines(extensions=extensions,filename=filename,label=lineLabels,legendPosition=0,output_dir=output_dir,x=single_x_series,x_axis_label="x-axis label [units]",y_axis_label="y-axis label [units]",y_series=multiple_y_series,)And creates a (colorblind-friendly) lineplot:Example Multi-Group Scatter Plotpython-msimplt--dot-plotWhich is the same as running:fromsimplt.dotted_plot.dotted_plotimportplot_multiple_dotted_groupsimportnumpyasnpsingle_x_series=[3.,5.]multiple_y_series:Dict[int,Dict[float,List[float]]]={}# actually fill with datamultiple_y_series[0]={}multiple_y_series[0][single_x_series[0]]=[1.,2.,5.]multiple_y_series[0][single_x_series[1]]=[0.,6.]multiple_y_series[1]={}multiple_y_series[1][single_x_series[0]]=[3.,4.]multiple_y_series[1][single_x_series[1]]=[1.,5.]groupLabels=["first_group","second_group",]# add a label for each dataseriesprint(multiple_y_series)plot_multiple_dotted_groups(extensions=extensions,filename=filename,label=groupLabels,legendPosition=0,output_dir=output_dir,x_axis_label="x-axis label [units]",y_axis_label="y-axis label [units]",y_series=multiple_y_series,)And creates a (colorblind-friendly) dotplot:For DevelopersBelow are pip-package publication instructions.Releasing pip package updateTo udate the Python pip package, one can first satisfy the following requirements:pipinstall--upgradepipsetuptoolswheel
pipinstalltwineFollowed by updating the package with:python3setup.pysdistbdist_wheel
python-mtwineuploaddist/\*Developer pip installBuild the pip package with:pipinstall--upgradepipsetuptoolswheel
pipinstalltwineInstall the pip package locally with:rm-rdist
rm-rbuild
python3setup.pysdistbdist_wheel
pipinstall-e.Upload the pip package to the world with:rm-rdist
rm-rbuild
python3setup.pysdistbdist_wheel
python3-mtwineuploaddist/\*
Package: simpl-users
Simpl Users ApplicationA reusable application to define Simpl UsersInstallationDjango 2.2$pipinstallsimpl-usersDjango 1.11$pipinstall"simpl-users<0.8.0"Setup development environment$gitclonegit@github.com:simplworld/simpl-users.git
$cdsimpl-users
$mkvirtualenvsimpl-users
$add2virtualenv.Install requirements:$pipinstall-rrequirements.txtRunning tests with py.test$pythonruntests.pyCopyright © 2018 The Wharton School,  The University of PennsylvaniaThis 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 2
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.
Package: simplyfire
SimplyFireA customizable analysis package for electrophysiologistsRead the full manualhere..exe InstallationDownload the software zip file from the recentrelease.
You only need to download the zip file.Extract the contents of the zip file, and locate SimplyFire.exe to run the software.Python InstallationIf you have Python, you can install and run SimplyFire as a Python module.You can install SimplyFire fromPyPIusingpipas follows:pipinstallsimplyfireOnce installed, you can run SimplyFire from any directory:py-msimplyfireSimplyFire is mainly a GUI-based software.
However, the algorithms for analyses can be imported as packages and used in Python scripts.DevelopmentSimplyFire has been written to make electrophysiology analysis straightforward, automatable, and customizable.
Tools are provided to easily create custom plugins.Pull-requests for fixes and additions are welcome!
Details on the development workflow will be available in the future.LicenseSimplyFire is released under the GPLv3 or later license.
Package: simplygopy
SimplyGoPy: talk to transit (in Singapore)SimplyGoPy enables you to talk toSimplyGousing Python.FeaturesCurrently basic features are supported:Login with SimplyGo login credentials.Retrieve notifications.Retrieve payment cards (you use to tap in/out at MRT/bus)Retrieve transactionsAuthenticationThese days encryption is no longer needed, the username and password are send in plaintext over HTTPS and signed with
an HMAC signature.Old:SimplyGo used to use AES-CBC encryption when sending username and password to their API. The key/initialization vector were statically stored inp014sg.transitlink.base.Constants(from their Android application).InstallationSimple using pip:$ pipenv install SimplyGoPy
🚎 🚇ExamplesGet notifications:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_notifications())Get card information:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_card_info())Get user information:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_user_info())Get transactions of today:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_transactions('< UniqueCode from get_card_info() >'))Get transactions from date X till today:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_transactions('< UniqueCode from get_card_info() >', '01-01-2019'))Get transactions from date X till Y:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_transactions('< UniqueCode from get_card_info() >', '01-06-2019', '01-07-2019'))Get all transactions of this month:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_transactions_this_month())Get transactions of this month for specific card:import simplygo
from pprint import pprint
rider = simplygo.Ride('<username>', '<password>')
pprint(rider.get_transactions_this_month('< UniqueCode from get_card_info() >'))DisclaimerI'm in no way affiliated with SimplyGo, Transit Link, or LTA.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: simply-ocr
Simply-ocr 0.0.1By Jeroben GuzmánFor text extraction from images on a simple way / Para extraer texto de imagenes de forma sencilla💡 PrerequisitesPython 3📚 Examplesfrom simply_ocr import read_image_en, read_image_es

read_image_en('test.jpg') #for english

read_image_es('test.jpg') #for spanish
Package: simplyprint-ws-client
Printer WS ClientA package for easy implementations of SimplyPrint printers.Usagefromprinter_ws_clientimport*classMyClient(Client):def__init__(self):self.info.ui="My Ui"self.info.ui_version="0.0.1"self.info.api="My Api"self.info.api_version="4.2.0"self.local_path="path_to_local_files"# define a callbackasyncdefon_connect(self,event:ConnectEvent):print(f"Connected, got name:{event.name}")# define another callbackasyncdefon_start_print(self,_:StartPrintEvent):# start the print somehowstart_print(self.selected_file)my_client=MyClient()# start the client# this runs the background thread and starts even processingmy_client.start()# run some loopwhileTrue:sleep(1)# get data from printermy_client.tool_temperatures=poll_tool_temperatures()my_client.bed_temperature=poll_bed_temperature()
Package: simplysklearn
SIMPLYSKLEARNTime to even automate your machine learning process!DescriptionAs Bill Gates once said, “I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.”.After numerous hours, days, weeks and months spent on Kaggle, I was inspired to sum up all the repetitive and tedious process to one single package.
For any machine learning projects, the user must perform data manipulations, check the dataset is all set for models.
After that, they must fit it into models and take note of how the model performs.With this package, I want to eliminate that tedious stage for any user.
This package would mainly be beneficial to those recently starting out in the field of machine learning or intermediate users.
It is probably unsuitable for highly complex models or datasets.The main usage should be to assist the user by assessing the performances of myriad of models.What it providesPrepares datatset by taking care of categorical feature by one-hot-encoding and numerical feature by scaling.Automatically fits the engineered dataset on myriad of Scikit-Learn models.Depending on what metric you want to observe, will plot you a colorful comparison of metrics of different models.Future ImprovementsAutomated hyperparameter tuning processOption to display feature importancesGetting StartedDependenciesProgramming Language: PythonLicense: MITOperating System: IndependentDependenciesInstallingpip install simplysklearnThe python package website can be accessedhereExecuting programfrom simplysklearn import Classification
from simplysklearn import RegressionClassification Exampledf = pd.read_csv('titanic.csv')
model = Classification(df, feature_columns_list, target_column)
model.fit()
model.plot('accuracy_score')
print(model.outlier_values)Regression Exampledf = pd.read_csv('housing_prices.csv')
model = Regression(df, feature_columns_list, target_column)
model.fit()
model.plot('mean_squared_error')
print(model.outlier_values)DocumentationDocumentationcan be accessed here.ContributingContributions are very much welcomed from everyone!Just make sure to fork this repo, make changes and open a pull request.Or you are always welcome to contact me via email!When you have created a pull request, we can take a look and improve on this package! ^_^AuthorsKim Hyun BinEmailKaggleVersion History0.2.0Major overhaul for organization (2023.04.04)0.1.0Fixes for Classification Module (2023.04.03)0.0.11Separation of Regression and Classification for clarity (2023.02.04)0.0.5Various regression bug fixes(2023.01.29)0.0.1Initial Release (2023.01.28)LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: simplysql
SimplySQL - The easiest way to edit SQL databases!With SimplySQL you can edit SQL databases without having to have a great understanding of SQL queries. Creating, reading or editing a database is made possible by simple python commands without the need for many lines of code.OverviewThe following features are included:Open or create databasesOpen or create tablesRun through all rows or columns, create them or delete themAt this stage only the following databases are supported: SQLite.InstallationThe installation is possible in two ways: either fork this github repo or use Pypi via pip.$ pip install simplysqlUsageBecause SimplySQL should work without queries, it is only necessary to import DataBase from SimplySQLfromsimplysqlimportDataBaseFrom this moment the fun can begin. The next step is the assignment of the database. Two methods can be used for this. The first method is a direct assignment (whereby this must be closed again at the end of processing):DB=DataBase("tests/Test.db")...DB.close()Or you can choose the with-assignment:withDataBase("tests/Test.db")asDB:...Grab a table and iterate over all rows:DBtable=DB.table(0)forrowinDBTable.rows():print(row.as_dict())# first row would be like:: {'name': 'Karl', 'age': 29, 'gender': 'female'}Each entry in a row can be reached by several ways where the assignment via a name depends on the name of the table columns:row.name,row["name"],row.get("name")orrow[0]To display the all content of a row you can use this functions and methods:row.attribute(),row.data,row.as_list(),row.as_dict()orrow.as_tuple()For a complete overview of all functions have a look at the manual and the examples.>>> coming soon
Package: simplystatic
SimplyStatic is a command-line static website generator written in Python. It is simple to use, and it is meant to be used for simple websites: blogs, small company websites, product pages, or landing pages in which the most important feature is the content itself.s2 uses very simple Mako templates to define the main areas of the page (content, header, footer, sidebars…) and CSS to style those elements. The content is written in Markdown.s2 has been developed and tested in Ubuntu 12.04, with Python 2.7.
Package: simpm
SimPM - Simulation Tool in Project ManagementSimPM offers a discrete event simulation library for project management in Python.Subpackages:des (discrete event simulation)dists (probability distributions) modulesUsing SimPMGetting started quickly:pip install simpmCommunityGithub DiscussionsContributing back to SimPMIf you run into an issue, please file a newissuefor us to discuss. If possible, follow up with a pull request.If you would like to add a feature, please reach out viaissue. A feature is most likely to be added if you build it!Authors and ContributorsNaimeh Sadeghi-naima.sadeghi@gmail.comPedram Elmi-pedram.elmi@gmail.com
Package: simpoly
SimpolyA package for simple polygon operations.UsageHere's a quick guide on how to use the package# +-------------------------------------------+# | Import package and define example polygon |# +-------------------------------------------+importsimpolyimportmathpolygon=[[0,0],[0,1],[-1,1]]# +---------------------------+# | Rotate polygon by radians |# +---------------------------+simpoly.rotate(polygon,math.pi/2)# +----------------------------------------+# | Translate (x, y) coordinates by (1, 2) |# +----------------------------------------+simpoly.translate(polygon,1,2)# +---------------------------------------+# | Scale (x, y) coordinates by (100, 10) |# +---------------------------------------+simpoly.scale(polygon,100,10)# +-----------------------------------------------------------+# | Get area (signed) and perimeter of polygon                |# | The area is positive if the polygon is counter clockwise  |# +-----------------------------------------------------------+area=simpoly.get_area(polygon)# signed areasimpoly.get_perimeter(polygon)# +------------------------------------------------------------------------------+# | Offset polygon edges by some distance.                                       |# | Positive distance expands the polygon, negative distance shrinks it.         |# | The 3rd parameter specify if the polygon is counter clockwise (ccw),         |# | it is assumed that the polygon is ccw by default, if the polygon is not      |# | ccw, the distance's sign will be change so that the behaviour is consistent. |# | One can use get_area to check if the polygon is counter clockwise.           |# +------------------------------------------------------------------------------+simpoly.offset(polygon,1,area>=0)# +----------------------------------------------------------------+# | Apply affine transformation to polygon, the second argument    |# | [a, b, c, d, e, f] is equivalent to the transformation matrix: |# |     [ a b c ]                                                  |# |     [ d e f ]                                                  |# +----------------------------------------------------------------+simpoly.affine_transform(polygon,[1,0,1,0,1,-2])# offset by [1, -2]There are also some bounding box utilities in here:importrandomfrompprintimportpprintfromsimpolyimportbbox_utils# +-------------------+# | Generate examples |# +-------------------+defrand_boxes(n):bounding_boxes=[]for_inrange(n):x_min=random.randint(0,100)y_min=random.randint(0,100)x_max=random.randint(x_min+1,200)y_max=random.randint(y_min+1,200)bounding_boxes.append([x_min,y_min,x_max,y_max])returnbounding_boxesboxes=rand_boxes(5)# Compute IoU / Batch IoUiou=bbox_utils.get_iou(boxes[0],boxes[1])print("IoU(b[1], b[1])",iou)# Compute IoU / Batch IoUious=bbox_utils.get_iou_matrix(boxes,boxes,symetric=True)ious=[["%.4f"%xforxinrow]forrowinious]pprint(ious)# Non max suppression# Boxes must be list of listkeep=bbox_utils.nms(boxes,[1.0]*5,iou_threshold=0.5)print("Keep",keep)
Package: simport
simportSimple Import Library for PythonSupports importing functions or class methods from files
not in the Python Path.Using Simportimport simport# For modules already in the Python Path
function = simport.load(‘mymodule.myfunction’)
class_method = simport.load(‘mymodule:MyClass.mymethod’)
klass = simport.load(‘mymodule:MyClass’)  # uninstanstiated.# For modules not in the Python Path
function = simport.load(‘/path/to/dir|module_name:myfunction’)
class_method = simport.load(‘/path/to/dir|module_name:MyClass.mymethod’)Look at the tests for some interesting naming conventions for
specifying relative modules, etc.Running TestsFrom the simport root directory, runtox
Package: simporter-e0967f3e095ce309
flask-jwt-authPackage for an authorization functionality using JWT for Flask framework.Settings:To decode token from another Auth API it's neccessary to set FlaskJWT_SECRET_KEYenv. It also could be required to setJWT_AUDIENCEenv (default value is"http://localhost:5000/")Available functions:decode_jwt_token - to get JWT payloadget_current_user - to get user username or ID (subparameter in JWT)jwt_required - decorator to validate JWT token and protect desired endpoints
Package: simpot
Simple Object-triple Mapping1. RequirementsThis module requires the rdflib package installation:$ pip install rdflib2. How to InstallFor install this package execute the command in your environment:$ pip install simpotor:$ pip install -ihttps://test.pypi.org/simple/simpot3. How to useimportsimpotfromrdflibimportNamespace,Literal,URIRef,RDFfromsimpotimportRdfsClass,BNamespace,graphfromrdflib.namespaceimportDC,FOAF# exemplo do rdflibclassPerson:nick=FOAF.nickname=FOAF.nameemail=FOAF.mbox@RdfsClass(FOAF.Person,None)# blank node@BNamespace("dc",DC)@BNamespace("foaf",FOAF)def__init__(self,name,nick,email):self.nick=Literal(nick,lang="foo")self.name=Literal(name)self.email=URIRef(email)p=Person("Donna Fales","donna","mailto:donna@example.org")print(graph(p).serialize())https://docs.python-guide.org/writing/structure/#test-suite
Package: simprad
simpradSimplify radicals.Simplifies a radical into a multiple of the square root of a prime number.
Based on the popular SIMPRAD for TI-BASIC of unknown author.
Supports negative numbers and arbitrary roots.When the input is a nonnegative number, the output will be a Tuple of two
real numbersߞthe coefficient and the radicand.When the input is a negative number, the output will be a Tuple of a complex
coefficient and a real radicand.Use simprad as a module:fromsimpradimportsimpradprint(simprad(50))# (5, 2)print(simprad(36))# (6, 1)print(simprad(-50))# (5j, 2)print(simprad(8,3))# (2, 1)Use simprad as a command line utility:$ python -m simprad
Radical to simplify: √50
Root [2]: 2
5 × √2
Package: simpress
Simpress, simple document server based on GitHub flavored Markdown.InstallationYou can install it through PyPI (the Python Package Index).pipinstallsimpressQuickstartpress-init<yourdocumentdir>press-init command creates the new document directory, so your document dir shouldn’t exist in advance.cd<yourdocumentdir>./press.pypreviewStart preview server on port 3776 in default.Editindex.mdor add new file(s).Publish static HTMLs./press.pypublishPublish all pages as static file in<your document dir>/_deploy/.CustomizeConfiguration filepress.pyhas a little config parameters.Your original themeYou can customize the document theme in_templates/*,css/*,js/*on your document directory.
Package: simprocesd
SimPROCESD: Simulated-Production Resource for Operations & Conditions Evaluations to Support Decision-makingSimPROCESD is a discrete event simulation package written in Python that is designed to model the behavior of discrete manufacturing systems. Specifically, it focuses on asynchronous production lines with finite buffers. It also provides functionality for modeling the degradation and maintenance of machines in these systems.In addition to modeling the behavior of existing systems, SimPROCESD is also intended to help with optimizing those systems by simulating various changes to them and reviewing the results. For instance, users may be interested in evaluating alternative maintenance policies for a particular system.The software is available for public use through a publicly available GitHub repository. Any user may create a fork (copy) of the repository to freely experiment (e.g., class extensions to model complex processes) with the code without affecting the original source code.NOTE:SimPROCESD project is in early development and may receive updates that are not backwards compatible.See the project'sGitHub pagefor more information.