Saravanan666/pypi-org huggingface dataset:
Package: mechanicus
MechanicusParallel execute with asyncio libraryInstallpip3 install mechanicusDependenciespython >=3.7aiohttpaiofilesExamplesParallel file downloadexecutor=QueueExecutor(Downloader())awaitexecutor.execute([DownloadTask("https://file-examples-com.github.io/uploads/2017/02/file_example_CSV_5000.csv","/home/user/Downloads/example.csv",),DownloadTask("https://file-examples-com.github.io/uploads/2017/02/file_example_JSON_1kb.json","/home/user/Downloads/example.json",)])Parallel custom task executeasyncdefsource(count):foriinrange(count):print(f"new:{i}")yieldiawaitasyncio.sleep(0.2)classCustomExecutor(TaskExecutor[int,int]):asyncdefexecute(self,task:int):print(f"start:{task}")awaitasyncio.sleep(0.5)print(f"complete:{task}")returntaskexecutor=QueueExecutor(CustomExecutor())result=awaitexecutor.execute(source(20))print(f"result:{result}")
Package: mechanize
ContentsMajor featuresInstallationDocumentationCreditsMajor featuresStateful programmatic web browsing in PythonThe browser classmechanize.Browserimplements the
interface ofurllib2.OpenerDirector, so any URL can
be opened not justhttp.Easy HTML form filling.Convenient link parsing and following.Browser history (.back()and.reload()methods).TheRefererHTTP header is added properly (optional).Automatic observance ofrobots.txt.Automatic handling of HTTP-Equiv and Refresh.InstallationTo install for normal usage:pip3installmechanizeTo install for development:gitclonehttps://github.com/python-mechanize/mechanize.gitcdmechanizepip3install-e.To install manually, simply add themechanizesub-directory somewhere on yourPYTHONPATH.DocumentationSeehttps://mechanize.readthedocs.io/en/latest/Creditspython-mechanize was the creation of John J. Lee. Maintenance was taken over by
Kovid Goyal in 2017.Much of the code was originally derived from the work of the following people:Gisle Aas – [libwww-perl]Jeremy Hylton (and many others) – [urllib2]Andy Lester – [WWW::Mechanize]Johnny Lee (coincidentally-named) – MSIE CookieJar Perl code from which
mechanize’s support for that is derived.Also:Gary Poster and Benji York at Zope Corporation – contributed significant
changes to the HTML forms codeRonald Tschalar – provided help with Netscape cookiesThanks also to the many people who have contributed bug reports and
patches.
Package: mechanizeretry
Copyright (C) 2018 Cisco Systems Inc.Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Description: # mechanizeretryAdd hang protection and retries to mechanize operations## Getting StartedInstall usingpiporeasy_install:pip install mechanizeretryeasy_install mechanizeretry## PrerequisitesThis project requires mechanize.## Usage Examplepython
import mechanize
from mechanizeretry import RetryBrowserbrowser = RetryBrowser()
browser.set_handle_equiv(True)
browser.set_handle_redirect(True)
browser.set_handle_referer(True)
browser.set_handle_robots(False)
browser.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
browser.open(’http://server:8080/v1/api/endpoint’, retries=5, delay=15, timeout=30)Keywords: mechanize,retry
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
Package: mechanoChemML
mechanoChemML libraryDeveloped by theComputational Physics Groupat the University of Michigan.List of contributors (alphabetical order):Arjun SundararajanElizabeth LivingstonGreg TeichertJamie HolberMatt DuschenesMostafa Faghih ShojaeiSid SrivastavaXiaoxuan ZhangZhenlin WangKrishna GarikipatiOverviewmechanoChemML is a machine learning software library for computational materials physics. It is designed to function as an interface between platforms that are widely used for scientific machine learning on one hand, and others for solution of partial differential equations-based models of physics. Of special interest here, and the focus of mechanoChemML, are applications to computational materials physics. These typically feature the coupled solution of material transport, reaction, phase transformation, mechanics, heat transport and electrochemistry. mechanoChemML is available on PyPi athttps://pypi.org/project/mechanoChemML/.LicenseBSD 4-Clause license. Please see the file LICENSE for details.InstallationOne can follow the installation instruction athttps://mechanochemml.readthedocs.io/en/latest/installation.htmlto install the mechanoChemML library.Documentation and usageThe documentation of this library is available athttps://mechanochemml.readthedocs.io/en/latest/index.html, where one can find instructions of using the provided classes, functions, and workflows provided by the mechanoChemML library.AcknowledgementsThis code has been developed under the support of the following:Toyota Research Institute, Award #849910 "Computational framework for data-driven, predictive, multi-scale and multi-physics modeling of battery materials"Referencing this codeIf you write a paper using results obtained with the help of this code, please consider citingX. Zhang, G.H. Teichert, Z. Wang, M. Duschenes, S. Srivastava, A. Sunderarajan, E. Livingston, J. Holber, M. Shojaei, K. Garikipati (2021), mechanoChemML: A software library for machine learning in computational materials physics, arXiv preprintarXiv:2112.04960.
Package: mechaSVG
mechaSVGmechaSVG is a python & tk application for creating good-looking energy profile diagrams asScalable Vector Graphicsor‘.svg’files with various aesthetic options. The produced graphics can also be easily edited afterwards via an svg editor like Inkscape. Extra analysis for catalytic cycle diagrams include: Finding energy span, Turn Over Frequency (TOF) estimation from both energy span andcatalytic-flux law, and estimating degree of TOF control of both intermediates and transition states.Latest updates-Various graph styles and personalization options added.-Make energy comparisons betwen structures.-Plot up to 30 structures 2D PES (Potential Energy Surface).-Slight modifications to the user interface.-Support for “.txt” and “.xlsx” imports and exports added. Please refer to section “Importing .txt and .xlsx” for information about importing these file types.Installing & RunningThe recommended installaion requires python 3.6 or above.Fresh instalation can be done via:`python3-mpip install mechasvg`Upgrading from older versions can be done via:`python3-mpip install-Umechasvg`The program can be run via:`python3-mmechasvg`Alternatively, a windons 10 executable can be downloaded on github:github.com/ricalmang/mechasvgHow to citeI don’t actually require users to cite the software at all, so you can take any liberty in how or whether you cite it. However, a citation would greatly help to spread the visibility and adoption of this project which is my main goal.If you intend to cite it, the following citation should suffice:Angnes, R. A. mechaSVG, GitHub repository, 2020, doi: 10.5281/zenodo.3970267.AcknowledgmentsThis project was funded by SÃ£o Paulo Research Foundation (FAPESP) under grant 2019/02052-4.
Package: mechcalc
mechcalcMechanical Engineering Calculators, Chuck McKyesThis is a gui app based on wxPython.v1.3.2 October 2021Copyright (C) 2021 Chuck McKyesThis 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, seehttps://www.gnu.org/licenses/.*** Verify calculations produced by this software. ***All calculations are approximate estimates. Actual specifications
are available from equipment manufacturers.Pump power and head assume cold water being pumped.
Vapour pressure of a mixture uses Raoult's law.wxPython is required. In Windows, Microsoft Visual C++
redistributable is required. I find that everything works
with Python 3.7.3 in Debian and Python 3.8.6 in Windows 10,
but Python 3.9.0 does not appear to work on Windows 10.Debian requires python3-wxgtk to be installed via your package manager.
For example, on a Raspberry Pi 4 as of this writing, the version is
python3-wxgtk4.0-4.0.4+dfsg-2.This python script can be run using "python3 -m mechcalc" on the
command line or by creating a shortcut.In Debian, a desktop shortcut can be created by creating
a file with a .desktop extension (e.g., "MechCalc.desktop").
Make the contents this:[Desktop Entry]Version=1.1.2Type=ApplicationName=MechCalcComment=Exec=python3 -m mechcalcIcon=Path=Terminal=falseStartupNotify=falseIn Windows, right-click on the desktop or in file explorer
and create a shortcut. Right click again and select Properties.
Enter "\pythonw.exe -m mechcalc"
in the "Target:" field, and 
in the "Start in:" field. ("pythonw.exe" starts the script without
a command line console.)
Package: mechcite
mechcitePython package for the definition of materials used during mechanical engineering calculationsFree software: MIT licenseDocumentation:https://mechcite.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-05-24)First release on PyPI.0.2.1 (2019-05-31)cite attribute for non-callable object0.2.2 (2019-05-31)Append bib functionality works0.2.3 (2019-06-01)Added bib concrete objectAllows user to check if bibtex is loaded0.2.4 (2019-06-01)bug fix in repr html/markdown/latex
Package: mechkit
mechkitThe Python packagemechkitis a toolkit for researchers
in the field of continuum mechanics and material modeling.mechkitcontains methods and operators
for elementary tasks concerning tensor algebra and tensor notation,
focusing on second- and fourth-order tensors.Please seelicense,acknowledgmentand cite the latestZenodo-DOI.DocumentationDocumentation is given inthe docs.ExamplesRendered example notebooks are inthe docs.
These notebooks and corresponding scripts can be foundhere.InstallationInstall withpipfollowing instructions onPython Package Index, i.e.,pipinstallmechkitorinstall from local filesClonethis repository to your machineOpen a terminal and navigate to your local cloneInstall the package from the local clone into the currentenvironmentin develop mode:pythonsetup.pydevelopNote:Develop vs. installAcknowledgmentThe research documented in this repository has been funded by theGerman Research Foundation (DFG, Deutsche Forschungsgemeinschaft)- project number255730231.
The support by the German Research Foundation within the International Research Training Group“Integrated engineering of continuous-discontinuous long fiber reinforced polymer structures“ (GRK 2078)is gratefully acknowledged.
Package: mechmat
mechmatPython package for the definition of materials used during mechanical engineering calculationsFree software: MIT licenseDocumentation:https://mechmat.readthedocs.io.FeaturesTODOCreditsThis package makes use ofpintfor unit safe calculations.This package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-03-29)First release on PyPI.0.1.4 (2019-05-11)Multiple bug fixesAccepts Numpy arraysState factor for easy creation of material statesState can now be set when initializingExpanded the base material propertiesAdded support for Jupyter Markdown, LaTeX and HTML representation0.2.0 (2019-05-25)Removed the need for a metaclassObserver pattern implemented as Chainable classGuarded descriptor addedModular materials, allows for mix and match of different modelsTwo-domain-Tait-pvt addedCross-Arrhenius model added0.2.1 (2019-05-25)property models, functions and values are cited by source0.2.2 (2019-05-31)Couple of bug-fixesdir shows only user variablesInterpolated function added (measurement data, can now be used)Serialization using dill is now possiblerepr string simplifiedCross-WLF model addedSome example materials added: PLA, PLA-TPU, PLA-TPS0.2.3 (2019-05-31)Added multiple thermal properties0.2.4 (2019-07-09)Bug fix citations
Package: mechmean
MechmeanThis Python package contains selected mean field methods
in the context of continuum mechanics
with special focus on orientation averaged homogenizationThe implementation is oriented as close as possible to the cited references
and no emphasis is placed on run time optimization.
Therefore, this package should be considered as a reference implementation
which can be used to cross-validate performance-optimized implementation.Please seelicense,acknowledgmentand cite the latestZenodo-DOIInstallationInstall withpipfollowing instructions onPython Package Index, i.e.,pipinstallmechmeanorinstall from local filesClonethis repository to your machineOpen a terminal and navigate to your local cloneInstall the package from the local clone into the currentenvironmentin develop mode:pythonsetup.pydevelopNote:Develop vs. installExamplesBoth example notebooks and example scripts are renderedhereand given as sourcehere.AcknowledgmentThe research documented in this repository has been funded by the German Research Foundation (DFG) within the
International Research Training Group“Integrated engineering of continuous-discontinuous long fiber reinforced polymer structures“ (GRK 2078).
The support by theGerman Research Foundation (DFG)is gratefully acknowledged.
Package: mechsuit
Bravo!  You have received a Medical Diploma in "mechsuit" fromthe Orbital Convergence University International Air and Water Embassy of the Tangerine Planet.You are now officially certified to include "mechsuit" in your practice.🚲 mechsuit🔧 descriptionThis is a bionics module that can reliably
ascertain the health status of software with
a python3 testing interface.(It's like a testing framework)🦾 install[ZSH] pip install mechsuit⚙️ documentation (this opens a server process that sends HTML)[ZSH] mechsuit shares🔩 internal status tests of the module[ZSH] mechsuit internal-statusThese checks are run with pypi "body_scan""mechsuit" is built from a fork of "body_scan"("body_scan" checks are written with "unittest")🚴🏻 TutorialChecks are started simultaneously, unless "--simultaneous no"Create a status file (glob pattern "**/status_*.py").(The glob pattern can be modified with the progammatic python3 interface)# status_1.py

def check_1 ():
	print ("check 1")
	
def check_2 ():
	print ("check 2")
	
def check_3 ():
	raise Exception ("not 110%")

checks = {
	"check 1": check_1,
	"check 2": check_2,
	"check 3": check_3
}from a directory deeper than the status file "status_1.py"[ZSH] mechsuit statusThis is the equivalent of:[ZSH] mechsuit status --glob-string "**/status_*.py"The report then should appear like thispaths: [
	{
		"path": "../status_1.py",
		"empty": false,
		"parsed": true,
		"stats": {
			"passes": 2,
			"alarms": 1
		},
		"checks": [
			{
				"check": "check 1",
				"passed": true,
				"elapsed": [
					4.054199962411076e-05,
					"seconds"
				]
			},
			{
				"check": "check 2",
				"passed": true,
				"elapsed": [
					1.72930003827787e-05,
					"seconds"
				]
			},
			{
				"check": "check 3",
				"passed": false,
				"exception": "Exception('not 110%')",
				"exception trace": [
					"Traceback (most recent call last):",
					"  File \"/home/veganecology/.local/lib/python3.11/site-packages/mechsuit/processes/scan/process/keg/check.py\", line 68, in start",
					"    checks [ check ] ()",
					"  File \"<string>\", line 13, in check_3",
					"Exception: not 110%"
				]
			}
		]
	}
]
alarms: [
	{
		"path": "../status_1.py",
		"checks": [
			{
				"check": "check 3",
				"passed": false,
				"exception": "Exception('not 110%')",
				"exception trace": [
					"Traceback (most recent call last):",
					"  File \"/home/veganecology/.local/lib/python3.11/site-packages/mechsuit/processes/scan/process/keg/check.py\", line 68, in start",
					"    checks [ check ] ()",
					"  File \"<string>\", line 13, in check_3",
					"Exception: not 110%"
				]
			}
		]
	}
]
stats: {
	"alarms": 0,
	"empty": 0,
	"checks": {
		"passes": 2,
		"alarms": 1
	}
}🪛 Advanced TutorialIt's recommended to run mechsuit programmatilly.An example of this can be found in the "_book/advanced tutorial"section of the documentation.🦿 Contactsbgrace2468@pm.me
Package: mechwolf
MechWolfMechWolf is a Python framework for automating continuous flow processes.
It was developed as a collaboration between computer scientists, chemists, and complete novices to be used by anyone wanting to do better, faster, more reproducible flow-based science.
Features include:Natural language description, analysis, and visualization of continuous flow networksAutomated execution of protocolsFull user extensibilitySmart default settings, designed by scientists for scientistsExtensive checking to prevent potentially costly and dangerous errors before runtimeNatural language parsing of times and quantitiesThorough documentation and tutorialsInstallationIt's as easy as:$pipinstallmechwolfOr, to get the latest (but not necessarily stable) development branch:$pipinstallgit+https://github.com/MechWolf/MechWolf.gitWhat can MechWolf do?A lot.
Let's say you're trying to automate the production ofacetaminophen, a popular pain reliever and fever reducer.
The reaction involves combining two chemicals, 4-aminophenol and acetic anhydride.
The basic level of organization in MechWolf are individual components, such as the vessels and pumps.First, we define our components and create anApparatusobject to hold them:importmechwolfasmw# define the vesselsaminophenol=mw.Vessel("15 mL 4-aminophenol")acetic_anhydride=mw.Vessel("15 mL acetic anhydride")acetaminophen=mw.Vessel("acetaminophen")# define the pumpspump_1=mw.Pump()pump_2=mw.Pump()# define the mixermixer=mw.TMixer()# same tube specs for all tubestube=mw.Tube(length="1 m",ID="1/16 in",OD="2/16 in",material="PVC")# create the Apparatus objectA=mw.Apparatus()Next, we define the connectivity of theApparatuswithadd().add()expects three arguments,from_component,to_component, andtube(in that order). First, we connectaminophenoltopump_1viatube:A.add(from_component=aminophenol,to_component=pump_1,tube=tube)Note that the keyword arguments are optional:A.add(acetic_anhydride,pump_2,tube)Sincefrom_componentis a list, bothpump_1andpump_2will be connected tomixer.A.add([pump_1,pump_2],mixer,tube)Finally, connectmixerto the output vessel,acetaminophen:A.add(mixer,acetaminophen,tube)Then we define aProtocoland run it:# create the Protocol objectP=mw.Protocol(A,name="acetaminophen synthesis")P.add([pump_1,pump_2],duration="15 mins",rate="1 mL/min")# execute the ProtocolP.execute()That's it! You can do this and a whole lot more with MechWolf.
To learn more, take a look at thedocs.DocumentationLink will go hereLicenseGPLv3(summary).CitationWill go here.
Package: mechy
This package consists of functionalities useful for basic engineering studies.Current Implementation : Finite Element Analysis on 2D problems has been implemented.In Progress : Literally everything.Github Repo LinkPypi link#INSTALLATION GUIDE:pip install mechpip3 install mechy#DOCUMENTATION:##2D Finite Element Analysis
Here is a demo code to display all outputs of a 2D Finite Element Analysis on a dogbone.from mechy import FEM
FILE_PATH='demo_examples/2d_test.txt'
plot_type='all'

s=FEM()
s.fem2d(FILE_PATH,plot_type)plot_type='all'Variable plot_type should be among the list of possible output demands :</code></pre>
<p>The input file format is similar to standard simulating softwares as abaqus</p>
<pre><code>### Input file syntax:

    *Material
    500, 0.06             # E and nu
    
    *Node
    1, 0.0, 0.0
    2, 0.0, 1.0
    3, 1.0, 1.0
    4, 1.0, 0.0
    
    *Element
    1, 1, 2, 3, 4        # elemId, nodeid of vertices
    
    *Step
    *Boundary
    1, 1, 2, 0.0          # nodeId, dof1, dof2, value
    2, 1, 1, 0.0
    3, 1, 1, 0.01
    4, 1, 1, 0.01
    4, 2, 2, 0.0
Package: mecmitool
this project contain some small tool which are use in my other project.0.1.01:add functimer0.1.00:refix pathchecker with @classmethod0.0.12:add checkpoint0.0.11:fix timer0.0.10:improve timer and pathchecker0.0.9:repair auto_upload.py0.0.8:rewrite twine.main0.0.7:add auto_upload.py0.0.6:add verified twine0.0.5:error add OutRangeErrorfix path_checker.check_infile0.0.4:add error.py0.0.3:add playsound.py0.0.2:add timer.py0.0.1:add path_checker.py
Package: mecoda-orange
Mecoda-OrangeMecoda-Orange is an add-on developed onOrange Data Mining Platformto analyse data from science citizen observatories.Seedocumentation.MECODA (ModulE for Citizen Observatory Data Analysis)is a repository to facilitate analyzing and viewing all sorts of citizen science data. It allows users to make their own exploratory visual data analysis without the help of specialized analysts. It also enables observers to create their own reproducible visual dataflows and share and reuse them.MECODA is part ofCos4Cloud, a European Horizon 2020 project to boost citizen science technologies.FeaturesMinka: collect observations from Minka API usingmecoda-minkalibrary. In addition, there are complementary widgets for various tasks with Minka observations, including retrieving observation images, filtering observations by marine or terrestrial categories, and searching observations by taxon tree.OdourCollect: collect observations from OdourCollect API usingpyodcollectlibrary.canAIRio: composed for two widgets, one forCanAIRio Fixed Stations dataand other forCanAIRio Mobile Stations data.Natusfera: collect observations from Natusfera API, usingmecoda-natlibrary.Smart Citizen: collect observations from the SmartCitizen API, using two widgets, one for collecting information about the kits in thesmartcitizen platformand another one for the actual timeseries data. For making use of the timeseries data, it is necessary to add the orangetimeseriesadd-on.AireCiudadano: collect observations about air quality using DIY sensors, insidethis project.Plantnet: identify images of plants usingPlantnet API.
Package: mecode-viewer
Welcome to mecode_viewerInstallationpipinstallmecode_viewerGetting StartedExample: simplest caseAll that is needed to runmecode_vieweris to provide a path to your gcode file. By default,mecode_viewerassumes you're using a Nordson pressure controller to control ink extrusion.frommecode_viewerimportmecode_viewermecode_viewer(file_name='gcode_file.pgm')Example: custom extrusion commandLinear actuators are also often used to control ink extrusion during printing. This example shows how we can provide a customextrude_cmdto specify when extrusion starts and stops. E.g., if linear actuator #5 is typically run usingFREERUN PDISP5 2.5and stopped usingFREERUN PDISP5 STOP, we can simply setextrude_cmd='FREERUN PDISP5'.frommecode_viewerimportmecode_viewermecode_viewer(file_name='gcode_file.pgm',extrude_cmd='FREERUN PDISP5')Example: animated visualizationBy defaultmecode_viewerwill display a 3D figure of your gcode toolpath. If you would like to view an animated version, setanimate=True.frommecode_viewerimportmecode_viewermecode_viewer(file_name='gcode_file.pgm',animate=True)Example: mixing, multimaterial printingIfextrude_cmdis provided with a list or tuple with more than one entry,mecode_viewerwill generate a figure color coded for each extrusion source.frommecode_viewerimportmecode_viewermecode_viewer('gcode_file.pgm',extrude_cmd=('PDISP1','PDISP2'),extrude_stop_cmd=('PDISP1 STOP','PDISP2 STOP'))!!! warningThis currently only work for two extrusion sources. We plan to add support for more extruders / more colors.Want to learn more?Full documenation ofmecode_vieweravailable atAPI Reference.Licensemecode_vieweris distributed under the terms of theMITlicense.