Saravanan666/pypi-org huggingface dataset:
Package: mezzanine-wymeditor
This isWYMeditoradapted as richtext widget forMezzanine CMS. It includes basic WYMeditor distribution along with custom image button for use withfilebrowser-safe.ScreenshotsWYMeditor widget in Mezzanine admin:With a media library popup:With inline editing:InstallationTo install mezzanine-wymeditor first make sure you meet the requirements.WarningItrequiresat least Mezzanine 1.4.9 and filebrowser-safe 0.2.28 to work correctly.Now get it from pypi:pip install mezzanine-wymeditorOr directly from source if you prefer:git clone https://github.com/excieve/mezzanine-wymeditor
cd mezzanine-wymeditor
python setup.py installOnce installed, set upRICHTEXT_WIDGET_CLASSin yourlocal_settings.pylike this:RICHTEXT_WIDGET_CLASS = 'mezzanine_wymeditor.widgets.WymeditorWidget'and add the application toINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'mezzanine_wymeditor',
    ...
)Additionally you may override WYMeditor initialisation code (to set your own configs for instance):WYMEDITOR_SETUP_JS = 'path/to/your/setup.js'If everything goes well default editor will be replaced with WYMeditor everywhere.CaveatsPackaged WYMeditor is version1.0.0b7, which means it’s a beta. While I consider it to be good enough for everyday use, bugs are possible - please submit them to WYMeditor developers. WYMeditor distribution will be updated upon new releases.There’s a tiny modification to WYMeditor sources to make it detect static URL properly in Mezzanine admin so it’s not completely vanilla. There are no other changes to the original source.There are currently two image buttons on the toolbar. The default one lets you insert an image from arbitrary URL and modify some attributes of existing images. The custom one (with filebrowser icon, always at the end) opens up the media library and lets you choose an image from there, which is immediately inserted at the cursor position.You may want to disable (or relax) Mezzanine’s HTML filtering (RICHTEXT_FILTER_LEVEL) as WYMeditor has its own but it’s entirely up to you.There’s currently no convenient “insert video” functionality but one can still embed iframes in raw HTML providedRICHTEXT_FILTER_LEVEL = 2.Copyrightmezzanine-wymeditor is released under the BSD License.Copyright © 2013 Artem Hluvchynsky <excieve@gmail.com>.
Package: mezzy
MezzyUtilities forMezzaninesitesInstallationInstall via pip:pip install mezzyAdd to"mezzy"toINSTALLED_APPS(if using the template tags)FeaturesUtilitiesFound inmezzy.utilsadminmixins to create "nested" inline admin experiencesformsmixins for more accessible and user-friendly formsmodelsabstract model classes for common inline patternstestsTestCase mixin for class-based and function-based viewsTemplate tags and filtersmezzy_tagsprovides the following:microtemplate: Filter that parses certain variables in the value param. It can be used to allow some templating capabilities in admin fields. Default template tokens can be found inmezzy.defaults.load_theme: Tag that adds theSiteConfigurationto the context. It also uses the request object as cache to avoid some DB hits.clean: Filter that removes HTML tags and attributes that aren't allowed for Mezzanine by default, even if the user has disabled filtering.ContributingReview contribution guidelines atCONTRIBUTING.md.
Package: mf2py
Welcome 👋mf2pyis a Pythonmicroformatsparser with full support formicroformats2, backwards-compatible support formicroformats1and experimental support formetaformats.Installation 💻To installmf2pyrun the following command:$pipinstallmf2pyQuickstart 🚀Import the library:>>>importmf2pyParse an HTML Document from a file or string>>>withopen("test/examples/eras.html")asfp:...mf2json=mf2py.parse(doc=fp)>>>mf2json{'items': [{'type': ['h-entry'],'properties': {'name': ['Excited for the Taylor Swift Eras Tour'],'author': [{'type': ['h-card'],'properties': {'name': ['James'],'url': ['https://example.com/']},'value': 'James','lang': 'en-us'}],'published': ['2023-11-30T19:08:09'],'featured': [{'value': 'https://example.com/eras.jpg','alt': 'Eras tour poster'}],'content': [{'value': "I can't decide which era is my favorite.",'lang': 'en-us','html': "<p>I can't decide which era is my favorite.</p>"}],'category': ['music', 'Taylor Swift']},'lang': 'en-us'}],'rels': {'webmention': ['https://example.com/mentions']},'rel-urls': {'https://example.com/mentions': {'text': '','rels': ['webmention']}},'debug': {'description': 'mf2py - microformats2 parser for python','source': 'https://github.com/microformats/mf2py','version': '2.0.0','markup parser': 'html5lib'}}>>>mf2json=mf2py.parse(doc="<a class=h-card href=https://example.com>James</a>")>>>mf2json["items"][{'type': ['h-card'],'properties': {'name': ['James'],'url': ['https://example.com']}}]Parse an HTML Document from a URL>>>mf2json=mf2py.parse(url="https://events.indieweb.org")>>>mf2json["items"][0]["type"]['h-feed']>>>mf2json["items"][0]["children"][0]["type"]['h-event']Experimental OptionsThe following options can be invoked via keyword arguments toparse()andParser().expose_domUseexpose_dom=Trueto expose the DOM of embedded properties.metaformatsUsemetaformats=Trueto include anymetaformatsfound.filter_rootsUsefilter_roots=Trueto filter known conflicting user names (e.g. Tailwind).
Otherwise provide a custom list to filter instead.Advanced Usageparseis a convenience function forParser. More sophisticated behaviors are
available by invoking the parser object directly.>>>withopen("test/examples/festivus.html")asfp:...mf2parser=mf2py.Parser(doc=fp)Filter by Microformat Type>>>mf2json=mf2parser.to_dict()>>>len(mf2json["items"])7>>>len(mf2parser.to_dict(filter_by_type="h-card"))3>>>len(mf2parser.to_dict(filter_by_type="h-entry"))4JSON Output>>>json=mf2parser.to_json()>>>json_cards=mf2parser.to_json(filter_by_type="h-card")Breaking Changes inmf2py2.0Imagealtsupport is now on by default.Notes 📝If you pass a BeautifulSoup document it may be modified.A hosted version ofmf2pyis available atpython.microformats.io.Contributing 🛠️We welcome contributions and bug reports via GitHub.This project follows theIndieWeb code of conduct. Please be respectful of other contributors and forge a spirit of positive co-operation without discrimination or disrespect.License 🧑‍⚖️mf2pyis licensed under an MIT License.
Package: mf2util
Microformats2 provides an extremely flexible way to mark up HTML
documents, so that human-centric data is machine-discoverable. This
utility can be used to interpret a microformatted post or event, for
display as acommentorreply-context.The library itself has no dependencies, but it won’t do you much good
without an mf2 parser. I use and recommendmf2py.Fulldocumentation is on GitHub.Compatibility: Python 2.6, 2.7, 3.3+License:Simplified BSD
Package: mf3cc
This package performs model free 3-component scattering power decomposition for compact polarimetric Synthetic Aperture Radar data.Dey, S., Bhattacharya, A., Ratha, D., Mandal, D. and Frery, A.C., 2020. Target Characterization and Scattering Power Decomposition for Full and Compact Polarimetric SAR Data. IEEE Transactions on Geoscience and Remote Sensing.## usagefrom mf3cc import mf3cc_powersps, pd, pv = mf3cc_powers(‘D:/C2’, 7, -45)path = ‘D:/C2’ input a C2 folderwindow_size = 7chi_value = -45 (-45 is default value. However, you may change it as per requirement)Change Log2.0.0 (06/01/2021)Latest ReleaseFixed OS compatibility issue
Package: mf3cf
This package performs model free 3-component scattering power decomposition for full polarimetric Synthetic Aperture Radar data.Dey, S., Bhattacharya, A., Ratha, D., Mandal, D. and Frery, A.C., 2020. Target Characterization and Scattering Power Decomposition for Full and Compact Polarimetric SAR Data. IEEE Transactions on Geoscience and Remote Sensing.## usagefrom mf3cf import mf3cf_powersps, pd, pv = mf3cf_powers(‘D:/T3’, 7)path = ‘D:/T3’window_size = 7Change Log2.1.1 (06/01/2021)Latest ReleaseFixed OS compatibility issue
Package: mf4parser
mf4-parserTo extract set of signals from a MDF4 (mf4) filesFeatures* Create __mdfSubset__ in two ways
	* Instantiate with a list of 'asammdf.Signals'
	* Create a new subset from a larger MDF(.mf4) file with a list of signals in csv 
* Concatinate two mdfSubsets to create a new file (joins the each signals)
* Get timestamps (start,end) of a mdfSubset object
* Get the name of the signals in the mdfSubset
* Get the sample size of a signal in the mdfSubset
* Resample the signals in the mdfSubset to a different timestep
* Create a list of pandas-series objects (timestamps,samples) with the signals in the mdfSubset
* Create a data table with signals in the mdfSubset
* Export signals in the mdfSubset to a csv fileRequirements- Python >=3.7Installationpippip install mf4parsergitclone the repo [mf4parser](https://github.com/sridhar-eswaran/mf4-parser.git)Examples`#Create a subset from a larger MF4 file
from mf4parser import mdfSubset as ms
#select mf4 file
mf4_file1 = r'C:\users\sridhar\files\measurementFile01.MF4'
mf4_file2 = r'C:\users\sridhar\files\measurementFile02.MF4'
#select the signal list (csv) file containg list of signals to be extracted (sample can be found in repo)
signalList = r'C:\users\sridhar\files\signalList.csv'
# create a subset
subset1 = ms.createSubset(mf4_file1,signalList)`#to get the info of a subset
subset1.getTimestamps()OUTPUT: [0.060000000, 299.900000000]subset1.getSignalNames()OUTPUT: ['Vx', 'Vy', 'Ax', 'Ay']subset1.getSamplesize('Ax')OUTPUT: 2500#create another subset
subset2 = ms.createSubset(mf4_file2,signalList)
## to get the info of a subset
subset2.getTimestamps()OUTPUT: [299.910000000, 600.100000000]subset2.getSignalNames()OUTPUT: ['Vx', 'Vy', 'Ax', 'Ay']subset2.getSamplesize('Ax')OUTPUT: 2508# concatinate subset files
subset12 = ms.mdfConcat(subset1,subset2,'newSubsetname')`## Concatinated subset info
subset12.getTimestamps()OUTPUT: [0.060000000, 600.100000000]subset12.getSignalNames()OUTPUT: ['Vx', 'Vy', 'Ax', 'Ay']subset12.getSamplesize('Ax')OUTPUT: 5008# create data series from a subset (creates a pandas series of signals (TimeStamps Vs SampleValue)
dataseries = subset12.createDataSeries()

# Create data table from a subset (creates a pandas data frame (Timestamps | signal1 | signal2 | signal3))
timestep_to_resample = 0.02 # 20milliseconds
dataTable = subset12.createDataTable(timestep_to_resample) 

# export subset to a csv
subset12.exportCSV(timestep_to_resample,'csvFile.csv')
Package: mfa-aws
Helper script for using MFA with the aws cli. Requires python3.Usageusage:mfa-aws[options]updatesawscredentialsfilewithtemporarystscredentialsobtainedwithmfaoptionalarguments:-h,--helpshowthishelpmessageandexit-d,--debugEnabledebug-cCONFIG_FILE,--config-fileCONFIG_FILEconfigfiletoloadmfadetails[~/.aws/mfa-config]-pPROFILE,--profilePROFILEprofiletobeloadedfromtheconfigfile[default]ExampleBefore[~/.aws/credentials][default]aws_access_key_id=ASIADSJFKDSF3242aws_secret_access_key=FDSFSDKJFd/fdsfSDFSFfDSF4837fdDSFHDKSFsd0D[other-account-default]aws_access_key_id=ASIADSGFDDFG3897aws_secret_access_key=DFGKSJGSDKJGSDKJ4636//43643KJ353KJH/KFDFSDFS/DLKDKSFsd0D[~/.aws/mfa-config][profiledefault]mfa_serial=arn:aws:iam::111111111111:mfa/usernamedest_profile=default-mfa[profileother-account]mfa_serial=arn:aws:iam::999999999999:mfa/usernamedest_profile=other-account-mfasource_profile=other-account-defaultRunMBP-USERNAME:~username$mfa-awstokencodeforarn:aws:iam::111111111111:mfa/username:111111MBP-USERNAME:~username$MBP-USERNAME:~username$mfa-aws-pother-accounttokencodeforarn:aws:iam::999999999999:mfa/username:999999MBP-USERNAME:~username$After[~/.aws/credentials][default]aws_access_key_id=ASIADSJFKDSF3242aws_secret_access_key=FDSFSDKJFd/fdsfSDFSFfDSF4837fdDSFHDKSFsd0D[other-account-default]aws_access_key_id=ASIADSGFDDFG3897aws_secret_access_key=DFGKSJGSDKJGSDKJ4636//43643KJ353KJH/KFDFSDFS/DLKDKSFsd0D[default-mfa]aws_access_key_id=ASIADSJFKDSF3242aws_secret_access_key=FDSFSDKJFd/fdsfSDFSFfDSF4837fdDSFHDKSFsd0Daws_session_token=RIKJSFSAFJAS128753718965/352523//35jfhdssdDSJFKRIKJSFSAFJAS128753718965/352523//35jfhdssdDSJFKRIKJSFSAFJAS128753718965/352523//35jfhdssdDSJFK[other-account-mfa]aws_access_key_id=ASIADSGFDDFG3897aws_secret_access_key=DFGKSJGSDKJGSDKJ4636//43643KJ353KJH/KFDFSDFS/DLKDKSFsd0Daws_session_token=DFKJSF8732ASFAJKFHFHK324423/rekjAF/33kjfDFJKKJFDDFKJSF8732ASFAJKFHFHK324423/rekjAF/33kjfDFJKKJFDDFKJSF8732ASFAJKFHFHK324423/rekjAF/33kjfDFJKKJFDIntegrationsYubiKeyThe TOTP functionality of YubiKey tokens can be integrated on the cli through the ykman cli utility. Just specify the yubikey_credential_name in the mfa-config profile.[profileyubikey-account]mfa_serial=arn:aws:iam::999999999999:mfa/jamieyubikey_credential_name=AWS:jamie@yubikey-accountdest_profile=yubikey-account-mfasource_profile=yubikey-account-defaultyubikey_credential_name is of the form Issuer:AccountName and can be viewed with the following ykman command.ykmanoathlist
Package: mfabrik.plonezohointegration
localIntroductionFeaturesInstallationPlone 3 and beta componentsContact Us portlets and formsPortlet CSSCommercial developmentAuthorChangelog0.1Introductionmfabrik.plonezohointegrationprovide tools to integrate Plone CMS withZohoweb applications and their data.The main feature of this add-on product is a new contact form, available as standalone and a portlet,
which will directly deliver contacts to Zoho CRM where your sales representatives can pick them
up and handle according to their workflow.FeaturesControl panel to set Zoho username, password and API key required for integration communicationContact form integration with Zoho CRM. All contacts are automatically converted to Zoho leads.
The sales person of your organization can screen contact submissions in Zoho CRM
and dial/email to persons interested in your products.The features are done usingmfabrik.zoho library for Python.InstallationAdd the following to your buildout.cfg:eggs =
        ...
        mfabrik.plonezohointegrationRerun buildout.Restart Plone.Go to Plone Site Setup.Run add-on installer forZoho CRM integration.Add your Zoho credentials inZoho settingsunderSite Setup.NoteAs the writing of this, plone.app.z3cform trunk version (0.5.0+)
is needed to make this add-on fully functional. Otherwise the form
behavior might not be nice.Plone 3 and beta componentsThis add-on product uses software components which are not yet officially deployed
for Plone 3 (and maybe never will) like plone.app.registry. To make these components
work correctly you probably need to use “good-py version pindowns” in your
buildout.cfg.For more information, seehttp://plone.org/products/dexterity/documentation/manual/developer-manual/pre-requisites/buildout-configurationContact Us portlets and formsContact Us form will be available in URLhttp://yoursite.com/@@zoho-contact-formThe form is also available as a portletZoho Contact Form. We suggest
that you add this portlet as a content-type portlet on all of yourPagesandFolders.You can add some fixed field values to all leads generated through the web site
in Zoho settings.Portlet CSSYou might want add the following to your site theming to hide form fields descriptions
on the portlet form:.portletZohoCRMContact .formHelp {
   display: none;
}Commercial developmentThis package is licensed under open source GPL license.
If you are looking for high quality Zoho/Python support, please contactmFabrik Research.
Our top class Python developers are ready to help you with your software development.AuthormFabrik Research Oy- Python and Plone professionals for hire.mFabrik web sitemFabrik mobile siteBlogMore about PloneChangelog0.1Initial release
Package: mfabrik.printall
ContentsIntroductionInstallationUsageSourceFollowCommercial supportSupported configurationsTODOAuthorChangelog1.0.21.0.11.0Introductionmfabrik.printallallows you to print all pages in a folder on one shot.
Different pages are separated by a page break.This package is mainly used for printing on-line manual, etc. items out of Plone easily.InstallationAdd to buildout.cfg:eggs =
        mfabrik.printallUsageNew optionPrint Allappears inActionsmenu ofFoldercontent items after
installing this add-on through Plone Add-ons.Sourcehttp://svn.plone.org/svn/collective/mfabrik.printall/trunkFollowFollow in Twitterhttp://twitter.com/moo9000Commercial supportCommercial support optionsguarantee that you do not
need to fight with buildouts or cryptic tracebacks alone. We will do it for you.Community support: Affordable support contract for open source community members who wish to support
the projectEnterprise support: Serious support for serious businessOur top class Python developers are ready to help you with
any software development needs.Supported configurationsThis add-on is tested withPlone 4.0.1TODORemove inline styles. Add sample CSS.Rewrite relative image URLs correctly, so that relative images can be printedAdd Table of Contents to the first pageAuthormFabrik Research Oy- Python and Plone professionals for hire.mFabrik Web and Mobile - multichannel CMS made easymFabrik web siteBlogChangelog1.0.2Fixed missing description [miohtama]1.0.1reST fixes [miohtama]plone.org release [miohtama]1.0Initial release
Package: mfa-cli
# mfa-cli[![CI](https://github.com/thiagoalmeidasa/mfa-cli/actions/workflows/ci.yaml/badge.svg)](https://github.com/thiagoalmeidasa/mfa-cli/actions/workflows/ci.yaml)CLI tool for generating one-time passwords.## Instalation`bash pip installmfa-cli`## Usage`bash $mfa-clilist-keys--keyfilecodes.yml $mfa-clinew-totp--keyfilecodes.yml $mfa-clinew-totp--keyfilecodes.yml--keynamemyservice `
Package: mf-algorithms
MF AlgorithmsMF Algorithms contains various matrix factorization methods utilizing different iterative update rules.InstallationTo install MF Algorithms, run this command in your terminal:$pipinstall-Umf-algorithmsThis is the preferred method to install MF Algorithms, as it will always install the most recent stable release.If you don't havepipinstalled, theseinstallation instructionscan guide
you through the process.UsageFirst importfunctionsfrom the package.scipy.sparseis also useful for creating toy sparse matrices to test the algorithms, thought we will manually generate factor matrices and multiply them to guarantee its rank.>>>importnumpyasnp>>>frommf_algorithmsimportfunctionsMatrix Factorization>>>dim1=1000>>>dim2=1000>>>k=50>>>factors=np.random.choice(4,size=(dim1,k),p=np.array([0.97,0.01,0.01,0.01]))>>>weights=np.random.choice(2,size=(k,dim2),p=np.array([0.999,0.001]))>>>mat=factors@weights>>>A,S,error=functions.mf(data=mat,k=50,s1=1,s2=1,niter=100,siter=1,update='als',errseq=False)CitingIf you use our work in an academic setting, please cite our paper:DevelopmentSeeCONTRIBUTING.mdfor information related to developing the code.Suggested Git Branch Strategymasteris for the most up-to-date development, very rarely should you directly commit to this branch. Your day-to-day work should exist on branches separate frommaster. It is recommended to commit to development branches and make pull requests to master.4. It is recommended to use "Squash and Merge" commits when committing PR's. It makes each set of changes tomasteratomic and as a side effect naturally encourages small well defined PR's.Additional Optional Setup Steps:Create an initial release to test.PyPI and PyPI.FollowThis PyPA tutorial, starting from the "Generating distribution archives" section.Create a blank github repository (without a README or .gitignore) and push the code to it.Delete these setup instructions fromREADME.mdwhen you are finished with them.
Package: mfaliquot
This is a suite of various semi-related software concerning MersenneForum’s
Aliquot sequences forum. Of most note is the website that maintains the current
status of all sequences less than 10^6 – its primary script, as well as all
HTML templates, are included in this repository. The primary script relies on
the various other things located here as well.The website/ folder contains the relevant HTML/JS/CSS/etc.The scripts/ folder contains the main website script, as well as the
reservations tracking script, a small script to find sequences with drivers
susceptible to breaking, and the merge detecting script.The mfaliquot/ package contains the numtheory.py and aliquot.py modules
I wrote while I was talking a number theory course – the former module has a
lot of unrelated-to-aliquot material, but has a bunch of relevant stuff as well,
which aliquot.py and in turn the website and other scripts depend on.The fdb/ pseudo-package can be ignored for now. (I had the ambitious idea of
writing a Python package that extends some HTML parsing done in the scripts/
folder into a complete FDB “API” that interacts with the HTML. Work halted for
the forseeable future.)All code, markup, and text in this repository (save for the website/html/js/
folder, which contains external projects) is copyright by Dubslow (aka Bill
Winslow), and is licensed under the GPL. See LICENSE for details.Contributors: Christian Beer
Package: mfc
mfcPython driver and command-line tool forMKS mass flow controllers.Installationpip install mfcIf you want the older python2/tornado driver, usepip install mfc==0.2.11and reviewthis README.UsageThis driver uses the ethernet porton the side of the devicefor communication.
If you use this driver, you only need to provide power to the top ports.Command LineTo test your connection and stream real-time data, use the command-line
interface. You can read the flow rate with:$ mfc 192.168.1.200
{
  "actual": 4.99,
  "gas": "CO2",
  "max": 37,
  "setpoint": 5.00,
  "temperature": 27.34
}You can optionally specify a setpoint flow and/or gas with e.g.mfc 192.168.1.150 --set 7.5 --set-gas N2. Seemfc --helpfor more.PythonThis uses Python ≥3.5's async/await syntax to asynchronously communicate with
the mass flow controller. For example:importasynciofrommfcimportFlowControllerasyncdefget():asyncwithFlowController('the-mfc-ip-address')asfc:print(awaitfc.get())asyncio.run(get())The API that matters isget,set, andset_gas.>>>awaitfc.get(){"actual":4.99,"gas":"CO2","max":37,"setpoint":5.00,"temperature":27.34}>>>awaitfc.set(10)>>>awaitfc.open()# set to max flow>>>awaitfc.close()# set to zero flow>>>awaitfc.set_gas('N2')There is alsoset_display, which will only work on devices that support it.>>>awaitfc.set_display('flow')
Package: mfc-config-loader
MFC Configuration LoaderIntroductionMFC Configuration Loader streamlines YAML-based configuration management with features such as multi-file support, variables, strong typing, and more.FeaturesMultiple Configuration Files: Configurations can be separated into multiple files to better organize and segregate them based on environment, purpose, and any other criteria.Variables: Can define variables referencing other configurations or environment variables.Strong Typing: Configurations are loaded into the tuple hierarchy, enabling accessing node properties via dot notation.Installationpipinstallmfc-config-loaderUsageNoteAdditonal usage examples will be added soon.# .config.yamlgcp:project_id:my-project-idsa_key_filepath:/path/to/key.jsondefault_dataset:${project_id}.my_dataset# main.pyconfigs=ConfigLoader().load("gcp")project_id=configs.project_idsa_key_file=configs.sa_key_filepathdefault_dataset=configs.default_datasetContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: mfcloud
mfcloud======mfcloud is a tool that orchestrates Docker containers localy and onremote server.Features:- simple syntax mfcloud.yml, that describe containers you need for your application- easily create application on remote deployment server- easily push and pull volumes of Docker containers on remote server- tcp balancer that knows which container serves which URL- super-easy service discovery for applications.. image:: docs/source/_static/mfcloud.pngDocumentation-------------http://mfcloud.readthedocs.org/Changelog---------------------0.4.4stop, start, restart, rebuild, destroy commands now nderstand [service].[app] syntax,allowing to restat single container. (Alex R.)----------------------0.4.3Major improvments of container start order logic (Alex R.)---------------------