Saravanan666/pypi-org huggingface dataset:
Package: metatab
Parse and manipulate structured data and metadata in a tabular format.Metatabis a data format that allows structured
metadata – the sort you’d normally store in JSON, YAML or XML – to be stored
and edited in tabular forms like CSV or Excel. Metatab files look exactly like
you’d expect, so they are very easy for non-technical users to read and edit,
using tools they already have. Metatab is an excellent format for creating,
storing and transmitting metadata. For more information about metatab, visithttp://metatab.org.This repository has a Python module and executable. For a Javascript version,
see themetatab-jsrepository.What is Metatab For?Metatab is a tabular format that allows storing metadata for demographics,
health and research datasets in a tabular format. The tabular format is much
easier for data creators to write and for data consumers to read, and it allows
a complete data packages to be stored in a single Excel file.InstallInstall the package from PiPy with:$pipinstallmetatabOr, install the master branch from github with:$pipinstallhttps://github.com/CivicKnowledge/metatab.gitThen test parsing using a remote file with:$metatab-jhttps://raw.githubusercontent.com/CivicKnowledge/metatab/master/test-data/example1.csvRunmetatab-hto get other program options.Thetest-datadirectory has test files that also serve as examples to
parse. You can either clone the repo and parse them from the files, or from the
Github page for the file, click on therawbutton to get raw view of the
flie, then copy the URL.Running testsRunpython setup.py teststo run normal development tests. You can also runtox, which will try to run the tests with python 3.4, 3.5 and 3.6, ignoring
non-existent interpreters.Development Testing with DockerTesting during development for other versions of Python is a bit of a pain,
since you have to install the alternate version, and Tox will run all of the
tests, not just the one you want.One way to deal with this is to install Docker locally, then run the docker
test container on the source directory. This is done automatically from the
Makefile in metatab/test, just run:$cdmetatab/test$makebuild# to create the container image$maketest# or just ..$makeYou can also run the container shell, and run tests from the command line.$cdmetatab/test$makebuild# to create the container image$makeshell# to run bash the containerYou now have a docker container where the /code directory is the metatab source dir.Now, run tox to build the tox virtual environments, then enter the specific version you want to
run tests for and activate the virtual environment.# tox
# cd .tox/py34
# source bin/activate # Activate the python 3.4 virtual env
# cd ../../
# python setup.py test # Cause test deps to get installed
#
# python -munittest metatab.test.test_parser.TestParser.test_parse_everython  # Run one testNote that your development environment is mounted into the Docker container, so you can edit local
files and test the changes in Docker.
Package: metatables
metatablesThis is a repository that enables easy data wrangling on files read with the pyreadstat package.InstallationRun the following to install:pipinstallmetatablesUsagefrommetatablesimportMetaTable# Add files from pyreadstat to MetaTablex=MetaTable(df,meta)# change val_lab of variables 'F5_01' and 'F5_02'x.val_lab(['F5_01','F5_02'],{1:'Fish',2:'Chips'})# change var_lab of the same variables to 'New Label'x.var_lab(['F5_01','F5_02'],'New Label')# select columns that should be kept in MetaTablex.select_columns(['F5_01','F5_02'])# show info about variable 'F5_01'x.show('F5_01')# write to .sav filex.write_sav('./filename.sav')DocumentationThe official documentation is hosted on GitHub Pages:https://tez4.github.io/metatables/DevelopingTo install the package, along with the tools you need to develop and run tests, run the following in your virtualenv:pipinstall-e.[dev]Add documentation:pdoc--html--output-dirdocsmetatables--configshow_source_code=False-fCreate the package files:pythonsetup.pysdistbdist_wheelUpload topypi.org:twineuploaddist/*
Package: metatask
# Meta TaskTools that support:- Runs commands on a set of files- Multi process the for fast run- Read metadata from the file with exiftool- Use metadata in rename or command- Set metadata on the file- Support jinja template- Rename or move the fileConfig file `<Standard config path>/metatask.yaml`, `~/.config/metatask.yaml` on LinuxSyntax:```yamlnb_process: <number of concurent process>ignore_dir: <list of directory regexpto be ignored>task:<name>:display: <text>source-mime: <mime type>merge: <True|False, use to combine files, defaut is False>keep: <True|False, uset to keep the source file, default is False>commands: [<list of commands or command names>]cmds:<name>:display: <text>metadata: True # => get some metadata with `exiftool` and can be used with python format syntax...<name>:display: <text>cmd: <the command with {in} and {out} (if not inplace)>out_ext: <the output extension (optional)>inplace: <True|False default is False><name>:display: <text>type: renamefrom: <regexp>to: <pattern with \1, ...><name>:display: <text>type: renamedo:- from: <regexp>to: <pattern with \1, ...><name>:display: <text>type: renamefrom: <regexp>format: <lower|higher><name>:display: <text>type: metadataname: <metadata name>value_get: <regexp used on filename>value_format: <pattern with \1, ...>```
Package: metaTED
AboutmetaTED is a tool that makes it easy to download all of theTED talks. It
does so by creating over 1,000metalinksof TED talks varying in both the
quality levels and possible talk groupings by directory. Features include:Creates talks with informative file names - i.e.Unconventional Explanations/Hans Rosling on HIV - New facts and stunning data visuals.mp4instead of originalHansRosling_2009_480.mp4.Provides subtitles for talks in over 85 supported languages. New
languages and translations are added daily through theTED Open Translation Project, and you help out bybecoming a translator today.Tries hard to get all of the talks, or at least most of them - with a good
reason if some have failed.More choice - creates one metalink per available quality level
(currently low, standard and high).More choice - creates one metalink per available talk grouping, with all
talks belonging to the same group placed inside a common directory. The
possible talk groupings are extracted from talks metadata (currently
filming year, publishing year, event name and author).Aggressive caching throughout the project, to avoid expensive network/CPU
operations as much as possible. Proper cache invalidation included.High levels of fault tolerance.Simple, yet powerful homegrown web crawler.Flexible and extensible software design with changes in mind.Provides both the console script and a public API.Downloading TED talksIf you just want todownload TED talks, you don’t need to install this
package, or even Python. All you need to do is get adownload client that supports the Metalink standardand choose one of thedaily updated metalinks.Installing and running metaTEDYou can install metaTED withpipviapip install metaTED. You can run it
withmetaTED, ormetaTED-hto get help and the list of all available
options.The project itself ishosted on GitLab, from where you can get the code
and report bugs.
Package: metatensor
MetatensorMetatensor is a self-describing sparse tensor data format for atomistic machine
learning and beyond; storing values and gradients of these values together.
Think numpyndarrayor pytorchTensorequipped with extra metadata for
atomic systems and other point clouds data. The core of this library is written
in Rust and we provide API for C, C++, and Python.The main class of metatensor is theTensorMapdata structure, defining a
custom block-sparse data format. If you are using metatensor from Python, we
additionally provide a collection of mathematical, logical and other utility
operations to make working with TensorMaps more convenient.DocumentationFor details, tutorials, and examples, please have a look at ourdocumentation.ContributorsThanks goes to all people that make metatensor possible:We always welcome new contributors. If you want to help us take a look at ourcontribution guidelinesand afterwards you may start with an
open issue marked asgood first
issue.
Package: metathreads
MetaThreadsOverviewMetaThreads is Meta Threads-API to interact with Instagram threads app, extract data and perform actions. The library is written in python. MetaThreads API lets you fetch user's threads, thread replies, user's data, user's friends. Actions like posting a thread, like/unlike threads etc. can easily be perfomed with the api. Check full list of features below.Note:Use it on Your Own Risk. Avoid using it in excess.TRY TESTING IT WITH SOME DUMMY/FAKE ACCOUNT FIRST.InstallationInstall MetaThreads with pippipinstallmetathreadsUsage/Examplespythonquickstart.pyORfrommetathreadsimportMetaThreadsMetaThreads()ExamplefrommetathreadsimportMetaThreadsthreads=MetaThreads()threads.login("username","password")# check logged in userthreads.me# get thread detailsthreads.get_thread("thread_id or thread_url")"""Here is an examplethread_url > https://www.threads.net/t/CuP48CiS5sxthread_id > 3138977881796614961It works with both id and url.thread.get_thread(3138977881796614961)thread.get_thread(https://www.threads.net/t/CuP48CiS5sx)YOU CAN ALSO THROW IN MULTIPLE INPUTS AT A SINGLE TIME (WORKS WITH EVERY METHOD i.e. liking, posting, deleting , extracting data - all functions), IT SUPPORTS ASYNC/AWAIT (CONCURRENT REQUESTS.)Just make sure you don't hit the API rate limits.So getting multiple threads is as easy as passing a list.threads.get_thread([3138977881796614961,3140525365550562013])"""# like a threadthreads.like_thread(3138977881796614961)# repost a threadthreads.repost_thread([3138977881796614961,3140525365550562013])# post a threadthreads.post_thread(thread_caption="My First Thread..")#CHECK DOCUMENTATION FOR FULL FUNCTIONALITY.DocumentationCheck out step by step guide.DocumentationConfigurationExample - Config Usagefrommetathreadsimportconfigconfig.PROXY={"http":"127.0.0.1","https":"127.0.0.1"}config.TIMEOUT=10Check out configuration docs for the available settings.ConfigurationsFeaturesGet ThreadsGet Thread RepliesGet User's ThreadsGet User's Threads RepliesGet User's Data (Email, Bio, Name etc.)Get User's Followers/FollowingLike/Unlike ThreadsFollow/Unfollow UsersPost / Delete ThreadsRepost Threads / Destroy Reposted ThreadsPerform User SearchGet Notifications and much more.Authors@iSarabjitDhimanFeedbackIf you have any feedback, please reach out to us athello@sarabjitdhiman.comor contact me on Social Media @iSarabjitDhimanSupportFor support, emailhello@sarabjitdhiman.com
Package: metatime
MetaTiME: Meta-components in Tumor immune MicroEnvironmentMetaTiME learns data-driven, interpretable, and reproducible gene programs by integrating millions of single cells from hundreds of tumor scRNA-seq data. The idea is to learn a map of single-cell space with biologically meaningful directions from large-scale data, which helps understand functional cell states and transfers knowledge to new data analysis. MetaTiME provides pretrained meta-components (MeCs) to automatically annotate fine-grained cell states and plot signature continuum for new single-cells of tumor microenvironment.InstallationCreate a new virtual env and activate (optional)python -m venv metatime-env;  source metatime-env/bin/activateUse pip to installpip install metatimeInstallation shall be in minutes .Next we have a tutorial on applying MetaTiME on new TME scRNAseq data to annotate cell states, scoring signature continuum, and test differential signature activity.UsageMetaTiME-AnnotatorUse MetaTiME to automatically annotate cell states and map signaturesInteractive tutorialUse MetaTiME to automatically annotate cell states and map signaturesMethodReferenceManuscript In Revision. Repo continously being improved! More details will be updated and suggested improvements welcome.Paper at bioRxivAccepted at Nature Communications [Journal Article doi pending]Training DatasetsTumor scRNAseq Data for MetaTiME @ZenodoA large collection of uniformly processed tumor single-cell RNA-seq.Includes raw data and MetaTiME score for the TME cells.DependencypandasscanpyanndatamatplotlibadjustTextleidenalgharmonypyDependency version tested:pandas==1.1.5scanpy==1.8.2anndata==0.8.0matplotlib==3.5.1adjustText==0.7.3leidenalg==0.8.3ContactYi Zhang, Ph.D.yiz [AT] ds.dfci.harvard.eduTwitter|WebsiteResearch Fellow
Department of Data Science
Dana-Farber Cancer Institute
Harvard University T.H. Chan School of Public Health
Package: metatrace
⚡ MetaTraceQuickstartDockerdockerrunghcr.io/dioptra-io/metatrace--helpPythonpipinstallmetatrace
metatrace--helpRepositorygitclonegit@github.com:dioptra-io/metatrace.gitcdmetatrace
poetryinstall
poetryrunmetatrace--helpUsageCLIDatametatracedatacreate|delete|get|insert|queryMetadatametatrace METADATA create|delete|get|queryFor example:metatraceasnadd--collectorroute-views2.routeviews.org--date2014-01-01T00:00:00
metatraceasnget# ┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓# ┃ Identifier        ┃ Collector                   ┃ Date                     ┃ Creation date            ┃ Rows   ┃ Size                  ┃# ┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩# │ 202205312208_1f59 │ route-views2.routeviews.org │ Wed Jan  1 00:00:00 2014 │ Tue May 31 22:08:18 2022 │ 498110 │ 3.5454529999999997 MB │# └───────────────────┴─────────────────────────────┴──────────────────────────┴──────────────────────────┴────────┴───────────────────────┘metatraceasnquery202205312208_1f598.8.8.8# 15169metatraceasndelete202205312208_1f59Webmetatraceserverhttp://localhost:5555Pythonmetatrace.libDataPublicCAIDA Arkdata is supported.MetadataAutonomous system numberThis metadata maps an IP address to its originating AS number, as seen by a BGP collector.RouteViewsandRIPE RISare supported.GeolocationThis metadata maps an IP address to its country, city, latitude and longitude.MaxMind GeoLite2 Cityis supported.Internet Exchange PointThis metadata maps an IP address to its IXP if it belongs to its peering LAN.PeeringDBis supported.AuthorsMetaTrace is developed and maintained by theDioptra groupatSorbonne Universitéin Paris, France.
Package: metatrader
py-metatrader 0.0.1Released: 30-May-2015Introductionpy-metatrader is a python package that provides interfaces to metatrader4(mt4).metatrader4is a trading platform that can automate trading(fx, stock, etc…) by your own program(ExpertAdvisor in mt4).you can automate simuration(backtest in mt4), CI  EA development , etc… by using this library.currently works with Python 2.7.contributing and porting is welcome.FeatureAt the moment, py-metatrader supports:backtestoptimizationThe goal of py-metatrader is to support execute all feature of metatrader4 from this library.InstallationInstall viapip:$pipinstallmetatraderInstall from source:$gitclonehttps://github.com/samuraitaiga/py-metatrader.git$cdpy-metatrader$pythonsetup.pyinstallChangeLogs0.0.1first release. backtest and optimization from python.UsageBacktest:frommetatrader.mt4importinitizalizefrommetatrader.backtestimportBackTest# point mt4 install folderinitizalize('C:\\Program Files\\FXCM MetaTrader 4')# specify backtest period by datetime formatfrom_date=datetime(2014,9,1)to_date=datetime(2015,1,1)ea_name='Moving Average'# create ea param by dict.param={'Lots':{'value':0.1},'MaximumRisk':{'value':0.02},'DecreaseFactor':{'value':3.0},'MovingPeriod':{'value':12},'MovingShift':{'value':6}}# create backtest objectbacktest=BackTest(ea_name,param,'USDJPY','M5',from_date,to_date)# run backtestret=backtest.run()# you can get result from result object# for example you can print gross profitprintret.gross_profit
Package: metatrader5EasyT
metatrader5EasyTeasyT,easyTo trade,easyTo use!WARNING!Now that I have your attention I would like you to reflect about the fact that$1.00 Dollarmight benotthatmuchto you, butyou, an incredible person, combined to other'samazing Sponsors, canfinancethis
project, and it willallows meto constantlyimprove and maintainit,and, I am not asking that much.Here is myPatreonlink.Yeah, I would like to do that, but I do not have that kind of money.That is Ok, and, there are many ways you can help me, here is a list:Starthis project on GitHub.Sharethis project.Open an account with Binance referral link:When you open an account on Binance you help me when you trade!Some of your tax paid returns for you and part goes for me.Below you can see the percentage cash back for me and for you, and you trade:For meFor youLink10%10%https://accounts.binance.com/en/register?ref=IBNF8RAW15%5%https://accounts.binance.com/en/register?ref=D11OJ6NP20%0%https://accounts.binance.com/en/register?ref=SAUNZ26XYou can find more information about theBinancereferral linkhereAnd, there areAdsin all the documentations, that hopefully, will help me finance this project.Installation:Keep in mind that it willonly work on Windows.pipinstallmetatrader5EasyTIf you want to knowhow to useandexamples, please, see the link to thedocumentationbelow.All the information will be there.Libraries DocumentationAll the Libraries Documentation and useful links are linked below:easyTmetatrader5EasyT -Documentation-GitHub-PypiMql5-Python-Integration -GitHubThe documentation for this specific project is this onemetatrader5EasyT.
Package: meta-translate
Meta TranslateMeta Translate is a Python wrapper designed to streamline the utilization of Meta AI's Seamless text and speech translation model. This wrapper simplifies complex operations into a single Python code line, enabling users to effortlessly translate texts and speech into multiple languages.Key FeaturesEfficiency:Meta Translate combines multiple line operations into a concise Python code call, making translation tasks more straightforward.Local Model Loading:Unlike other Python libraries such as Bark and Google TTS engines, Meta Translate loads models natively on your local system before performing the translation process.Privacy:Meta Translate provides a superior solution by ensuring that models operate locally, offering both free unlimited translation tasks and enhanced privacy.CODENAMEMeta Translate is developed under the THUNDERSTORM PROJECT.QuickstartInstall the library using pip:pipinstallmeta_translatefrommeta_translateimportload_seamless_m4t_modelfrommeta_translateimporttext_to_translated_text# Load the modelmodel_name="facebook/hf-seamless-m4t-medium"processor,model=load_seamless_m4t_model(model_name)# Perform translationtext_to_translate="""Technology has transformed the way we communicate and access information. In today's interconnected world, the rapid advancement of digital tools has made communication more instantaneous and information more accessible than ever before."""translated_result=text_to_translated_text(model,processor,text_to_translate,tgt_lang="spa")# Print the outputprint(translated_result)LICENCEALL RIGHTS RESERVED UNDER MIT LICENSE AND META AI TERMS AND CONDITIONS
Package: metatree
metatreeVisualisation of polyphyletic groups between phylogenetic trees to a given reference tree.InstallationPyPI:pip install metatreeconda:conda install -c bioconda metatreeUsagemetatree[batchfile][out_dir][taxonomy_file][outgroup][cpus]See theexampledirectory for an example on how to usemetatree.Changelog0.0.1
  - Initial release.
Package: metatutu
Welcome to METATUTU libraryMETATUTU library (metatutu) is an open source python library with some useful
tools to help software development in all areas covered.The library is developed by Wooloo Studio, an independent software development
team with experienced programmers, engineers and management team from varitey
of industries and background.  Most of them had experience in building world
class and award winning software products in their respective industry for
performance, user experience and reputation.Thanks for supporting METATUTU and wish you enjoy using it!
Should you have any suggestion or question, please feel free to contact us.
Package: metatype
Implements the base metaformat types for different versions of
metaformat.This package provides classes derived from basedictclass, with
modified constructors, in order to validate represent data items
following metaformat’s specific version (specific metaformats).It is organized as follows:metatype
  metatype
    mft
      <N>
    rfc
      <N>
    iso
      <N>
Package: metaunit
Metaunit is Python package for unit conversion. metaunit will convert you metric values. You only have to pass the desired unit values inside as parameter of the method.Installpip install metaunitHow to usefrom metaunit import *cm_to_mm = centimeters_to_millimeters(1)kg_to_g = kilograms_to_grams(20)l_to_ml = liters_to_milliliters(5)Available metric conversionscentimeters to millimetersdecimeters to entimetersmeters to centimetersmeters to decimeterskilometers to meterssquare centimeters to square millimeterssquare meters to square centimetershectares to square meterssquare Meters to hectaressquare Kilometers to square Meterscubic centimeters to cubic millimeterscubic decimeters to cubic centimeterscubic meters to cubic centimeterscubic meters to cubic decimetersgrams to milligramsdecagrams to gramskilograms to gramstonnes to kilogramsgigagrams to megagramscentiliters to millilitersdeciliters to centilitersliters to millilitersliters to deciliterskiloliters to litersbytes to bitkilobyte to bytemegabyte to kilobytesgigabyte to megabytesterabytes to gigabytepetabytes to terabyteexabyte to petabyteszettabyte to exabytesyottabyte to zettabytesChange Log0.0.8 (10/04/2021)Eighth Release
Package: metautils
Utilities for writing and composing metaclasses.Template ModelWhy do we need or want to write class templates.Consider the two metaclasses.classAllLower(type):def__new__(mcls,name,bases,dict_):dict_={k.lower():vfork,vindict_.items()}returnsuper().__new__(mcls,name,bases,dict_)classMethodCatcher(type):def__new__(mcls,name,bases,dict_):dict_['methods']=[vforvindict_.values()ifcallable(v)]returnsuper().__new__(mcls,name,bases,dict_)What would we do if we wanted to make a class that usedBOTHof these
metaclasses? Using a class that subclasses bothAllLowerandMethodCatcherdoes not work, what we want is a way to chain them.With the class template model, we could have written our metaclasses
as:frommetautilsimportT,templatedclassAllLower(T):@templateddef__new__(mcls,name,bases,dict_,T_):dict_={k.lower():vfork,vindict_.items()}returnT_.__new__(mcls,name,bases,dict_)classMethodCatcher(T):@templateddef__new__(mcls,name,bases,dict_,T_):dict_['methods']=[vforvindict_.values()ifcallable(v)];returnT_.__new__(mcls,name,bases,dict_)Now we can define classes that useBOTHof these metaclasses like so:classC(object,metaclass=MethodCatcher(AllLower())):defF():passdefg():passa='a'B='b'We can see that this applied the composition of the metaclasses.>>>C.f<function__main__.C.F>>>>C.g<function__main__.C.g>>>>C.b'b'>>>C.a'a'>>>C.methods[<function__main__.C.g>,<function__main__.C.F>]The order that the metaclasses are composed is explicit as they act as
transformers over each other.TemplateWhile the previous example only showed metaclasses, you can use this for any
class; however, it is most useful for metaclasses where having a compatible
metaclass hierarchy is important.ATemplateis a callable that takes atypeobject and
returns a newtypeobject. It takes the following arguments:base: A type object.default:type.adjust_name: Should we prepend the name of thebaseto the
new type object.default:True.These can be chained together with any concrete metaclass at the end,
e.g.:new_class=m(n,p(q(...z(type)...)))You can also use the compose function to do this:frommetautilsimportcomposenew_class_template=compose(m,n,p,q,...,z)