Saravanan666/pypi-org huggingface dataset:
Package: matrixprofile
MatrixProfileMatrixProfile is a Python 3 library, brought to you by theMatrix Profile Foundation, for mining time series data. The Matrix Profile is a novel data structure with corresponding algorithms (stomp, regimes, motifs, etc.) developed by theKeoghandMueenresearch groups at UC-Riverside and the University of New Mexico. The goal of this library is to make these algorithms accessible to both the novice and expert through standardization of core concepts, a simplistic API, and sensible default parameter values.In addition to this Python library, the Matrix Profile Foundation, provides implementations in other languages. These languages have a pretty consistent API allowing you to easily switch between them without a huge learning curve.tsmp- an R implementationgo-matrixprofile- a Golang implementationPython SupportCurrently, we support the following versions of Python:3.53.63.73.83.9Python 2 is no longer supported. There are earlier versions of this library that support Python 2.InstallationThe easiest way to install this library is using pip. If you would like to install it from source, please review theinstallation documentationfor your platform.pipinstallmatrixprofileGetting StartedThis article provides introductory material on the Matrix Profile:Introduction to Matrix ProfilesThis article provides details about core concepts introduced in this library:How To Painlessly Analyze Your Time SeriesOur documentation provides aquick start guide,examplesandapidocumentation. It is the source of truth for getting up and running.AlgorithmsFor details about the algorithms implemented, including performance characteristics, please refer to thedocumentation.Getting HelpWe provide a dedicatedDiscord channelwhere practitioners can discuss applications and ask questions about the Matrix Profile Foundation libraries. If you rather not join Discord, then please open aGithub issue.ContributingPlease review thecontributing guidelineslocated in our documentation.Code of ConductPlease review ourCode of Conduct documentation.CitationsAll proper acknowledgements for works of others may be found in ourcitation documentation.CitingPlease cite this work using theJournal of Open Source Software article.Van Benschoten et al., (2020). MPA: a novel cross-language API for time series analysis. Journal of Open Source Software, 5(49), 2179,https://doi.org/10.21105/joss.02179@article{VanBenschoten2020,doi={10.21105/joss.02179},url = {https://doi.org/10.21105/joss.02179},year = {2020},publisher = {The Open Journal},volume = {5},number = {49},pages = {2179},author = {Andrew Van Benschoten and Austin Ouyang and Francisco Bischoff and Tyler Marrs},title = {MPA: a novel cross-language API for time series analysis},journal = {Journal of Open Source Software}}
Package: matrix-py3
Matrix-py3Python3 implementation ofcmatrixto generate "character falls".Matrix-py3 is adapted frompmatrixthat is well recommended if you prefer Python2.It is noteworthy that a timer is added to matrix-py3 for a scheduled stop. What's more, matrix-py3 can be regarded as a screensaver that runs parallel to other time-consuming programs.Installationwith pippipinstallmatrix-py3with condacondainstallmatrix-py3-cconda-forgeUsageRun independentlyin command line:matrix# run until `Ctrl + C`matrix3# run for 3 secondsin python:frommatrix3importmatrixmatrix()# run until `Ctrl + C`matrix(3)# run for 3 secondsParallel to other programsAddcoolmatrixto the head of your commands. For example,pingis a command for testing a network connection. Assuming you want to runping 8.8.8.8 -c 10, then run:coolmatrixping8.8.8.8-c10All the outputs can be recorded automatically in the filecool.out.PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=110 time=75.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=110 time=81.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=110 time=82.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=110 time=75.0 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 75.055/78.655/82.345/3.449 ms
Package: matrix-pypitmp
Matrix  PyPI Package TemplateThe Matrix  PyPI Package Template is a basic template project creator uploading your project to PyPi packages index and make it globally available to the whole python communityInstallationYou can install the Matrix  PyPI Package Template fromPyPI:pip install matrix-pypitmpThe package is supported on Python 2.7, as well as Python 3 and above.How to useThe Matrix  PyPI Package Template is a command line application, namedmtrxtmp. To create a template for your package to upload in pypi index simply call the program by specifying your project name and path to create it :$ mtrxtmp [options] args ...Specify the project name and  path  you want to create itoptional arguments:
    -h, --help            show this help message and exit
    --name PROJECT_NAME, 
	-n PROJECT_NAME  	  Name of the Project 
    --path PATH, -p PATH  Path to project template to be createdExample :$mtrxtmp --name PROJECT_NAME --path "/PATH/TO/CREATE/PROJECT"Running the program without an argument creates a project template with default name('matrix-pypi-template')  in current working directoryThe use of this package ends here.Now if your want to publish your package to pypi, follow the below steps:
Requirements :Python Packages:setuptools wheel twineExternal Requirements :Accounts inPyPiandTest PyPIOnce the Project Template is adjusted to suit your project what needs to be done next is building your python package, It can be done by entering the following command in your project root directory :$python setup.py sdist bdist_wheelThat should generate a build , dist and an egg for your project. To verify all the formats are correct we use a package calledtwineas below from your root directory:$twine check dist/*Now we have everything ready for our package upload :) .But.. we never tested how our newly created package works, so we upload to pypi test server to test and then upload to the actual one.
To do that :$twine upload --repository testpypi dist/*This will ask for your test pypi username and password to upload
Once this is done you have your package ready to test from test pypi server and can be installed with$pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERENow you can test your package and make any adjustments if needed and upload to pypi by making a new dist if required.
To uplaod into actual pypi repository all you need to do is enter the following command in your adjusted projects root folder$twine  upload  dist/*It will ask for your pypi username and password to upload and you are done
you can check your package inhttps://pypi.org/project/YOUR_PACKAGE-NAME-HERE/for more detailed  guide on packaging your project and uploading checkPython's Official Guide on Packaging
Package: matrixraja
matrix operationsThis is a matrix operations package.
This matrix package has   modules
1.mat_input(rows,columns)-enter rows and columns
2.unit_mat(dimension)-unit matrix is presents of 1 in diagonals.enter the no.of.rows or columns
3.constant_mat(constant,dimension)-constant matrix contains same numbers.enter the constant and no.of.rows
4.mat_multiple(matrix1,matrix2):
normal matrix multiplication
5.mat_add(matrix1,matrix2): matrix addition
6.mat_sub(matrix1,matrix2): matrix subtraction
7.mat_div(matrix1,matrix2): matrix division
8.mat_trace(matrix1): trace of matrix
9.mat_transpose(matrix1): transpose of the matrix
10.det(matrix1): determinant of 2x2 , 3x3 matrix
11.adjoint(matrix1): adjoint of matrix 2x2 and 3x3 matrix
12.area(point1,point2,point3): area of triangle
13.cramer(equation matrix,equal to matrix): value of x,y or x,y,z for three equations
14.mat_inverse(matrix1): inverse of matrix
15.mat_mul(matrix1,matrix2): normal multiplication of matrix
16.mul_commutative(matrix1,matrix2): commutative property on multiplication
17.mul_assosiative(matrix1,matrix2,matrix3): assosiative property on multiplication
18.mul_distributive(matrix1,matrix2,matrix3): distributive property of matrix
19.add_commutative(matrix1,matrix2): commutative property on addition of matrix
20.add_assosiative(matrix1,matrix2,matrix3): associative property oon addition
21.additive_identity(matrix1,matrix2): additive identity of matrix
22.additive inverse(matrix1,matrix2): additive inverse of matrix
23.unitnum_mat(constant,dimension): diagonals have give number
24.mat_ortho(matrix1): orthogonal property of matrix
25.double transpose(matirx1): tranpose of a tranpose matrix:((a)T)T=a
26.sum_transpose(matrix1): transpose of sum of two matrix=sum of two transpose matrix   (a+b)T=(a)T+(b)T
27.mul_transpose(matrix1):multiplication transpose is (ab)T=(b)T * (a)T
28.scalar_mul_transpose(matrix1):multiplication of constant with a matrix whole transpose = multiplication of a constant with the transpose of matrix  (consta)T=const * (a)TYou can useGithub-flavored Markdownto write your content.
Package: matrixreg
Matrix RegressionTable of contents:DescriptionInstallationUsageDescriptionImplementation of the MatrixRegression (MR) algorithm for multi-label text classification that can be used in an online learning context. It is presented in the following paper:Popa, I. & Zeitouni, Karine & Gardarin, Georges & Nakache, Didier & Métais, Elisabeth. (2007). Text Categorization for Multi-label Documents and Many Categories. 421 - 426. 10.1109/CBMS.2007.108.Abstract:In this paper, we propose a new classification method that addresses classification in multiple categories of textual documents. We call it Matrix Regression (MR) due to its resemblance to regression in a high dimensional space. Experiences on a medical corpus of hospital records to be classified by ICD (International Classification of Diseases) code demonstrate the validity of the MR approach. We compared MR with three frequently used algorithms in text categorization that are k-Nearest Neighbors, Centroide and Support Vector Machine. The experimental results show that our method outperforms them in both precision and time of classification.InstallationVia PyPi using pip, as easy as:pipinstallmatrixregUsagefrommatrixregr.matrixregressionimportMatrixRegressionmr=MatrixRegression()# Fitmr.fit(X_train,y_train)# Predictmr.predict(X_test)# Partial fitmr.partial_fit(new_X,new_y)Parameters optimizationThis implementation is scikit-friendly; thus, it supports GridSearchCV# Parameter to optimizeparam_grid=[{"threshold":[0.3,0.6,0.9]}]# Initializationmr=MatrixRegression()clf=GridSearchCV(mr,param_grid,cv=5,verbose=10,n_jobs=-1,scoring='f1_micro')# Fitclf.fit(X_train,y_train)# Resultsclf.best_params_,clf.best_score_
Package: matrix-rotation
Rotate any square matrix clockwise and anticlockwise in any degree of angle.matrix-rotationis a simple package for rotating elements of any square matrix in clockwise and anticlockwise direction. This rotation can be performed with any degree of angle or step size. This version is most suitable for small size matrix.Use in python codeFollowing are some of the sample examples to show the use ofmatrix_rotationpackage. This package has a function namedrotate_matrixwhich essentially takes input 2 dimensional squarematrixas a first argument,degreeas a second argument to determine the step size and defaultclockwiserotation as the final argument.print_rotate_matrixfunction is just the extension ofrotate_matrixfunction which print the original matrix and rotated matrix on the console. Let's take a look.>> from matrix_rotation import rotate_matrix, print_rotate_matrix

>>> matrix = [['a', 'b', 'c'],\
              ['h', 'i', 'd'],\
              ['g', 'f', 'e']]

>>> rotated_matrix = rotate_matrix(matrix, degree=2, clockwise=True)

>>> rotated_matrix 
[['g', 'h', 'a'], ['f', 'i', 'b'], ['e', 'd', 'c']]

>>> rotated_matrix = print_rotate_matrix(matrix, degree=2, clockwise=True)

Original Matrix:
[['a', 'b', 'c'],
['h', 'i', 'd'],
['g', 'f', 'e']]

Clockwise Rotated Matrix with Degree = 2:
[['g', 'h', 'a'],
['f', 'i', 'b'],
['e', 'd', 'c']]
---------------------------------------------

>>> rotated_matrix
[['g', 'h', 'a'], ['f', 'i', 'b'], ['e', 'd', 'c']]Use in command line interface (CLI)matrix_rotation --helpUsage: matrix_rotation [OPTIONS]

Options:
  -M, --matrix TEXT           Use to show default examples of matrix rotation.
                              Otherwise use the input matrix from command
                              line. Input example : [["a", "b"],["d", "c"]]

  -D, --degree INTEGER        Degree of rotation. Can rotate matrix in between
                              0 degree to 360 degree.  [default: (1)]

  -C, --clockwise BOOLEAN     Use True to rotate matrix in a clockwise
                              direction. False for rotation in anticlockwise
                              direction.  [default: (True)]

  -S, --print_matrix BOOLEAN  Use True to show the result of Original and
                              Rotated Matrix.  [default: (False)]

  --help                      Show this message and exit.For more information please visitGitHubLicenseMIT License
Package: matrix-saml-strip-hostname
This mapping provider strips the@domain.compart from UIDs coming from a SAML2
identity provider (IDP). This is useful for example whenusing Google Apps as
an IDP, to avoid getting
Matrix IDs likejane.doe=40domain.com@domain.com(instead you’ll getjane.doe@domain.com).Note:At the time of this writing, thesupport for user-configurable
mapping providershasn’t
been released yet. You will probably have to wait for Synapse 1.7 or 1.8, or
install an unreleased version of Synapse.InstallationRun the following command in the same virtual environment of your Synapse install:pip installmatrix-saml-strip-hostnameThen edit thehomeserver.yamlfile on your Synapse install to use the new
mapping provider:saml2_config:
  user_mapping_provider:
    module: matrix_saml_strip_hostname.mapping_providers.StripHostnameSamlMappingProviderConfigurationThis mapper inherits fromthe default mapping provider.
It will first strip the hostname, and then pass the result to thesynapse.handlers.saml_handler.DefaultSamlMappingProvidermapping provider.
There is no support for disabling this post-processing.Refer tothe default configuration filefor configuration options for the default provider.
Package: matrix_stickers_manager
matrix_stickers_manager"Its solution for massive upload your stickers into Matrix."This code usingMSC2545aka native stickers. Cinny and FluffyChat support this specs already.ConfigJust copyexample.config.yamltoconfig.yamland write your values.Required room admin token. For protection images also user must be server admin.Example usagefrommatrix_stickers_managerimportMatrixStickersManagermanager=MatrixStickersManager()# Upload multiple images to sticker packmanager.load_pack_from_folder(pack_name='My Funny Sticker Pack',folder_path='stickers/',room_id='!ahkeeyahPhexohtooh:matrix.your.server',protect_media=True,number_as_shortcode=False)# Download images from packmanager.export_pack(pack_name='My Funny Sticker Pack',export_folder='stickers/',room_id='!ahkeeyahPhexohtooh:matrix.your.server',original_name=True)# Delete packmanager.delete_pack(pack_name='My Funny Sticker Pack',room_id='!ahkeeyahPhexohtooh:matrix.your.server',)stickers
├── 1.png
├── 2.png
├── 3.png
├── 4.pngProtection media"Protection works only in Synapse Server API."
Package: matrix-synapse-admin
Synapse-admin-api-pythonA Python wrapper forMatrix Synapse admin API.VersioningThis library now supports up to Synapse 1.60.0, any Admin API introduced after 1.60.0 may not be included in this version. However, newer changes to Admin API are planned to be included in this library. For planned update, seeTODO.md. In the future, the version numbering convention will follow the version this library up to, for example, if this library supports up to 1.60.0, then the version number of this library will be 1.60.0. And the minor number will be reserved for bug fixes in this repo.Releases older than 0.1.5 only work with HTTP/2Get StartedInstall from PyPipipinstallmatrix-synapse-adminProvide the connection information and access token in the first time of execution. You can either enter the information interactively or as arguments:Interactively>>>fromsynapse_adminimportUser>>>user=User()# The config creator is smart enough to determine the protocol and port by providing either one.EnterthehomeserverURLwithport(e.g.https://example.com:443):https://example.com# Only need to be entered in the first timeEntertheaccesstoken(leaveblanktogettheaccesstokenbyloggingin):<accesstokenorleaveblank># Only need to be entered in the first time# If access token is left blankEnterausername:adminEnterapassword:TokenretrievedsuccessfullySavetoaconfigfile?(Y/n)>>>details_of_users=user.lists()>>>print(details_of_users)[{'name':'@admin:example.com','user_type':None,'is_guest':0,'admin':1,'deactivated':0,'shadow_banned':False,'displayname':'Admin','avatar_url':'mxc://example.com/ABCDEFG'}]>>>print(details_of_users.total)1As arguments>>>fromsynapse_adminimportUser>>>user=User("example.com",443,"<access token>","https://")>>>details_of_users=user.lists()>>>print(details_of_users)[{'name':'@admin:example.com','user_type':None,'is_guest':0,'admin':1,'deactivated':0,'shadow_banned':False,'displayname':'Admin','avatar_url':'mxc://example.com/ABCDEFG'}]>>>print(details_of_users.total)1Unit TestingSimply run the testing scriptchmod+xtesting_env.sh
./testing_env.shDocumentationDocstrings are present now in most methods and classes. If you see /equivalent to ".*"/, it's mean that you may want to refer back to the Synapse Admin API documentation.More documentation are coming...Additional featuresIn addition to the wrapper that wraps the official admin APIs, this wrapper also provides serval unofficial helper methods or admin APIs, they include:Reactivate an deactivated account (User.reactivate)Create a room (Room.create)Send an announcement to everyone (Management.announce_all)Delete media by id or by condition (Media.delete_media)ContributionIf you want to help me to improve the quality of this project, you can submit an issue.If you want to collaborate with us, feel free to Fork this project and open a pull request.What can you do?For IssueReport any Error.Request new features based on the Synapse Admin APIAsk questions if you do not understand something.More.For Pull requestAdd comments to source code.Add new features based on the Synapse Admin APICorrect any Error.More.
Package: matrix-synapse-imap
Allows Synapse to use IMAP to login users.Installationpip3 install matrix-synapse-imapUsageExample Synapse config:password_providers:-module:"imap_auth_provider.IMAPAuthProvider"config:enabled:truecreate_users:trueserver:"mail.example.com"plain_userid:trueappend_domain:"some.domain.com"Thecreate_users-key specifies whether to create Matrix accounts
for valid system accounts.Theserver-key specifies the name of the imap server, it must support SSL connections.Theplain_userid-key forces the unaltered userid to be send to the imap serverTheappend_domain-key overrides or appends email domain
Package: matrix-synapse-saml-mozilla
Synapse Mozilla SAML MXID MapperA Synapse plugin module which allows users to choose their username when they
first log in.InstallationThis plugin can be installed viaPyPi:pip install matrix-synapse-saml-mozillaConfigAdd the following in your Synapse config:saml2_config:user_mapping_provider:module:"matrix_synapse_saml_mozilla.SamlMappingProvider"Also, under the HTTP clientlistener, configure anadditional_resourceas per
the below:listeners:-port:<port>type:httpresources:-names:[client]additional_resources:"/_matrix/saml2/pick_username":module:"matrix_synapse_saml_mozilla.pick_username_resource"Configuration OptionsSynapse allows SAML mapping providers to specify custom configuration through thesaml2_config.user_mapping_provider.configoption.Currently the following options are supported:use_name_id_for_remote_uid: if set toFalse, we will use the SAML
attribute mapped touidto identify the remote user instead of theNameIDfrom the assertion.Trueby default.bad_domain_file: should point a file containing a list of domains (one
per line); users who have an email address on any of these domains will be
blocked from registration.bad_domain_list: an alternative tobad_domain_fileallowing the list of
bad domains to be specified inline in the config.If bothbad_domain_fileandbad_domain_listare specified, the two lists
are merged.Implementation notesThe login flow looks something like this:Development and TestingThis repository usestoxto run linting and tests.LintingCode is linted with theflake8tool. Runtox -e lintto check for linting
errors in the codebase.TestsThis repository usesunittestto run the tests located in thetestsdirectory. They can be ran withtox -e tests.Making a releasegit tag vX.Y
python3 setup.py sdist
twine upload dist/matrix-synapse-saml-mozilla-X.Y.tar.gz
git push origin vX.Y
Package: matrix-synapse-testutils
matrix-synapse-testutilsBase testutils of matrix synapseThis project includes the test utils frommatrix-synapseto make them reusable in other projects.There are some very good basic unittest classes to test
routes and plugins, but one is unable to import them, becausethe files are in a module called 'test'the imports are absolutethe test module is included in the sdist but not after installationSample usagefrommatrix_synapse_testutils.unittestimportHomeserverTestCaseVersioningThe version of this module always fits the version of its
respective synapse version.Synapse version1.70.0leads to a version of matrix_synapse_testutils of1.70.0.N.
N is a numeric revision number for matrix_synapse_testutils
starting at 1 for every release of synapse, just like you would expect.Examples1.70.0.0
This means it is the first release ofmatrix_synapse_testutilsfor synapse 1.70.01.70.0.1
This means it is the second release ofmatrix_synapse_testutilsfor synapse 1.70.01.71.1.0
This means it is the first release ofmatrix_synapse_testutilsfor synapse 1.71.1ScriptsUnderbin/is a shell script which does most of the work of updating the
utilities from synapse.
It downloads, unpacks, syncs and tries to patch the files from synapse.
This is far from perfect and might needs manual adaption.
Package: matrixutils
Whymatrixutilsis a python package that includes utilities for
working with matrices as linear operators in python. It includes utilities
for wrapping and unwrapping matrices and vectors, tools for creating matrices,
and operatorsZeroandIdentitywhich improve code efficiency without
sacrificing readability.It is used bydiscretizeandSimPEG.InstallationpipinstallmatrixutilsTo install as a developergitclonehttps://github.com/OpenGeophysics/matrixutils.gitcdmatrixutilspythonsetup.pyinstallor to build the installation in-place:gitclonehttps://github.com/OpenGeophysics/matrixutils.gitcdmatrixutilspythonsetup.pyinstallbuild_ext--inplaceLinksWebsite:http://simpeg.xyzDocumentation:http://matrixutils.readthedocs.ioCode:https://github.com/OpenGeophysics/matrixutilsTests:
Coming soon…Bugs & Issues:https://github.com/OpenGeophysics/matrixutils/issuesQuestions:https://groups.google.com/forum/#!forum/simpegChat:http://slack.simpeg.xyz/
Package: matrix-viewer
Matrix ViewerA tabular viewer for numpy arrays, python structs and more similar to the MATLAB data viewerFree software: MIT licenseDocumentation:https://matrix-viewer.readthedocs.io.FeaturesDisplay numpy 2D-arraysInteractively traverse through python containers like list, dict and classes to view their attributes or dataInteroperability with matplotlib.pyplotThis project is tested under windows and linux. I don’t have a Mac, so there might be Mac issues. But
don’t hesitate to file issues, or even better create pull requests targetting Mac support.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-10-25)First release on PyPI.0.2.0 (2021-12-19)view pytorch Tensorskeyboard navigationfix bug regarding empty arrayssmarter formatting