Saravanan666/pypi-org huggingface dataset:
Package: medutils-mri
This repository contains useful functions for medical image processing and reconstruction.io: loadmat function to handle mat files saved with different versionsmeasures: common evaluation measuresmri: (centered) fft2 / ifft2, MRI Cartesian 2D operators, post-processing functions, radial and spiral trajectoriesoptimization: Conjugate gradient, primal-dual optimizers for arbitrary operatorsvisualization: slice viewer, contrast enhancement, image brightening, functions to show and save images and k-space data, image flippingInstallationTo install the package, simply execute following commands. All dependencies will
be installed automatically.` pip installmedutils-mri`
Package: medux
Welcome to MedUX's documentation!MedUX is an Open Source Electronic Record, in an early (currently Pre-Alpha) state.CAVE: This project is in planning/pre-alpha state. Don't expect this to run yet. It doesn't care about django migrations. So if your database is broken because of a major update, please just delete the DB again and start from scratch. Remember, it's pre-alpha.You can read more at theMedUX documentationStay tuned.
Package: medux-cashbook
This is a newly created plugin for MedUX.
Please add some documentation here.GeneralMedUX modules are living in themedux.pluginssetuptools entrypoint group.
They are normal Django apps, but found and loaded dynamically during startup.
As Django apps, they can have everything a “static” app also has:Medux Cashbook PluginConfigThe app configuration is declared in the module’sapps.py. Set the plugin’s metadata there in the PluginMeta class.InstallYou can install this plugin locally by invokingpip install -e .in this folder, assuming you have activated your main project’s virtualenv.ModelsCreate your models as usual inmodels.py, they will be included. Don’t forget to runmakemigrationsandmigrateafterwords.After each change regarding version number etc., runpython manage.py syncplugins. This ensures your database is in sync with the plugins on disk.LicenseThis plugin is licensed under theGNU Affero General Public License v3 or later (AGPLv3+)GNU Affero General Public License v3 or later (AGPLv3+):https://www.gnu.org/licenses/agpl-3.0.txt
Package: medux-common
MedUX Common PluginCommon MedUX/MedUX Online featuresGeneralMedUX and MedUX Online have some common functionality. This module encapsulates everything
they both need.Common PluginConfigThe app configuration is declared in the module'sapps.py. Set the plugin's metadata there in the PluginMeta class.InstallNothing to do explicitly: MedUX and MedUX Online both depend on this package, so it should be installed automatically.LicenseThis plugin is licensed under theGNU Affero General Public License v3 or later (AGPLv3+)
Package: medux-timetracker
Welcome to MedUX's documentation!MedUX is an Open Source Electronic Record, in an early (currently Pre-Alpha) state.CAVE: This project is in planning/pre-alpha state. Don't expect this to run yet. It doesn't care about django migrations. So if your database is broken because of a major update, please just delete the DB again and start from scratch. Remember, it's pre-alpha.You can read more at theMedUX documentationStay tuned.
Package: meduza
MeduzaA simple Python module that wraps themeduza.ioAPI. (read about Meduza onBuzzfeed)Installationpip install meduzaUsageGet an article:>>>url="https://meduza.io/en/brief/2018/07/16/the-real-russia-today">>>article=meduza.get(url)>>>article["title"]'The Real Russia. Today.'>>>article["second_title"]"Trump and Putin meet in Helsinki, the ‘Deep State’ consensus, and Pussy Riot's heart-to-heart with the police"Get the latest articles on this section:# English version:>>>forarticleinmeduza.section('news',n=3,lang='en'):...print(f" - '{article['title']}'")-'Chechnya’s ruler has a stable full of prize-winning race horses, but you’d never know it, looking at his income declarations'-'Russian musicians are being forced to cancel their concerts across the country, which makes now the perfect time to listen to their music'-'The Real Russia. Today.'# Russian version:>>>forarticleinmeduza.section('news',n=3,lang='ru'):...print(f" - '{article['title']}'")-'Путина спросили про пенсионную реформу. Он ответил, что ему все не нравится'-'В Екатеринбурге открыли барельеф с «условными» Дзержинским и Сталиным (или Кагановичем)'-'Новая иллюзия: круги, раскрашенные в четыре разных цвета (на самом деле нет)'Search articles by key words:# English version:>>>forarticleinmeduza.search('Indigenous',n=3,lang='en'):...print(f" - '{article['title']}'")-'Indigenous scholar commits self-immolation in Ural city to protest language death'-'‘This is the land of our ancestors’'-'Trial by fire'# Russian version:>>>forarticleinmeduza.search('языка коренного',n=3,lang='ru'):...print(f" - '{article['title']}'")-'Острова Кука собрались сменить название'-'Последний аргумент в длинном споре'-'При пожаре в Национальном музее Бразилии погиб архив языков коренных народов. Некоторые из них больше никто не знает'You can find available tags and sections in constants:>>>meduza.EN_SECTIONS'news'>>>meduza.EN_TAGS('news','like it or not','games')>>>meduza.RU_SECTIONS('news','articles','shapito','razbor','games','podcasts')>>>meduza.RU_TAGS('новости','истории','разбор','шапито','игры','подкасты','партнерский материал')
Package: medvedi
MEDVeDIMemory Efficient Deconstructed Vectorized Dataframe Interface.Design goals:Favor performance over nice syntax features. Sacrifice fool-proof for efficient zero-copy operations.Ensure ideal micro-performance and optimize for moderate data sizes (megabytes).The use-case is API server code that you write once and execute many times.Try to stay compatible with the Pandas interface. There is noSeries, however.Rely on numpy.Friends with Arrow.Frequently release GIL and depend on native extensions doing unsafe things.Test only CPython and Linux.Support only x86-64 CPUs with AVX2.Support only Python 3.10+.100% test coverage.Otherwise, you should be way better with regular Pandas.Medvedi is currently heavily used in production ofAthenian.
Package: medvis
Tools to visualise medical images.InstallationTo install, runpip install medvisExampleThe following example will plot a PET/CT image with alpha blended PET signal ontop
of a grayscale CT image. The outline of two masks are shown with a legend that specifies
what the different colours represent.importmatplotlib.pyplotaspltimportmedvisct_image=...pet_image=...binary_true_mask=...binary_pred_mask=...true_colour="tomato"pred_colour="skyblue"blended_pet_image=medvis.apply_cmap_with_blend(pet_image,'magma')true_mask_outline=medvis.create_outline(binary_true_mask,width=2,colour=true_colour)pred_mask_outline=medvis.create_outline(binary_pred_mask,width=2,colour=pred_colour)fig,ax=plt.subplots()ax.imshow(ct_image,cmap='gray')ax.imshow(blended_pet_image)ax.imshow(true_mask_outline)ax.imshow(pred_mask_outline)medvis.create_legend([true_colour,pred_colour],["True mask","Predicted mask"],ax=ax)plt.show()
Package: medvision
medvisionis an open source python library for medical computer vision.InstallationInstall dependencies$condainstall-cconda-forgegdcmInstall medvision$gitclonegit@github.com:kyle0x54/medvision.git
$cdmedvision
$pipinstall-rrequirements.txt
$pipinstall-e.Try your first medvision program$python>>>importmedvisionasmv>>>mv.isdicom('001.dcm')TrueLicenseApache License 2.0
Package: medviz
MedViz is a Python package for medical image visualization. It provides a set of functions for visualizing medical images and masks. The package is built on top of thematplotlibandnibabelpackages.InstallationTo install the package, use pip:pipinstallmedvizUsageTo use the package, import it in your Python code:importmedvizmedviz.layered_plot(image_path="dataset/1-1.nii",mask_paths=["dataset/small_bowel.nii","dataset/1-1-label.nii"],mask_colors=["red","yellow"],title="Layered Plot")Thelayered_plotfunction creates a layered plot of an image and one or more masks. The masks are overlaid on top of the image using the specified colors. The resulting plot can be used to visualize the location of structures or regions of interest in the image.importmedvizmedviz.gif(image_path="dataset/1-1.nii",mask_paths=["dataset/small_bowel.nii","dataset/1-1-label.nii","dataset/vertebrae_L3.nii.gz","dataset/vertebrae_L4.nii.gz","dataset/vertebrae_L5.nii.gz",],mask_colors=["red","yellow","green","blue","purple"],title="Expert Annotations",interval=70,start_slice=30,end_slice=130,save_path="animation.gif",)Thegiffunction creates an animated GIF of an image and one or more masks. The masks are overlaid on top of the image using the specified colors. The resulting GIF can be used to visualize the location of structures or regions of interest in the image.GitHub repository: [https://github.com/mohsenhariri/medviz](https://github.com/mohsenhariri/medviz)
Package: medyum
🧞‍♂️ MedyumStack-oriented programming language in Turkish. Just for fun.Türkçe yığın odaklı programlama dili. Yalnızca eğlence için.Yığın odaklı programlama dilleri hakkında daha fazla bilgiyibu wikideokuyabilirsiniz. Medyum henüz temel seviyededir. (Şimdilik) yalnızca integer veri tipi desteklenmektedir, buna rağmen matematiksel ve mantıksal operatörler, değişkenler, koşul ifadeler, döngüler dile eklenmiştir Geliştirilmeye açıktır :) .Ayrıca yapılacak biryığınbaşka iş yokmuş gibi vscode'a syntax highlight desteği de eklenmiştir.Marketplace'de göz atın.Hızlı Başlangıç$ pip install medyum
$ python -m medyum <DOSYA_ADI>.medGeliştirici Ortamı$ git clone https://github.com/orhanemree/medyum-lang.git
$ cd medyum-langBelgelerDOCUMENTATION.md.YapılacaklarÖrnekler.Gelişmiş hata raporlama.String veri tipi desteği.ReferanslarTsoding/Porth Ep.01 [Video]LisansMIT Lisansı.
Package: meendag
Meendag-sdkAn unofficial SDK for Meendag help you to find name of the owner of the numberTable of ContentsRequirementsInstallationWith PyPiWith GitHubUsageGet countrysGet ownerCountrys filterGet country by codeGet country by nameDiscussionsIssuesSecurityLicenseRequirementsPython>= 3.8InstallationPyPi$pip3installmeendagGitHub$gitclonehttps://github.com/TheAwiteb/meendag/
$cdmeendag
$python3setup.pyinstallUsageGet countrysfrommeendagimportget_countryscountrys=get_countrys()forcountryincountrys:print(f"Country name:{country.name}{country.code}")# Country name: المملكة العربية السعودية SA# Country name: الأردن JO# Country name: الامارات العربية المتحدة AE# Country name: البحرين BH# ...Get ownerfrommeendagimportget_country_by_code,get_ownerprint(get_owner("0138823616",get_country_by_code("SA")))# Owner(name='Intertek', number='0138823616', country=Country(code='SA', name='المملكة العربية السعودية'))Countrys filterfrommeendagimportcountrys_filterprint(countrys_filter(lambdacountry:country.code=="SA"))# [Country(code='SA', name='المملكة العربية السعودية')]Get country by codefrommeendagimportget_country_by_codeprint(get_country_by_code("SA"))# Country(code='SA', name='المملكة العربية السعودية')Get country by namefrommeendagimportget_country_by_nameprint(get_country_by_name("المملكة العربية السعودية"))# Country(code='SA', name='المملكة العربية السعودية')DiscussionsQuestion, feature request, discuss about meendaghereIssuesYou can report a bughereSecurityIf you discover any security related issues.LicenseGNU Affero General Public License (AGPL). Please seeLicense Filefor more information.
Package: meepo2
Meepo2 is event sourcing and event broadcasting for databases.Documentation:https://meepo2.readthedocs.org/InstallationRequirements:Python 2.x >= 2.7orPython 3.x >= 3.2orPyPyTo install the latest released version of Meepo2:$ pip install meepo2FeaturesMeepo2 can be used to do lots of things, including replication, eventsourcing,
cache refresh/invalidate, real-time analytics etc. The limit is all the tasks
should be row-based, since meepo2 only givestable_action->pkstyle events.Row-based database replication.Replicate RDBMS to NoSQL and search engine.Event Sourcing.Logging and AuditingRealtime analyticsUsageCheckoutdocumentationandexamples/.
Package: meepy
Meep Morpmeep morp clink clankMeepy is a package who's sole purpose is to print basic diagnostic information to the log. It is particularly useful when you want to useprint()in your code but you want to know where it came from.Optionsmessage[default: None]parent[default: None]expected[default: None]ExamplesImportfrommeepyimportMeepBasic UsageMeep.morp()Option:messageAdds a custom message to the outputMeep.morp(message='a custom message')Option:parentBy adding theparentmeepy will print the path to the file where the Meep.morp occurred.frommeepyimportMeepclassExample:deftest():Meep.morp(self)# orMeep.morp(parent=self)Option:expectedLets face it, sometimes you want to straddle a line of code to see if its a suspect line. Using theexpectedoption can help identify your morps.Meep.morp()# this is the suspect line of codeMeep.morp(False)# orMeep.morp(expected=False)
Package: meerk
MeerkSimple bot which notifies your chats that you are in a meetingHow to runFirstly ensure you usepython 3.6.Clone project:gitclonehttps://github.com/nikialeksey/meerk.gitInstall dependencies andpipinstall-rrequirements.txtConfigureand run:pythonmain.pyOr you can use it as library for your service or app, see example inmain.py.How to configureIn order to configure you need to make a copy of filelocal.cfg_templatewith namelocal.cfgand change content of it.CalDav calendarsTo add calendar supportsCalDavformat you need to uncommentcaldav-calendarsection
and fill with your personal data. If you have a multiple calendars supportsCalDavyou may create a new section inlocal.cfgwith the same fields and section name prefixcaldav,
but with other data, for example:[caldav-another]url:<another caldav url>username:<another caldav username>password:<another caldav password>Important!Google Calendardoes not support cal dav, and you have only one way
to make it work - using*.ics files.Ics calendarsTo add calendar usingicsfile you need to uncommentics-calendarsection and fill with
your publicicsfile link. Again, if you have a fewicscalendars, you may create a few sections inlocal.cfgwith section
name prefixics, for example:[ics-another]url:<another ics url>[ics-yet-another]url:<yet another ics url>To find your calendar*.icsfile link usually you need to open calendar settings, make it public, and find link to
calendar*.icsfile.SlackIt supports only slack, but you can contribute for more chats. To configure slack, you guessed it, you need to
uncommentslack-appsection and fill,
for example:[slack-app]token:xoxp-3165681461-*****6099680-*****3333042-*****007685996b538e88cbe92a6098bbusy_text:I am in a meetingbusy_emoji::shushing_face:available_text:Android development 09.00 - 17.00available_emoji::computer:Slack has alegacy tokenswhich you need to generate
in order to update your slack status and fill thetokenin sectionslack*. In feature,Meerkmigrates
to slack app.How it worksMeerkperiodically synchronizes specified inlocal.cfgcalendars and periodically verifies if there is a
meeting now, then update chat status toBusy, elseAvailable.ThanksThanks to@tobixenand his projectcaldav. Iuse it in theMeerktemporary. When#11appears in release build I get rid of the immediate code of
projectcaldavand will be use as dependency or write my ownCalDavimplementation.
Package: meerk40t-barcodes
meerk40t-barcodesMeerK40t 0.8+ Barcode extension.Barcode-ExtensionRegisters the console command:qrcodewhich will generate a qrcodeUsage:qrcode x_pos y_pos dim codeArguments:x_pos          X-position of qr-code
y_pos          Y-position of qr-code
dim            Width/length of qr-code
code           Text to create qr-code fromOptions:--boxsize  (-x)      Boxsize (default 10)
--border   (-b)      Border around qr-code (default 4)
--version  (-v)      size (1..40)
--errcorr  (-e)      error correction, one of L (7%), M (15%), Q (25%), H (30%)Registers the console command:barcodewhich will generate a barcodeUsage:barcode x_pos y_pos dimx dimy btype codeArguments:x_pos     X-Position of barcode
y_pos     Y-Position of barcode
dim       Width of barcode, may be 'auto' to keep native width
dimy      Height of barcode, may be 'auto' to keep native height
btype     Barcode type
code      The code to processOptions:--notext  (-n)      suppress text displayGUI-Support
The installation of this tool will register a new button in the Design section of MeerK40t:If you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:This will create an element in Meerk40t that can be treated like any other regular path, but which will allow post-creation change of the underlying code (ie the barcode will be regenerated based on the new input).Installingpip install meerk40t-barcodesOrDownload into a directory:$ pip install .DevelopmentIf you are developing your own extension for meerk40t you will want to use:$ pip install -e .this installs the python module in edit mode which allows you to easily see and experience your changes. Without reinstalling your module.AcknowledgementsThis MeerK40t extension uses the work of two great libraries to create barcodes & QR codes:The python-barcode library (https://github.com/WhyNotHugo/python-barcode)The qrcode library (https://github.com/lincolnloop/python-qrcode)
Package: meerkatbot
MEERKATBOT LIBRARYIt is an extra layer to discord.py library, writen to improve the discord bots architecture.A Simple ExamplefrommeerkatbotimportMeerkatBottoken=input('YOUR DISCORD BOT TOKEN IS ... ')meerkat=MeerkatBot(token=token,prefix="@",# * The meerkat has a logger as well, but you can send# * a custom one to MeerkatBot instance -> logger = logger(color, text): void#logger=lambda color, text: print(text))# * Example - CommandsasyncdefhelloCommand(context):awaitcontext.send('Hi!, how are you?')asyncdefbyeCommand(context):awaitcontext.send('See you!')# * Example - EVENTSasyncdefonReadyEvent():meerkat.logger('bold','IT IS READY')asyncdefonMessageEvent(message):meerkat.logger('warning','MESSAGE -{}'.format(message.content))# ? Two ways to do the same# meerkat.use('hello', helloCommand).use('bye', byeCommand)meerkat.bulkUse([('hello',helloCommand),('bye',byeCommand)])# ? Two ways to do the same# meerkat.on('ready', onReadyEvent).on('message', onMessageEvent)meerkat.bulkOn([('ready',onReadyEvent),('message',onMessageEvent)])# * With this command, the meerkat can start digging!meerkat.run()
Package: meer-tec
MeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.Both communication via USB andLantronix XPortare supported.Note that not all commands ofMeComare implemented at this time. Feel free to submit more commands via a Pull Request.UsageConnectionUSBfrommeer_tec.interfacesimportUSBfrommeer_tec.tecimportTECusb=USB("COM3")tec=TEC(usb,0)XPortCreate a connection to the XPort and pass it as an argument to one of the TECsfrommeer_tec.interfacesimportUSBfrommeer_tec.tecimportTECxp=XPort('192.168.1.123')tec3=TEC(xp,3)CommandsThe commands are implemented as properties. For example the target temperature
can be read by simply usingtec3.target_temperature23.0tec3.target_temperature=23.1AuthorsBastian Leykauf (https://github.com/bleykauf)LicenseMeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.Copyright © 2020-2023 B. LeykaufThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, seehttps://www.gnu.org/licenses/.
Package: meesee
MeeseeTask queue, Long lived workers process parallelization, with Redis as backend.
The project is used in production by three different companies.
There are Meesee instances that have been running without maintenance or restarts for more than one year.Since the scope of the project is laser focussed on providing the following usecases.
There are no outstanding feature requests, the project is stable and no code are needed at the moment.
For feature request or additional information, an issue could be raised.
For examples on how to use Meesee there areexamplesavailable.Should be able to run for long periods, without maintenance or restarts.Restarting the service for maintenance or deployments, should not lead to missing messages.Should be reasonable fast and minimal amount of memory overhead for client and Redis instance.Should be able to schedule messages when workers are offline during deployment.Should not skip messages during certain scenario's such as heavy load.Should try to be as simple as possible to use, without a big learning curve. Distributed computing is hard enough by itself.ExamplesCreate my_func that willprint starting message.Sleep 1 second.print a ending message.Let's start 10 of those.importtimefrommeeseeimportstartappdefmy_func(item,worker_id):print("hello, look at me")time.sleep(1)print('finished item',locals())startapp(my_func,workers=10)Open another terminal, Let's produce some tasksfrommeeseeimportRedisQueue,configdefproduce(items):r=RedisQueue(**config)foriinrange(items):r.send(i)produce(10)Great, the placement of both scripts can be on any machine with connectivity to the redis instance.InstallingCreate a virtualenv for your project.
Install meesee:$ . /path/to/virtualenv/bin/activate
$  pip install meeseePrerequisitesRedis instanceFor Docker$ docker run --name some-redis -d redisFor Debian, Ubuntu$ sudo apt-get install redis-serverFor Centos, Red Hat$ sudo yum install redisAuthorsMelvin BijmanMark MoesLicenseThis project is licensed under the MIT License - see theLICENSEfile for details