Saravanan666/pypi-org huggingface dataset:
Package: min2net
End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG ClassificationPython API and the novel algorithm for motor imagery EEG recognition named MIN2Net. The API benefits BCI researchers ranging from beginners to experts. We demonstrate the examples in using the API for loading benchmark datasets, preprocessing, training, and validation of SOTA models, including MIN2Net. In summary, the API allows the researchers to construct the pipeline for benchmarking the newly proposed models and very recently developed SOTA models.Website:https://min2net.github.ioDocumentation:https://min2net.github.ioSource code:https://github.com/IoBT-VISTEC/MIN2NetBug reports:https://github.com/IoBT-VISTEC/MIN2Net/issuesGetting startedDependenciesPython==3.6.9tensorflow-gpu==2.2.0tensorflow-addons==0.9.1scikit-learn>=0.24.1wget>=3.2Createcondaenvironment with dependencieswgethttps://raw.githubusercontent.com/IoBT-VISTEC/MIN2Net/main/environment.yml
condaenvcreate-fenvironment.yml
condaactivatemin2netInstallation:Using pippipinstallmin2netUsing the released python wheelwgethttps://github.com/IoBT-VISTEC/MIN2Net/releases/download/v1.0.0/min2net-1.0.0-py3-none-any.whl
pipinstallmin2net-1.0.0-py3-none-any.whlTutorialOpen in ColabCitationTo citedour paperP. Autthasan et al., "MIN2Net: End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG Classification," in IEEE Transactions on Biomedical Engineering, doi: 10.1109/TBME.2021.3137184.@ARTICLE{9658165,
  author={Autthasan, Phairot and Chaisaen, Rattanaphon and Sudhawiyangkul, Thapanun and 
  Kiatthaveephong, Suktipol and Rangpong, Phurin and Dilokthanakul, Nat 
  and Bhakdisongkhram, Gun and Phan, Huy and Guan, Cuntai and 
  Wilaiprasitporn, Theerawit},
  journal={IEEE Transactions on Biomedical Engineering}, 
  title={MIN2Net: End-to-End Multi-Task Learning for Subject-Independent Motor Imagery 
  EEG Classification}, 
  year={2021},
  volume={},
  number={},
  pages={1-1},
  doi={10.1109/TBME.2021.3137184}}LicenseCopyright © 2021-All rights reserved byINTERFACES (BRAIN lab @ IST, VISTEC, Thailand).
Distributed by anApache License 2.0.
Package: mina-build
PEP-517 implementation for Mina Package Structuremina-build是Mina Package Structure的具体实现, 基于pdm-backend的现有建构.你需要在pyproject.toml内将tool.mina.enabled设为true才能使用 Mina 的相关功能,
否则mina-build的行为与pdm-backend一致.若是需要关于Mina的更多信息, 请参阅其他的文稿.
Package: minari
Minari is a Python library for conducting research in offline reinforcement learning, akin to an offline version of Gymnasium or an offline RL version of HuggingFace's datasets library. This library is currently in beta.The documentation website is atminari.farama.org. We also have a public discord server (which we use for Q&A and to coordinate development work) that you can join here:https://discord.gg/bnJ6kubTg6.Note: Minari was previously developed under the name Kabuki.InstallationTo install Minari fromPyPI:pipinstallminariNote that currently Minari is under a beta release. If you'd like to start testing or contribute to Minari please install this project from source with:git clone https://github.com/Farama-Foundation/Minari.git
cd Minari
pip install -e .Command Line APITo check available remote datasets:minarilistremoteTo download a dataset:minaridownloaddoor-human-v1To check available local datasets:minarilistlocalTo show the details of a dataset:minarishowdoor-human-v1For the list of commands:minari--helpBasic UsageReading a datasetimportminaridataset=minari.load_dataset("door-human-v1")forepisode_dataindataset.iterate_episodes():...Writing a datasetimportminariimportgymnasiumasgymfromminariimportDataCollectorenv=gym.make('LunarLander-v2')env=DataCollector(env)for_inrange(100):env.reset()done=Falsewhilenotdone:action=...obs,rew,terminated,truncated,info=env.step(action)done=terminatedortruncateddataset=env.create_dataset("LunarLander-v2-test-v0")For other examples, seeBasic Usage. For a complete tutorial on how to create new datasets using Minari, see ourPointmaze D4RL Datasettutorial, which re-creates the Maze2D datasets fromD4RL.Project MaintainersMain Contributors:Rodrigo Perez-Vicente,Omar Younis,John BalisMaintenance for this project is also contributed by the broader Farama team:farama.org/team.Minari is a shortening of Minarai, the Japanese word for "learning by observation".
Package: minato
⚓ MinatoA Unified File I/O Library for PythonMinato is a Python library that provides a unified and simple interface to work with local and remote files, as well as compressed and archived files.
With Minato, you can seamlessly read and write files from various sources like local filesystem, HTTP(S), Amazon S3, Google Cloud Storage, and Hugging Fase Hub.
It also supports reading and writing compressed files such as gzip, bz2, and lzma, as well as directly accessing files inside archives like zip and tar.One of Minato's key features is its built-in caching mechanism, which allows you to cache remote files locally, and manage the cache with a provided CLI.
The cache is automatically updated based on ETag headers, ensuring that you always work with the latest version of the files.FeaturesUnified file I/O for local and remote files (HTTP(S), S3, GCP, Hugging Face Hub)Support for reading and writing compressed files (gzip, bz2, lzma)Direct access to files inside archives (zip, tar)Local caching of remote files with cache management CLIAutomatic cache updates based on ETag headersInstallationInstall Minato using pip:pipinstallminato# minimal installation for only local/http(s) file I/Opipinstallminato[s3]# for Amazon S3pipinstallminato[gcs]# for Google Cloud Storagepipinstallminato[huggingface-hub]# for Hugging Face Hubpipinstallminato[all]# for all supported file I/OUsageQuick StartHere's a simple example demonstrating how to read and write files on online storage:importminato# Write a file to an S3 buckets3_path="s3://your_bucket/path/to/file"withminato.open(s3_path,"w")asf:f.write("Create a new file on AWS S3!")Access cached online resources in local storage:# Cache a remote file and get its local pathremote_path="http://example.com/path/to/archive.zip!inner/path/to/file"local_filename=minato.cached_path(remote_path)Access files inside archives like zip by connecting the archive path and inner file path with an exclamation mark (!) like above.Automatically decompress files with gzip / lzma / bz2 compression:withminato.open("data.txt.gz","rt",decompress=True)asf:content=f.read()In the example above, Minato will automatically detect the file format based on the file's content or filename and decompress the file accordingly.Cache Management❯poetryrunminato--help
usage:minato

positionalarguments:{cache,list,remove,update}cachecacheremotefileandreturncachedlocalfilepathlistshowlistofcachedfilesremoveremovecachedfilesupdateupdatecachedfiles

optionalarguments:-h,--helpshowthishelpmessageandexit--versionshowprogram'sversionnumberandexit
Package: minBlepy
minBlepyMinBLEPs library including fast naive waveform conversionInstallThese are generic installation instructions.To use, permanentlyThe quickest way to get started is to install the current release from PyPI:pip3 install --user minBlepyTo use, temporarilyIf you prefer to keep .local clean, install to a virtualenv:python3 -m venv venvname
venvname/bin/pip install minBlepy
. venvname/bin/activateTo developFirst clone the repo using HTTP or SSH:git clone https://github.com/combatopera/minBlepy.git
git clone git@github.com:combatopera/minBlepy.gitNow use pyven's pipify to create a setup.py, which pip can then use to install the project editably:python3 -m venv pyvenvenv
pyvenvenv/bin/pip install pyven
pyvenvenv/bin/pipify minBlepy

python3 -m venv venvname
venvname/bin/pip install -e minBlepy
. venvname/bin/activate
Package: minbool
minboolis a small library for minimizing boolean expressions. It does this
using the the Quine-McCluskey algorithm.Simplify an Expression>>> import minbool
>>> result = minbool.simplify("A and not C or A and C")
>>> result
<minbool.ASTBooleanExpression object at 0xb723606c>
>>> result.ast()
<_ast.Name object at 0xb722ef2c>
>>> str(result)
'A'Synthesize an ExpressionIt is sometimes useful to synthesize a boolean expression from an existing
function:>>> def f(A, B, C, D):
...     return A if B else C or D
...
>>> result = minbool.synthesize(f, 'A', 'B', 'C', 'D')
>>> result
<minbool.BooleanExpression object at 0xb72361cc>
>>> str(result)
'(not(B) and D) or (not(B) and C) or (A and B)'Command Line UseThe minbool egg installs a console script: ‘simplify’:$ simplify A and B or A and C and not C
(A and B)PerformancePerformance is big O exponential.  In each case a truthtable is constructed,
where the number of rows is 2**N, where N is the number of variables in the
expression.
Package: mincepy
mincePy: move the database to one side and let your objects take centre stage.MincePy is anobject-document mapper(ORM) using thedata mapper patterndesigned specifically for computational
and data science.  What does this all mean??  It’s simple really, it means you can store, find, get the history of and
annotate any of your python objects either in your local database or one shared with your collaborators.Seedocumentationfor more information.
Package: mincepy-sci
mincePy: move the database to one side and let your objects take centre stage.MincePy Sci is a set of plugins formincePythat enable common scientific data formats to be saved.Seemincepy documentationfor more information.This plugin provide support for:e3nn:o3:IrrepandIrrepsReducedTensorProductTensorProductTensorSquarenn:GateShortcutExtractActivationmath:normalize2momase:AtomsCellnumpy:ndarraypandas:DataFrameplams:SettingsMoleculeResultspyilt2:dataset(unfortunately the pypi version is out of date and so you should use an updated version fromhere).pymatgen:StructureMoleculeBandStructureCompleteDosPeriodicSitepytorch:TensorConv2dMaxPool2dLinearModuleListModuleDictrdkit:MolContributingWe’d love to get more data types supported bymincePy!
For now, the easiest way is to follow the examples set by the existing types and contribute a PR.
If you’d like more (i.e. any) documentation on how to do this or would like to request that someone with more expertise makes a plugin just create anissueand we’ll see what we can do.
Package: mincfg
MinCfgthe Minimum Configuration Handling SystemThere are many configuration management/definition systems.  This one is mine.
This is an overview.  There are also more formaldocs.A set of simple tools to build a configuration system withThe first set are 'sources':DictSource, which takes values from a python dict and is useful for defaultsSubsetSource, which returns a subset of another source, to help with merge precedenceOSEnvironSource, which parses config values from os.environ into hierarchical dictionariesYamlFileSource, which parses a yaml file into hierarchical dictionaires (pip install mincfg[yaml]for support)INIFileSource, which understands INI files (based on configobj) (pip install mincfg[ini]for support)DotEnvSouce, which understands .env files (based on python-dotenv) (pip install mincfg[env]for support)The second tool is:MergedConfiguration: which merges multiple configuration sources into a coherent wholeYes, much more could be done:required keysvalue validationdefault parsersdefault default values (that .get() without a default would default to)more file types (json, ... xml?)sphinx/rtd docs... PRs accepted!Much inspiration - and the .get() signature - is taken from everett, but the
implementation is all mine.To installpip install mincfg
Package: minchin.jrnl
minchin.jrnlis a simple journal application for the command line.You can use it to easily create, search, and view journal entries. Journals are
stored as human-readable plain text, and can also be encrypted usingAES
encryption.To get help,submit an
issueon
Github.In a NutshellTo make a new entry, just enterjrnlyesterday:Calledinsick.Usedthetimetocleanthehouseandwritemybook.yesterday:is interpreted byminchin.jrnlas a timestamp. Everything
until the first sentence ending (either.,?, or!) is interpreted
as the title, and the rest as the body. In your journal file, the result will
look like this:[2012-03-29 09:00] Called in sick.
Used the time to clean the house and write my book.If you just calljrnl, you will be prompted to compose your entry - but you
can also configureminchin.jrnlto use your external editor.Installationpip install minchin.jrnl(The above assumes you already have Python installed.)DocumentationFull documentation is available athttp://minchin.ca/minchin.jrnl/ChangelogRelease notes are on my blog athttps://blog.minchin.ca/label/minchinjrnl/Full changelog is available athttp://minchin.ca/minchin.jrnl/changelog/LinksCode, on GitHub:https://github.com/MinchinWeb/minchin.jrnlReport a Bug!https://github.com/MinchinWeb/minchin.jrnl/issuesDocumentation:http://minchin.ca/minchin.jrnl/Listing on PyPI:https://pypi.python.org/pypi/minchin.jrnlRelease Notes:https://blog.minchin.ca/label/minchinjrnl/LicenseThe project is licensed under GPLv3.Code contributed on or before April 18, 2020 and by William Minchin (any date)
is duel licensed under the MIT license as well. One of the long term projects
of the goal is to remove or replace any GPLv3 code, and move the entire project
to the MIT license.ContributorsMaintainersOur maintainers help keep the lights on for the project:William Minchin (minchinweb)Please thank them if you likeminchin.jrnl!Code ContributorsThis project is made with love by the manyfabulous peoplewho have
contributed.minchin.jrnlcouldn’t exist without each and every one of you!If you’d also like to help makeminchin.jrnlbetter, please see ourcontributing documentation.
Package: minchin.jrnl.contrib.exporter.obsidian
This is an custom exporter forminchin.jrnl. The exported files are intended to be
loaded intoObsidian. In particular, metadata is
exported to the front matter format Obsidian understands and the body of the
entry is exported as is (but is generally assumed to be Markdown).The exporter is installable from PyPI:pip install minchin.jrnl.contrib.exporter.obsidianPlease note that there are no safeties to ensure that exported files do not
overwrite existing files, or that two entries don’t overwrite each other
during the export process.Pull Requests to improve the functionality of this plugin are always
appreciated. As well, it may provide a helpful template if you want to write
your own custom exporter.
Package: minchin.pelican.jinja-filters
Deprecation Notice: This plugins is now being maintained as part of thePelican-Pluginsorganization on GitHub.
The new code repo is atGitHub.com/pelican-plugins/jinja-filters. The new PyPI package is
atpelican-jinja-filters(for yourrequirements.txt) and the new plugin
name ispelican.plugins.jinja_filters(to updatePLUGINSin yourpelicanconf.py).Old ReadmeJinja Filtersis a plugin forPelican,
a static site generator written in Python.Jinja Filtersprovides a selection of functions (calledfilters) for
templates to use when building your website. They are packaged for Pelican, but
may prove useful for other projects that make use ofJinja2.InstallationThe easiest way to installJinja Filtersis through the use of pip. This
will also install the required dependencies (currentlypelicanandtitlecase) automatically.pipinstallminchin.pelican.jinja_filtersThen, in yourpelicanconf.pyfile, addJinja Filtersto your list of
plugins:PLUGINS=[# ...'minchin.pelican.jinja_filters',# ...]And that’s it! The filters are now available for use in your templates.UsageAt present, the plugin includes the following filters:datetime– allows you to change to format displayed for a datetime
object. Optionally supply adatetime format stringto get a custom format.article_date– a specialized version ofdatetimethat returns
datetimes as wanted for article dates; specieficallyFriday, November 4, 2016.breaking_spaces– replaceds non-breaking spaces (HTML code&nbsp)
with normal spaces.titlecase– Titlecases the supplied stringFor example, within your theme templates, you might have code like:<spanclass="published">Article Published{{article.date|article_date}}</span>gives:Article Published Friday, November 4, 2016Or with your own dateformat:<spanclass="published">Article Published{{article.date|datetime('%b %d, %Y')}}</span>gives:Article Published Nov 04, 2016Fitlers can also be chained, or applied in sequence. For example to remove
breaking spaces and then titlecase a catgory name, you might have code like:<ahref="{{SITEURL}}/{{article.category.url}}">{{article.category|breaking_spaces|titlecase}}</a>Known Issuesthesetup.pyfile for this project does not run on Python 2.7. However,
wheels of this project are “universal” and so can be generated by Python 3
and subsequently installed by Python 2.7.LicenseJinja Filtersis under the MIT License. See attachedLicense.txtfor
full license text.
Package: minchin.pelican.plugins.autoloader
AutoLoaderis a plugin forPelican,
a static site generator written in Python.AutoLoaderis designed to autoload the other Pelican plugins in my
namespaces (minchin.pelican.pluginsandminchin.pelican.readers).
It can also be extended to autoload
plugins in other namespaces, for example, to autoload thepelican.pluginsnamespace on versions of Pelican before 4.5 (when autoloading to those plugins
was added to the Pelican core).InstallationThe easiest way to installAutoLoaderis through the use of pip. This
will also install the required dependencies automatically.pipinstallminchin.pelican.plugins.autoloaderFurther configuration will depend on the version of Pelican you are running. On
version 4.5 or newer and you haven’t definedPLUGINSin yourpelicanconf.py, nothing more in needed. On earlier versions of Pelican, or
if you’ve definedPLUGINS, you’ll need to add the autoloader to your list
of plugins in yourpelicanconf.pyfile:# pelicanconf.pyPLUGINS=[# ...'minchin.pelican.plugins.autoloader',# ...]If you want to auto-load additional namespaces, you’ll need to define theAUTOLOADER_NAMESPACESvariable in yourpelicanconf.pyfile:# pelicanconf.pyfromminchin.pelican.pluginsimportautoloaderAUTOLOADER_NAMESPACES=autoloader.DEFAULT_NAMESPACE_LIST+["pelican.plugins",# other namespaces]If you need to disallow auto-loading of certain plugins, you’ll need to define
theAUTOLOADER_PLUGIN_BLACKLISTvariable in yourpelicanconf.pyfile.
This only works when autoloading from defined namespaces. E.g.:# pelicanconf.pyfromminchin.pelican.pluginsimportautoloaderAUTOLOADER_PLUGIN_BLACKLIST=autoloader.DEFAULT_PLUGIN_BLACKLIST+["pelican.plugins.misbehaving_plugin",# other plugins]Usage Notesthe plugins loaded by this plugin will not be shown when you runpelican-plugins
Package: minchin.pelican.plugins.cname
CNameis a plugin forPelican, a static
site generator written in Python.CNamecreates aCNAMEfile in the root of your output directory. This is
useful when you are publishing your site toGitHub Pageson acustom domain.InstallationThe easiest way to installCNameis through the use of pip. This will also
install the required dependencies automatically.pipinstallminchin.pelican.plugins.cnameIf you are using Pelican >= 4.5, the plugin will be automatically activated!
And that’s it! No further configuration is needed.UsageNo configuration is needed. The value places in theCNAMEfiles is based on
yourSITEURLsetting.CreditsBased on theoriginal codebyDmitriy Kalinin.
Package: minchin.pelican.plugins.nojekyll
NoJekyllis a plugin forPelican,
a static site generator written in Python.NoJekyllcreates a.nojekyllfile in the root of your output directory.
This is useful when you are publishing your site toGitHub Pagesas it keeps your site from being
run through GitHub’s default Jekyll site generator. This has a side effect
of make your updated site go live faster.InstallationThe easiest way to installNoJekyllis through the use of pip. This
will also install the required dependencies automatically.pipinstallminchin.pelican.plugins.nojekyllAssuming you are running Pelican v4.5 (or later), the plugin with
auto-activate. And that’s it! No further configuration is needed.UsageNo configuration is needed.TheNoJekyllplugin will be automatically called next time you generate
your Pelican site.
Package: minchin.pelican.plugins.optimize-images
Optimize Imagesis a plugin forPelican, a static site generator written
in Python.Optimize Imagesapplies lossless compression on JPEG and PNG images,
with no effect on image quality. It usesjpegtranandOptiPNG.InstallationThe easiest way to installOptimize Imagesis through the use of pip.
This will also install the required Python dependencies automatically.pipinstallminchin.pelican.plugins.optimize_imagesIt is assumed bothjpegtranandOptiPNGare installed on system path.If you are using Pelican 4.5, it should automatically be activated (through my
AutoLoader plugin).If you are using an earlier version of Pelican or autoloading isn’t working,
then in yourpelicanconf.pyfile, addOptimize Imagesto your list of
plugins:PLUGINS=[# others..."minchin.pelican.plugins.optimize_images",# ...]RequirementsOptimize Imagesdepends on (and is really only useful with) Pelican.
This can be manually installed with pip:pipinstallpelicanIt is assumed bothjpegtranandOptiPNGare installed on system path. On
Windows, installers are available at each respective website. On Ubuntu
systems, the two can be installed viaapt-get:apt-getinstalloptipnglibjpeg-progsConfiguration and UsageThe plugin will activate and optimize images uponfinalizedsignal of
pelican.If addOPTIMIZE_IMAGES_DEV_MODE = Trueto yourpelicanconf.py, this
will disable the plugin, which is useful when developing your site locally.Known IssuesImage manipulation like this can take some time to run. You may consider only
adding this plugin to yourpublishconf.py(rather than your basepelicanconf.py) or addOPTIMIZE_IMAGES_DEV_MODE = Trueto yourpelicanconf.py, which will then only run this image optimization in
preparation for site publication.An issue, as such, is that there is no formal test suite. Testing is
currently limited to my in-use observations. I also run a basic check upon
uploaded the package to PyPI that it can be downloaded and loaded into
Python.The package is tested in Python 3.10; compatibility with other version of
Python is unknown, but there should be nothing particular keeping it from
working with other “modern” versions of Python.CreditsOriginal plugin from thePelican-Plugins repo.LicenseThe plugin code is assumed to be under the AGPLv3 license (this is the
license of the Pelican-Plugins repo).