Saravanan666/pypi-org huggingface dataset:
Package: imagings
ImagingSA toolset for computer graphics and imaging processing.Demo VideoUsage 中文FeaturesGeometryLine ( DDA & Bresenham )Curve ( Bezier & B-spline )EllipsePolygonPolylineRectangleTransformTranslateRotateScaleSkewMatrixClipInteractivityWYSIWYGShortcutsDocumentJsonCode editorExportPNG, JPEG, BMPUsage# Installpipinstallimagings# Launch GUIimagings# or usepython-mImagingS.GuiDevelopmentClone this repository.Install dependencies.pipinstallrequirements.txtGenerate UI codespython-mImagingS.Gui.uicRun GUIpython-mImagingS.GuiRun CLIpython-mImagingS.Cliinput.txtoutput_dir
Package: imagiz
ImagizFast and none blocking live video streaming over network with OpenCV and (ZMQ or TCP).Installpip3 install imagizZMQ Clientimport imagiz
import cv2


client=imagiz.Client("cc1",server_ip="localhost")
vid=cv2.VideoCapture(0)
encode_param = [int(cv2.IMWRITE_JPEG_QUALITY), 90]

while True:
    r,frame=vid.read()
    if r:
        r, image = cv2.imencode('.jpg', frame, encode_param)
        client.send(image)
    else:
        breakZMQ Serverimport imagiz
import cv2

server=imagiz.Server()
while True:
    message=server.recive()
    frame=cv2.imdecode(message.image,1)
    cv2.imshow("",frame)
    cv2.waitKey(1)TCP Clientimport imagiz
import cv2

vid=cv2.VideoCapture(0)
client=imagiz.TCP_Client(server_port=9990,client_name="cc1")
encode_param = [int(cv2.IMWRITE_JPEG_QUALITY), 90]


while True:
    r,frame=vid.read()
    if r:
        r,image=cv2.imencode('.jpg',frame, encode_param)
        response=client.send(image)
        print(response)TCP Serverimport imagiz
import cv2

server=imagiz.TCP_Server(9990)
server.start()
while True:
    message=server.receive()
    frame=cv2.imdecode(mmessage.image,1)
    cv2.imshow("",frame)
    cv2.waitKey(1)Client OptionsNameDescriptionclient_nameName of clientserver_ipIp of server default value is localhostserver_portPort of server default value is 5555request_timeouthow many milliseconds wait to resend image againrequest_retrieshow many time retries to send an image before client exitgenerate_image_idimage_id is unique and ordered id that you can use for save data on disk or db also it is show time of image sended by clienttime_between_retriesOn TCP client show time between retriesServer OptionsNameDescriptionPortPort of serverlistenerNumber of listening threads.default value is 10Message ClassNameDescriptionimageByte of imageclient_nameName of clientimage_idIf disable generate_image_id it will be 0
Package: imagy
Imagy - make your website's images load up to 50% faster===============Imagy is a file daemon, that watches your website's media root (where your images are stored) and automatically optimizes image files that are created or modified within.Imagy uses *lossless compression*, so your users never have to load unnecessary bytes. Your images look the same, but load faster.Getting Started-----------------Imagy relies on a few select `binaries <https://github.com/doda/imagy#dependencies>`_ to perform image optimization. On Ubuntu (tested on 11.10) you can install everything with:::sudo apt-get install pngnq pngcrush imagemagick gifsicle libjpeg-progspip install imagyThat's it.Running it for the first time-----------------A lot of work has gone into making it ``set-and-forget``. If you're running it for the first time, this command should be all you need:::imagy /awesome/images/Imagy will run through the directory ``/awesome/images/`` and all its subdirectories and optimize all image files it finds. After that it will watch these directories for images that get created or modified.The algorithms used are stable (don't further modify files after multiple invocations), however to make trying Imagy out as easy as possible, the default is to keep original files around for later reversal. For example the file ``/file.jpg`` would be copied to ``/file-original.jpg`` before optimization. If the optimized fileis not smaller than the original, no copy gets stored and the original file remains unchanged.Further Usage-----------------If after some time you wish to stop using Imagy, run ``imagy --revert`` which will move all original images back to their initial location.If you have (rightfully) come to the conclusion that you don't really need to keep originals around, set ``KEEP_ORIGINALS`` in ``config.py`` to ``False``. If you want to delete all already stored originals run ``imagy --deloriginals``.Credits-----------------In the background Imagy uses the awesome library `smush.py <https://github.com/thebeansgroup/smush.py>`_ which exposes a general interface to handle the various file types.Notes-----------------I use Imagy in production at `sc2wow.com <http://sc2wow.com>`_. I was able to save 150kB off my frontpage load, saving anywhere from 5% to 50% per image, though your results may differ.`More information on how to install pip <http://www.pip-installer.org/en/latest/installing.html#prerequisites>`_Dependencies------------------ imagemagick- gifsicle- jpegtran (on ubuntu in libjpeg-progs)- pngcrush.. - pngnq
Package: imagyy
ImagyyImagyy aims to solve the following issues:Due to the advent of Post Search, it’s difficult to use the feature
of “Photos of” which was earlier done using graph search.Downloads profile images from popular platforms like Linkedin, Quora,
Github, Instagram, Facebook etc.You can read more about the projecthere.Installation :imagyyis a Python2.7/3 library.pip install imagyyPreconditions :Graph search doesn’t work until you are logged into your account while
the extension works otherwise also. This is a command line tool.Usage :usage: imagyy [-h] [-fb] [-ig] [-qr] [-ln] [-gb] [-n username]
                      [-u url] [-i id] [-d directory]

Tool for fetching photos from facebook

optional arguments:
  -h, --help            show this help message and exit
  -fb, --facebook       Fetch Facebook Photos (Default)
  -ig, --instagram      Fetch Instagram Photos
  -qr, --quora          Fetch Instagram Photos
  -ln, --linkedin       Fetch LinkedIn Profile Photo
  -gb, --github         Fetch Github Profile Photo
  -n username, --username username
                        Username to analyze (For Linkedin add everything after
                        ".com" eg: in/tusharmakkar08)
  -u url, --url url     Profile Url to analyze
  -i id, --id id        Profile Id to analyze (only for facebook)
  -d directory, --directory directory
                        Directory to download photos/Name of downloaded fileExamplesFor facebook related photos from usernameimagyy -fb -n zuckFor facebook related photos from urlimagyy -fb -u http://facebook.com/zuckFor Instagram related photos from usernameimagyy -ig -n tusharmakkar08For Quora related photos from usernameimagyy -qr -n Tushar-MakkarFor Github related photos from usernameimagyy -gb -n tusharmakkar08For Linkedin related photos from usernameimagyy -ln -n in/tusharmakkar08LicenseThe mighty MIT license. Please checkLICENSEfor more details.
Package: iMail
iMailCNOverviewiMail is a simple and useful email notification package based onPython 3.8, which supports email authentication, group mailing, adding images and attachments.FeaturesSupport group sending.Specifying message content, supporting multiple formats, such as text, HTML, etc.Support users to add images and attachments (attachments will be sent in a compressed package).Support customizes the maximum attachment size (in MB)UsageThe script is developed based onPython 3.8, and requiresPillow.To install the package, please run the following code in your env:pipinstalliMailA simple example filedemo.pyis provided inthe project on Github, which the user can follow for configuration.LicenseThe script is protected by theMITlicense, which allows free use and distribution.
Package: imalign
IMage ALIGNAlign source image with a reference image using OpenCV SIFT algorithm.MotivationThe task of aligning an image obtained by digitising a negative or slide with a direct digital capture of the same scene is often encountered in hybrid film/digital photography workflow. The applications include calibration of negative inversion algorithms or characterising film materials. Generally, the reference and source images have different resolution, aspect ratios, angle of view and can have a slight tilt. A script was needed that can perform this aligning task automatically.InstallationTheimalignpackage is available from PyPI and can be installed by pip:pipinstallimalignUsageOnce installed, theimalignscript should be available in your terminal. Runimalign--helpto see the list of command line arguments.ExamplesSample imagesare included in the source repository. They include a processedlaboratory scanof a film negative and aDSLR captureof the same frame on the light table.The DSLR image is a horizontally flipped negative that includes frame borders, parts of the film holder and fragments of adjacent frames.Running the command:imalign--reference=tests/samples/lab.jpg
--source=tests/samples/dslr.jpg
--output=tests/samples/aligned.jpg
--trimmed=tests/samples/trimmed.jpg
--border=0.05
--invert-source
--flipProduces these two images:Note, that the aligned image is flipped but not converted to positive.
Package: imantics
Image SemanticsImage understanding is widely used in many areas like satellite imaging, robotic technologies, sensory networks, medical and biomedical imaging, intelligent transportation systems, etc. Recently semantic analysis has become an active research topic aimed at resolving the gap between low level image features and high level semantics which is a promoting approach in image understanding.With many image annotation semantics existing in the field of computer vision, it can become daunting to manage. This package provides the ability to convert and visualize many different types of annotation formats for object dectection and localization.Currently Support Formats:COCO FormatBinary MasksYOLOVOCIf you enjoy my work please consider supporting meInstallingpip install imantics
Package: imantics-lts
Image SemanticsImage understanding is widely used in many areas like satellite imaging, robotic technologies, sensory networks, medical and biomedical imaging, intelligent transportation systems, etc. Recently semantic analysis has become an active research topic aimed at resolving the gap between low level image features and high level semantics which is a promoting approach in image understanding.With many image annotation semantics existing in the field of computer vision, it can become daunting to manage. This package provides the ability to convert and visualize many different types of annotation formats for object dectection and localization.Currently Support Formats:COCO FormatBinary MasksYOLOVOCIf you enjoy my work please consider supporting meInstallingpip install imantics_lts
Package: imap
iMAP - Integration of multiple single-cell datasets by adversarial paired transfer networksInstallation1. PrerequisitesInstall Python >= 3.6. Typically, you should use the Linux system and install a newest version ofAnacondaorMiniconda.Install pytorch >= 1.1.0. To obtain the optimal performance of deep learning-based models, you should have a Nivdia GPU and install the appropriate version of CUDA. (We tested with CUDA = 9.0)Install scanpy >= 1.5.1 for pre-processing.(Optional) InstallSHAPfor interpretation.2. InstallationThe iMAP python package is available for pip install(pip install imap). The functions required for the stage I and II of iMAP could be imported from “imap.stage1” and “imap.stage2”, respectively.TutorialsTutorials and API reference are available in thetutorials directory.
Package: imap2dict
imap2dictDescriptionimap2dictis a Python library for receiving and deleting emails from an IMAP4 server.Installactionpipinstallimap2dictUsagefromimap2dictimportMailClienthost_name='mail.example.com'user_id='foo'password='password'cli=MailClient(host_name,user_id,password)# Receive email (`search_option` and `timezone` are optional.)messages=cli.fetch_mail(search_option='UNSEEN',timezone='Asia/Tokyo')formsginmessages:print('UID:{}'.format(msg['uid']))print('Subject:{}'.format(msg['subject']))print('Body:{}'.format(msg['body']))print('From:{}'.format(msg['from']))print('To:{}'.format(msg['to']))print('Cc:{}'.format(msg['cc']))print('Date:{}'.format(msg['date']))print('Time:{}'.format(msg['time']))print('Format:{}'.format(msg['format']))print('Message-ID:{}'.format(msg['msg_id']))print('Header:{}'.format(msg['header']))forattinmsg['attachments']:print('File Name:{}'.format(att['file_name']))print('File Object:{}'.format(att['file_obj']))
Package: imap-box
imapimapis a tool for visualize and convert format of the hd-map. This project was inspired by Apollo.Supported features:Visualize the hd-map, supported formats: Apollo, OpenDrive.Find lane by idConvert format: Opendrive to Apollo format.ossupportremarkubuntu:heavy_check_mark:mac:heavy_check_mark:windows:heavy_check_mark:Related workodrviewer.iois an excellent interactive online OpenDRIVE viewer.esminiis a basic OpenSCENARIO player.apollo_mapconvert carla map to apolloQuick startInstallYou can install imap by following cmd.pip3installimap_boxExample1. VisualizationAfter the installation is complete, you can view the map with the following command.imap-mdata/borregas_ave.txt
//or
imap-mdata/town.xodrCurrently supported formats:Apollo mapOpenDrive map2. Find lane by idYou can use below command to find lane by id, Found lane is shown inRed.imap-mdata/borregas_ave.txt-llane_353. Format conversionNow you can convert OpenDrive map to Apollo map by following command.imap-f-idata/town.xodr-odata/apollo_map.txtThe following is the display of the hd-map indata\borregas_ave.txt.You can click on the lane you want to display more detail info, which will display the current lane's id, as well as the predecessor and successor lane's id in the upper left corner.QuestionsAfter running the commandimap -m data/your_map_file, nothing display and no errors!!!A: Check the permissions of the map file, if the current user does not have permissions, modify the permissions with the following commands.sudochmod777data/your_map_fileMap data permission checking has no problem, still nothing display and no errors!
A: It's better to install imap_box by running "sudo pip3 install imap_box", then run "imap -m xxx.txt".
Package: imap-checker
Check you imap INBOX and notifies in your beautiful desktop.PurposeI am trying different mail clients in my current companies and I want to keep
up to date. Searching in different resources I decided to implement a mail
notifier.imap-checker works as a daemon polling your imap account and looking for
new emails and notifying in your desktop usinglibnotify.RequirementsIt works in any system with python 2.7.X and libnotify installed.InstallationYou have two optionsUsing pip:pip install imap_checkerClone github repo and install dependencies in requirements.pip file:git clone https://github.com/VITIMan/imap-checkerUsageSimply copy imap_config.example and rename to .imap_conf in your home directory and change the host, user and password with your credentials.Then execute:imap_checkerAnd that’s it. If you want to stop, simply use:imap_checker --stop.LinksGitHub
Package: imap-easybox
Imap Easy Box简单介绍imapbox是基于python内置imaplib，方便收取邮件，
读取邮件内容。 类似的三方包有redbox，imap_tools，redbox对中文支持不太好，
imap_tools感觉稍微有点复杂。因为工作需要，顺便完整学习编写一个python包，因此写了
这样一个小工具。安装pipinstallimap_easybox如何使用基本例子fromimap_easyboximportImapEasyBoxbox=ImapEasyBox('imap.mail.com',port=993)# 端口默认993# 登录邮箱box.login('username','password')# 列出邮箱当前所有文件夹,返回[folder<'inbox'>, folder<'发件箱'>, ...]folders=box.folders# 首先要通过box的select方法选择一个文件夹，返回的是Folder实例inbox_folder=box.select('inbox')# 也可以通过整数或者字符串索引返回文件夹，会自动select该文件夹inbox_folder=box[0]inbox_folder=box['inbox']# 查看文件夹所有邮件,返回[mail<1>, mail<2>...]mails=inbox_folder.mails# 获取第一封邮件, 返回Mail对象实例mail=mails[0]# 获取邮件的相关属性mail.subject# 邮件主题mail.from_# 邮件来源mail.sender# 发件人mail.to# 收件人mail.text_body# 邮件文本内容mail.html_body# 邮件html内容mail.save_attachments()# 保存邮件附件到本地mail.move_to('垃圾箱')# 将邮件移动到垃圾箱box.quit()# 退出邮箱也可以在创建实例的时候传入用户名密码，登录的时候就不用再输入了：box=ImapBox('imap.mail.com',port=993,username='username',password='password')box.login()也支持上下文管理器:withImapBox('imap.mail.com',username='username',password='password')asbox:...文件夹操作可以对文件夹进行新建，改名，删除的操作：box.create_folder('folder_name')# 创建文件夹box.rename_folder('old_folder_name','new_folder_name')# 重命名文件夹box.delete_folder('folder_name')# 删除文件夹除了可以在box实例上调用方法对文件夹进行操作，文件夹实例也提供了rename,delete方法，
不过没有create方法，因为个人感觉这有点违和，😂：inbox_folder.rename('new_folder_name')# 重命名文件夹inbox_folder.delete()# 删除该文件夹操作邮件标签可以对邮件标签进行操作，根据RFC2060，
目前支持6个标签的设置，分别是Seen,Flagged,Answered,Draft,Deleted,Recent，
所有标签操作不区分大小写：# 操作邮件标签flags=mail.flags# 查看邮件当前标签,返回['Seen', 'Flagged', 'Answered', 'Draft', 'Deleted']mail.add_flags('Seen')# 设置邮件为已读，可以是用逗号或者空格分隔的多个标签组成的字符串，也可以是列表mail.set_flags('Flagged, Answered')# 添加Flagged, Answered标签mail.remove_flags(['Flagged','Answered'])# 删除邮件标签搜索邮件folder.mails会返回文件夹内的所有邮件，但有时候我们想要搜索满足条件的某些邮件，
可以调用folder.search方法，folder.search支持通过关键字参数传递搜索条件，
也可以直接传入原生的(即内置库imaplib)搜索语句:# 使用关键字参数进行搜索inbox_folder.search(subject='test')# 按主题搜索inbox_folder.search(from_='imap.mail.com',seen=True)# 按发件人和邮件标志搜索，from条件比较特殊，因为和python关键字冲突，所以后面要加一个下划线inbox_folder.search(on='13-Aug-2023')# 按日期搜索，注意日期需要按照%d-%b-%Y的格式可使用的所有条件可参考RFC3501,
不过是否生效还要看服务器是否支持。所有flag标志和接收单个参数的条件都可以做为关键字参数，flag标志设置为bool值。所
有的关键字参数都是与(AND)的关系。如果需要是或(OR)，或者否(NOT)的关系，则只能使用
原生的搜索语句。redbox和imap_tools都提供了特别
的搜索语句，但是实际上原生的搜索语句也不是很复杂，所以就偷个懒，没有再
费脑子了。原生搜索语句规则基本上就是，参数用双引号包含起来，整个搜索条件
用圆括号包含起来，如果没有参数，则直接上圆括号，下面是几个例子：mails=inbox_folder.search('(SUBJECT "test")')mails=inbox_folder.search('((FROM "imap.mail.com") (SEEN))')# 条件之间是与的关系mails=inbox_folder.search('(FROM "imap.mail.com") (SEEN)')# 最外层的圆括号可要可不要mails=inbox_folder.search('OR (FROM "imap.mail.com") (SEEN)')# 按或的关系进行搜索mails=inbox_folder.search('NOT (FROM "imap.mail.com") (SEEN)')# 按否的关系进行搜索作者telecomshy-telcomshy-telecomshy@126.com
Package: imaplar
ImaplarImaplar monitors one or more mailboxes on one or more IMAP servers.
Unseen messages are passed to a user defined policy for processing.Seethe manualfor more information.InstallationImaplar isreleased on PyPI,
so all you need to do is:$ pip install imaplarLicenseCopyright (C) 2017-2022, Michael Paddon.This 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.
Package: imaplibext
This is an extension module forimaplib. The functions of ‘copy’, ‘search’, ‘fetch’, ‘store’, and possibly others, in the standardimaplibmodule do not return unique-identifier message numbers in their number sets, which makes interaction with messages via ‘store’ a little bit more difficult, and can result in the wrong messages being adjusted. This extension module is designed to override the ‘copy’, ‘search’, ‘fetch’, and ‘store’ functions and provide UID-based commands, by using theuidcommand and passing UID-format commands for the functions that are overridden.
Package: imap-mailbox
Please note thatimap_mailboxis still under active development and will be subject to significant changes.importimap_mailbox# connect to the IMAP serverwithimap_mailbox.IMAPMailbox('imap.example.com','username','password')asmailbox:# search messages from vip@example.comuids=mailbox.search('FROM','vip@example.com')# move the messages to the 'VIP' foldermailbox.move(uids,'VIP')This module provides a subclass ofmailbox.Mailboxthat allows you to interact with an IMAP server. It is designed to be a drop-in replacement for the standard librarymailboxmodule.InstallationInstall the latest stable version from PyPI:pipinstallimap-mailboxInstall the latest version from GitHub:pipinstallhttps://github.com/medecau/imap_mailbox/archive/refs/heads/main.zipExamplesIterate over messages in a folderimportimap_mailbox# connect to the IMAP serverwithimap_mailbox.IMAPMailbox('imap.example.com','username','password')asmailbox:# select the INBOX foldermailbox.select('INBOX')# iterate over messages in the folderformessageinmailbox:print(f"From:{message['From']}")print(f"Subject:{message['Subject']}")Connect to a Proton Mail accountimportimap_mailbox# connect to the local IMAP bridgewithimap_mailbox.IMAPMailbox('127.0.0.1','username','password'port=1143,security='STARTTLS')asmailbox:# search messages from your frienduids=mailbox.search('FROM','handler@proton.me')# erase the evidencemailbox.delete(uids)this is a joke; don't use proton for crimes – stay safeDelete messages from a noisy senderimportimap_mailboxwithimap_mailbox.IMAPMailbox('imap.example.com','username','password')asmailbox:# search messages fromuids=mailbox.search('FROM','spammer@example.com')# delete the messagesmailbox.delete(uids)Delete GitHub messages older than two yearsimportimap_mailboxwithimap_mailbox.IMAPMailbox('imap.example.com','username','password')asmailbox:# search messages older than two years from github.comuids=mailbox.search('NOT PAST2YEARS FROM github.com')# delete the messagesmailbox.delete(uids)ContributionHelp improve imap_mailbox by reporting any issues or suggestions on our issue tracker atgithub.com/medecau/imap_mailbox/issues.Get involved with the development, check out the source code atgithub.com/medecau/imap_mailbox.
Package: imapmon
IMAP MonTool for monitoring IMAP mailboxes and retransmitting received emails via alternative channelsQuick startCreate a filedocker-compose.override.ymlor updatedocker-compose.ymlwith environment variables defined below.Start the app with:docker-composeupSettingsSome options can be set via an environment variable (real ordotenv) or a command line flag.Environment variable nameCommand line flagRequiredDescriptionIMAP_HOSTNAME--hostname/-h☑️IMAP server hostnameIMAP_USERNAME--username/-u☑️IMAP usernameIMAP_PASSWORD--password/-p☑️IMAP password/key/tokenCHANNELS--channel/-c☑️Channel to retransmit messagesTELEGRAM_BOT_TOKEN--telegram-bot-token☑️/✖️Telegram Bot TokenTELEGRAM_CHAT_ID--telegram-chat-id☑️/✖️Telegram Chat ID (channel ID, group ID or @username)SENTRY_DSN--sentry-dsn✖️Sentry DSNLOG_LEVEL--log-level/-l✖️Log level for console messagesExamplesGet help:imapmon--helpPassing parameters via a command-line:imapmon--hostnameimap.example.com-uuser@example.com-pqwerty123-ctelegram--telegram-bot-token"1234567890:EtneWwZtnEibpH6WZVsnZimbPXZLRurw"--telegram-chat-id"12345678"Passing parameters via environment variables:exportIMAP_HOSTNAME=imap.example.comexportIMAP_USERNAME=user@example.comexportIMAP_PASSWORD=qwerty123CHANNELS=telegramTELEGRAM_BOT_TOKEN=xxxTELEGRAM_CHAT_ID=123imapmonRun using a pre-built Docker image:dockerrun--rm-it\docker.pkg.github.com/soar/imapmon/imapmon:latest\--hostnameimap.example.com\-uuser@example.com\-pqwerty123\...