Saravanan666/pypi-org huggingface dataset:
Package: eml2md
eml2mdeml2mdis a command line tool for converting from eml to markdown.Exampleeml2md-itests/example/Test.eml-oTest.md|         |                                                                          |
| ------- | ------------------------------------------------------------------------ |
| From    | 井炉波鳰惠土 <author2@example.com>                                       |
| To      | 井炉波鳰惠土 <author1@example.com><br>井炉波鳰惠土 <author2@example.com> |
| CC      | 井炉波鳰惠土 <author2@example.com><br> <author1@example.com>             |
| Date    | 2022-08-09 23:47:29                                                      |
| Subject | Re: Test                                                                 |

test blanks
2022 年 8 月 9 日(火) 23:47 井炉波鳰惠土 <author1@example.com>:>Quote message>> dsadbubfdus[\>dsadinadioa>> dsnaidnai>> dsnuandiUsageusage:eml2md[-h]-iINPUT-oOUTPUT[-f{simple,html}]optionalarguments:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTInputfile-oOUTPUT,--outputOUTPUTOutputfile-f{simple,html},--format{simple,html}Formatofoutputmarkdown
Package: eml2png
eml2pngPaint the EML to a single PNG image.InstallingYou'll needwkhtmltopdfbefore you start working with eml2png, so install them first:Debian/Ubuntu:sudoapt-getinstallwkhtmltopdfMacOSXbrewinstallwkhtmltopdfWindows and other options: checkwkhtmltopdf homepagefor binary installers orwiki page.Install eml2png:pipinstalleml2pngUsageSimple example:importeml2pngwithopen('message.png','wb')asf:f.write(eml2png.to_png('message.eml'))Export your wkhtmltopdf's install path if not/usr/bin/wkhtmltoimage:exportWKHTMLTOIMAGE="/usr/local/bin/wkhtmltoimage"
Package: emlens
emlensA lightweight toolbox for analyzing embedding spaceRequirementsPython 3.7 or 3.8 (may not work on 3.9)Dochttps://emlens.readthedocs.io/en/latest/Installpipinstallemlensemlensusesfaiss library, which has two versions,faiss-cpuandfaiss-gpu.
As the name stands,faiss-gpucan leverage GPUs, thureby faster if you have GPUs.emlensusesfaiss-cpuby default to avoid unnecessary GPU-related troubles.
Yet, you can still leverage the GPUs (which is recommended if you have) by installingfaiss-gpubywith conda:condainstall-cconda-forgefaiss-gpuorwith pip:pip install faiss-gpuInstalling emlensMaintenanceCode Linting:condainstall-y-cconda-forgepre-commit
pre-commitinstallDocsctring: sphinx formatTest:python-munittesttests/simple_test.py
Package: eml-extractor
EML ExtractorEML Extractor is a CLI tool to extract attachments from .eml files (email messages saved as files).FeaturesFind .eml files (recursively or not) in a selected folder;Select individuals .eml files to extraction;Save all attachments in a single main folder;Organize the attachments by email subject subfolder.RequirementsPython 3.6+Installation$pipinstalleml-extractorUsageBy default, the current working directory is used as the source for .eml files as well as destination for extracted attachments. You can set different optional arguments to change this behavior:usage: eml-extractor [OPTIONS]Extracts attachments from .eml filesoptional arguments:-h, --help            show this help message and exit-s PATH, --source PATHthe directory containing the .eml files to extractattachments (default: current working directory)-r, --recursive       allow recursive search for .eml files under SOURCEdirectory-f FILE [FILE ...], --files FILE [FILE ...]specify an .eml file or a list of .eml files to extractattachments-d PATH, --destination PATHthe directory to extract attachments to (default:current working directory)Examples1. Find all .eml files in current working dir, extract the attachments and save them in the same dir:$eml-extractorThe command above is equivalent to:$eml-extractor--source.--destination.2. Set another path for searching .eml files:$eml-extractor--source/path/to/eml/files/3. Allow recursive searching:$eml-extractor--source/path/to/eml/files/--recursive4. Define manually from which files the attachments will be extracted:$eml-extractor--files/path/to/file1.eml/path/to/file2.eml5. Change the path where to save the extracted attachments:$eml-extractor--destination/path/to/extracted/attachments/LicenseThis project is licensed under the terms of theMIT License.
Package: emlib
emlib is a set of modules with miscelaneous functionality:maths:base conversion, euclidian distance, min. common denominator, etc.combinatoricsnumber theorynumber seriesmarkov chainsutilities to traverse graphsmatplotlib enhancementscsv utilitiesiterator tools (similar to more_itertools)containers: RecordList (a list of named tuples)doctools: tools to generate documentation (for mkdocs particularly)etcDocumentationhttps://emlib.readthedocs.ioInstallationpipinstallemlib
Package: emlisp
emlispEmacs runtime for PythonWARNING: This repo is in development. It was automatically generated withmkpylib. If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality isprint('TODO').If you really want to try it out, feel free. I recommend reading through the code and commit history to see if it does what you need, orask mefor status updates.Stay tuned!Installpython3 -m pip install -U emlispUsageimportemlispprint('TODO')LicenseMITContactA library byShawn Presser. If you found it useful, please considerjoining my patreon!My Twitter DMs are always open; you shouldsend me one! It's the best way to reach me, and I'm always happy to hear from you.Twitter:@theshawwnPatreon:https://www.patreon.com/shawwnHN:sillysaurusxWebsite:shawwn.com
Package: eml-parser
eml_parser serves as a python module for parsing eml files and returning various
information found in the e-mail as well as computed information.Extracted and generated information include but are not limited to:attachmentshashesnamesfrom, to, ccreceived servers pathsubjectlist of URLs parsed from the text content of the mail (including HTML body/attachments)Please feel free to send me your comments / pull requests.For the changelog, please seeCHANGELOG.md.Installation:pipinstalleml_parser[filemagic]:warning:Note:If you don't want to / cannot use file-magic (e.g. if you are using python-magic), install via:pipinstalleml_parserKnown IssuesOSXusersMake sure to install libmagic, else eml_parser will not work.Python <=3.7.4 "rare header field parsing issue"It has been reported (in #60) that there are parsing issues in some particular cases which seem
to be caused by a bug in theemailmodule of the Python standard library. At least versions <=3.7.4 are affected.Python versions >=3.7.11 are not affected. If you do getKeyErrorexceptions on header field parsing, you should
consider upgrading to a more recent version of Python.-> Please open an issue if the error persists after upgrading.Example usage:importdatetimeimportjsonimporteml_parserdefjson_serial(obj):ifisinstance(obj,datetime.datetime):serial=obj.isoformat()returnserialwithopen('sample.eml','rb')asfhdl:raw_email=fhdl.read()ep=eml_parser.EmlParser()parsed_eml=ep.decode_email_bytes(raw_email)print(json.dumps(parsed_eml,default=json_serial))Which gives for a minimalistic EML file something like this:{"body":[{"content_header":{"content-language":["en-US"]},"hash":"6c9f343bdb040e764843325fc5673b0f43a021bac9064075d285190d6509222d"}],"header":{"received_src":null,"from":"john.doe@example.com","to":["test@example.com"],"subject":"Sample EML","received_foremail":["test@example.com"],"date":"2013-04-26T11:15:47+00:00","header":{"content-language":["en-US"],"received":["from localhost\tby mta.example.com (Postfix) with ESMTPS id 6388F684168\tfor <test@example.com>; Fri, 26 Apr 2013 13:15:55 +0200"],"to":["test@example.com"],"subject":["Sample EML"],"date":["Fri, 26 Apr 2013 11:15:47 +0000"],"message-id":["<F96257F63EAEB94C890EA6CE1437145C013B01FA@example.com>"],"from":["John Doe <john.doe@example.com>"]},"received_domain":["mta.example.com"],"received":[{"with":"esmtps id 6388f684168","for":["test@example.com"],"by":["mta.example.com"],"date":"2013-04-26T13:15:55+02:00","src":"from localhost by mta.example.com (postfix) with esmtps id 6388f684168 for <test@example.com>; fri, 26 apr 2013 13:15:55 +0200"}]}}
Package: eml-rename
eml_rename projectScript renames all eml files in a directory using mail metadataIdeaI needed this tool to classify and order my mail files at work.I took this idea from an article of Armand Niculescu (August 20, 2014) athttps://www.media-division.com/using-python-to-batch-rename-email-files/, so thanks an I hope you like this code.FeaturesAutomatically renames all *.eml files in a directory, using email metadata.Renamed files will have this format is 'YYYYMMDD HHMM [From] Subject'If 'YYYYMMDD HHMM [From]' format is detected the script won't rename the file. With this feature user can change subject manually and the script won't overwrite it.If you use --force parameter the script will overwrite all files even they have the 'YYYYMMDD HHMM [From]' format.Length of the new name will have 140 character as maximum, although you can change it with the --length parameter--save parameter renames files. If you don't use this parameter it will only pretend the resultIt uses concurrency to make process fasterChangelog0.3.0 (2023-04-17)setup.py migrated to poetryFix bug with CEST time zones0.2.0 (2022-11-12)Now mail datetime uses local system time zone0.1.0 (2022-11-06)First versionAdded main features
Package: eml-to-html
eml-to-htmlTiny CLI tool that converts.emlemail files to.htmlfiles.Installationpip install eml-to-htmlUsageeml-to-html [EML FILE]...Feel free to pass aglob. For example:eml-to-html some_email_file_1.eml some_email_file_2.emlandeml-to-html *.emlare both valid calls to the command. Cheers!✨ExampleRunningeml-to-htmlon thetest_emailsfolder:$ eml-to-html test_emails/*.eml
🟢 Written `test_email_1.html`
🟢 Written `test_email_2.html`File tree is now:$ tree test_emails 
test_emails
├── test_email_1.eml
├── test_email_1.html
├── test_email_2.eml
└── test_email_2.html

0 directories, 4 filesAboutThis micro module was written byJeroen Overschiein 2022.
Package: emlx
EmlxEmlx is the lightweight parser for.emlxfiles as used by Mail.app.InstallInstall and update usingpip:pip install emlxBasic usage>>>importemlx>>>m=emlx.read("12345.emlx")>>>m.headers{'Subject':'Re: Emlx library ✉️','From':'Michael <michael@example.com>','Date':'Thu, 30 Jan 2020 20:25:43 +0100','Content-Type':'text/plain; charset=utf-8',...}>>>m.text"You're welcome. :)\n\n> Python <python@example.com> wrote:\n>\n> Thank you!\n\n">>>m.htmlisNoneTrue>>>m.plist{'color':'000000','conversation-id':12345,'date-last-viewed':1580423184,'flags':{...}...}>>>m.flags{'read':True,'answered':True,'attachment_count':2}ArchitectureAn.emlxfile consists of three parts:bytecount on first line;email content in MIME format (headers, body, attachments);Apple property list (plist) with metadata.The second part (2.) is parsed by theemaillibrary. It is included in the Python standard library. Message objects generated byemlxextendemail.message.Messageand thus give access to its handy features. Additionally,emlxmessage objects provide the attributesbytecount(1.) as integer andplist(3.) as a Python dictionary. For convenience, it also offers the attributesheaders,text,html,url,id, andflags.HistoryTheemlxfile format was introduced by Apple in 2005. It is similar toeml-files popular with other email clients; the difference is the added bytecount (start) and plist (end). For more, seehere.
Package: emmaa
EMMAAEMMAA is an Ecosystem of Machine-maintained Models with Automated Analysis.
The primary way users can interact with EMMAA is by using the EMMAA Dashboard
which can be accessedhere.DocumentationFor a detailed documentation of EMMA, visithttp://emmaa.readthedocs.io.
The documentation contains three main sections:A conceptual description of theEMMAA architecture and approachAnintroduction to the EMMAA DashboardAmodule-level documentation of all of EMMAA's code baselinked directly to the source code on GithubConceptThe main idea behind EMMAA is to create a set of computational models that
are kept up-to-date using automated machine reading, knowledge-assembly, and
model generation. Each model starts with a prior network of relevant concepts
connected through a set of known mechanisms. This set of mechanisms is then
extended by reading literature or other sources of information each day,
determining how new information relates to the existing model, and then
updating the model with the new information.Models are also available for automated analysis in which relevant queries
that fall within the scope of each model can be automatically mapped
to structural and dynamical analysis procedures on the model. This allows
recognizing and reporting changes to the model that result in meaningful
changes to analysis results.ApplicationsThe primary application area of EMMAA is the molecular biology of cancer,
however, it can be applied to other domains that the INDRA system and the
reading systems integrated with INDRA can handle.InstallationUsers primarily interact with EMMAA via theDashboard, for which no dependencies need to be
installed.To set up programmatic access to EMMAA's features locally, do the following:git clone https://github.com/indralab/emmaa.git
cd emmaa
pip install git+https://github.com/sorgerlab/indra.git
pip install git+https://github.com/indralab/indra_db.git
pip install -e .A Dockerized version of EMMAA is available athttps://hub.docker.com/r/labsyspharm/emmaa, which can be obtained asdocker pull labsyspharm/emmaaFundingThe development of EMMAA is funded under the DARPA Automating Scientific
Knowledge Extraction (ASKE) program under award HR00111990009.
Package: emm-cmd
🐠 EMM - what is the correct spell of that command again?All of us have been there, we are trying to write a command, but we are not sure what is the correct spelling of the command - "emm, what is that command again?"Cool things is that, we can now use AI to help us to find the correct command.Just try:emm "what is the command to find all files start with 'data'?"And you will get several correct command generated by AI, choose them to run, and you are good to go!⚙️ Installationpipinstallemm-cmd🔧 Usage🔐 AuthenticationIf you are using for the first time, you will need to run the following command after installation:emmset_auth<your_open_ai_key>If you have not registered for an open ai key, you will need to registerhere.Please ensure that you have key registered, and your account have sufficient credits to use the API.⌨️ Commandemm<your_missing_command>after this, hopefully you will see a table of commands that you are looking for, with explanation.Please use your arrow key to select and run.💬 ChatYour favourite chat bot is now available in your terminal. Just use the--chatflag:
Package: em-media-handler
A comprehensive media handling automation script for use via command-line or with a torrenting program. Handles TV shows, movies, music, and audiobooks. Integrates with push notifications via Pushover and Pushbullet.Getting StartedEM Media Handler is easily installed viapip:pip install em-media-handlerThen check out theGetting Startedguide to learn more.AuthorsEM Media Handler is byErin Morelli.
Package: emmental
Emmental is a framework for building multimodal multi-task learning systems.Note that Emmental is stillactively under development, so feedback and
contributions are welcome. Submit bugs in theIssuessection or feel free to
submit your contributions as a pull request.Getting StartedCheck out ourGetting Started Guideto get up and running with Emmental.Learning how to use EmmentalTheEmmental tutorialscover the Emmental workflow, showing how to build
multimodal multi-task learning systems.ReferenceEmmental: A framework for building multimodal multi-task learning systems:@misc{wu2019emmental,
  title={Emmental: A framework for building multimodal multi-task learning systems},
  author={Wu, Sen},
  year={2019},
}
Package: emmer
EMmerThis is a python package to collect important functions related to cryo EM data processing. Broadly, EMmer tools are divided based on the input data type: either a coordinate file (PDB) or a map data (as a numpy array). They are structured as follows:Structuringemmerndimagefilter (Low-pass, high-pass, band-pass filters and FSC filters)mask (Compute FDR confidence masks and atomic model masks)radial_profile (Compute radial profile from a map, estimate bfactors from radial profile)fsc (compute FSC between two maps)contour (compute properties of a contour at a given threshold like surface area, volume, number of segments)sharpen (modify maps by rescaling the amplitudes)general tools:average half mapscompute real space correlationestimate center of mass of a mapI/O operationsTrim map between residuespdbSSE (Secondary Structure Estimation using DSSP algorithm)convert (to convert PDB to map)General tools:perturb PDBCompute RMSD between two PDBGet bfactors of all atomsSet bfactors of all atoms to a uniform valueNeighbor analysis (estimate number of neighbors at a given position)InstallationYou can install using pippip install emmerRecommended python version: > 3.6UsageYou can load modules inside your python script like this:Convert PDB to mapfrom emmer.pdb.convert.convert_pdb_to_map import convert_pdb_to_map
simulated_map = convert_pdb_to_map(input_pdb="/path/to/pdb.pdb", apix=1.1, size=(256,256,256)) # Returns a numpy.ndarray of shape: (256,256,256)Compute FSC curve from two halfmapsfrom emmer.ndimage.fsc.calculate_fsc_curve import calculate_fsc_curve
fsc_curve = calculate_fsc_curve(halfmap1, halfmap2)Compute real space correlation between map and modelfrom emmer.pdb.convert.convert_pdb_to_map import convert_pdb_to_map
from emmer.ndimage.compute_real_space_correlation import compute_real_space_correlation as rsc
simulated_map = convert_pdb_to_map(input_pdb="/path/to/pdb.pdb", apix=1.1, size=(256,256,256))
emmap_path = "/path/to/emmap.mrc"
real_space_correlation = rsc(simulated_map, emmap_path)  # Input can either be a path to a map or a numpy.ndarray of shape:(N,N,N)ConventionsSome suggestions:emmap density data is named "emmap"Pixel size is named 'apix'Distances are measured in Angstrom.EtymologyRefers to a person doing EM: an EM-merIs also a bucket inDutch...
"Een emmer is een waterdicht vat dat aan een hengsel gedragen en meestal gebruikt wordt voor het vervoer van vloeistoffen."It is also a type of wheat.Acronym for:
Electron Microscopy Mightier (than) Ex RaysFeature requestsWRITE THEM HERE
Package: emmett
Emmett is a full-stack Python web framework designed with simplicity in mind.The aim of Emmett is to be clearly understandable, easy to be learned and to be
used, so you can focus completely on your product's features:fromemmettimportApp,request,responsefromemmett.ormimportDatabase,Model,Fieldfromemmett.toolsimportservice,requiresclassTask(Model):name=Field.string()is_completed=Field.bool(default=False)app=App(__name__)app.config.db.uri="postgres://user:password@localhost/foo"db=Database(app)db.define_models(Task)app.pipeline=[db.pipe]defis_authenticated():returnrequest.headers.get("api-key")=="foobar"defnot_authorized():response.status=401return{'error':'not authorized'}@app.route(methods='get')@requires(is_authenticated,otherwise=not_authorized)@service.jsonasyncdeftodo():page=request.query_params.pageor1tasks=Task.where(lambdat:t.is_completed==False).select(paginate=(page,20))return{'tasks':tasks}DocumentationThe documentation is available athttps://emmett.sh/docs.
The sources are available under thedocs folder.ExamplesThebloggyexample described in theTutorialis available under theexamples folder.Status of the projectEmmett is production ready and is compatible with Python 3.8 and above versions.Emmett follows asemantic versioningfor its releases, with a{major}.{minor}.{patch}scheme for versions numbers, where:majorversions might introduce breaking changesminorversions usually introduce new features and might introduce deprecationspatchversions only introduce bug fixesDeprecations are kept in place for at least 3 minor versions, and the drop is always communicated in theupgrade guide.How can I help?We would be very glad if you contributed to the project in one or all of these ways:Talking about Emmett with friends and on the webAdding issues and features requests here on GitHubParticipating in discussions about new features and issues here on GitHubImproving the documentationForking the project and writing beautiful codeLicenseEmmett is released under the BSD License.However, due to original license limitations, some components are included
in Emmett under their original licenses. Please check the LICENSE file for
more details.
Package: emmett-haml
Emmett-HAMLEmmett-HAML is anEmmett frameworkextension providing an HAML like syntax for templates. This is not a template engine but a compiler which converts HAML files to HTML Renoir templates.InstallationYou can install Emmett-HAML using pip:pip install emmett-hamlAnd add it to your Emmett application:fromemmett_hamlimportHamlapp.use_extension(Haml)LicenseEmmett-HAML is released under BSD license. Check the LICENSE file for more details.
Package: emmett-prometheus
Emmett-PrometheusEmmett-Prometheus is anEmmett frameworkextension integratingprometheusclient.InstallationYou can install Emmett-Prometheus using pip:pip install emmett-prometheusAnd add it to your Emmett application:fromemmett_prometheusimportPrometheusapp.use_extension(Prometheus)ConfigurationHere is the complete list of parameters of the extension configuration:paramdefaultdescriptionauto_loadTrueAutomatically inject extension on routes and expose metricsenable_http_metricsTrueEnable metrics collection on HTTP routesenable_ws_metricsTrueEnable metrics collection on Websocket routesenable_sys_metricsFalseEnable default Prometheus client system metrics collectionmetrics_route_path/metricsPath for metrics routemetrics_route_hostnameHostname for metrics routeYou also have some additional customisations available (here we show the defaults):app.config.Prometheus.http_histogram_statuses=[200,201]app.config.Prometheus.http_histogram_exclude_methods=["OPTIONS"]app.config.Prometheus.http_histogram_buckets=[5,35,100,200,500,1000,"INF"]app.config.Prometheus.exclude_routes=[]app.config.Prometheus.metrics_names={"http_counter":"emmett_request_count","http_histogram":"emmett_request_latency","ws_gauge":"emmett_websocket_gauge","ws_recv_counter":"emmett_websocket_messages_recv_count","ws_send_counter":"emmett_websocket_messages_send_count"}LicenseEmmett-prometheus is released under BSD license.
Package: emmett-sentry
Emmett-SentryEmmett-Sentry is anEmmett frameworkextension integratingSentrymonitoring platform.InstallationYou can install Emmett-Sentry using pip:pip install emmett-sentryAnd add it to your Emmett application:fromemmett_sentryimportSentrysentry=app.use_extension(Sentry)ConfigurationHere is the complete list of parameters of the extension configuration:paramdefaultdescriptiondsnSentry project's DSNenvironmentdevelopmentApplication environmentreleaseApplication releaseauto_loadTrueAutomatically inject extension on routessample_rate1Error sampling rateintegrationsList of integrations to pass to the SDKenable_tracingFalseEnable tracing on routestracing_sample_rateTraces sampling ratetracing_exclude_routesList of specific routes to exclude from tracingtrace_websocketsFalseEnable tracing on websocket routestrace_ormTrueEnable tracing on ORM queriestrace_templatesTrueEnable tracing on templates renderingtrace_sessionsTrueEnable tracing on sessions load/storetrace_cacheTrueEnable tracing on cache get/settrace_pipesFalseEnable tracing on pipesUsageThe extension exposes two methods to manually track events:exceptionmessageYou call these methods directly within your code:# track an errortry:1/0exceptException:sentry.exception()# track a messagesentry.message("some event",level="info")LicenseEmmett-Sentry is released under BSD license.