Saravanan666/pypi-org huggingface dataset:
Package: epson-projector
Epson-projector moduleAsynchronous library to control epson projectorsRequires Python 3.5. asyncio, aiohttp.Created mostly to use with Home Assistant.UsageCheck out test.py and const.py to see all posibilities to send to projector."""Test and example of usage of Epson module."""importepson_projectorasepsonfromepson_projector.constimport(POWER)importasyncioimportaiohttpasyncdefmain():"""Run main with aiohttp ClientSession."""asyncwithaiohttp.ClientSession()assession:awaitrun(session)asyncdefrun(websession):"""Use Projector class of epson module and check if it is turned on."""projector=epson.Projector(host='HOSTNAME',websession=websession,encryption=False)data=awaitprojector.get_property(POWER)print(data)asyncio.get_event_loop().run_until_complete(main())
Package: epsound
epsoundMinimalistic cross-platform library for playing sounds (from wav files).Works on Windows and Linux.Supports devices with architecture x86, x64 and arm.Provides minimal latency when starting and stopping sound playback.Suitable for adding sound effects to a device where you want to ensure maximum response speed.Repository:https://github.com/EPC-MSU/epsoundPrerequisitesYour Linux system should have the following installed to successfully complete:$sudoapt-getinstalllibasound2-devInstallationInstallation is very simple:pipinstallepsoundWorking exampleimporttimeimportepsoundif__name__=="__main__":# Let's create object of class WavPlayer and add sound from file with name "one" to itplayer=epsound.WavPlayer()player.add_sound(file="sound.wav",name="one")# Then let's play soundplayer.play("one")time.sleep(1)
Package: epss
epssA pandas friendly library for the EPSS.Free software: Apache Software License 2.0Documentation:https://epss.readthedocs.io.ProjectEPSS Model:https://www.first.org/epss/modelEPSS API:https://www.first.org/epss/apiCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-05-12)First release on PyPI.
Package: epss-api
EPSS(Exploit Prediction Scoring System) API client.EPSS is the one of famous vulnerability score developed by FIRST (the Forum of Incident Response and Security Teams).EPSS’s definition:The Exploit Prediction Scoring System (EPSS) is an open,
data-driven effort for estimating the likelihood (probability) that a software vulnerability will be exploited in the wild.
Our goal is to assist network defenders to better prioritize vulnerability remediation efforts.
While other industry standards have been useful for capturing innate characteristics of a vulnerability and provide measures of severity,
they are limited in their ability to assess threat.
EPSS fills that gap because it uses current threat information from CVE and real-world exploit data.
The EPSS model produces a probability score between 0 and 1 (0 and 100%).
The higher the score, the greater the probability that a vulnerability will be exploited.https://www.first.org/epss/This package is most easiest and efficient EPSS api client.UsageEPSS has some methods.fromepss_apiimportEPSSclient=EPSS()value=client.scores()# value = [#   {'cve': 'CVE-2022-39952', 'epss': '0.09029', 'percentile': '0.94031'},#   {'cve': 'CVE-2023-0669', 'epss': '0.78437', 'percentile': '0.99452'},#  ...# ]value=client.epss_lt(0.5)# value = [#   {'cve': 'CVE-2022-39952', 'epss': '0.09029', 'percentile': '0.24031'},#   {'cve': 'CVE-2023-0669', 'epss': '0.18437', 'percentile': '0.19452'},#  ...# ]value=client.percentile_lt(0.5)# value = [#   {'cve': 'CVE-2022-39952', 'epss': '0.09029', 'percentile': '0.24031'},#   {'cve': 'CVE-2023-0669', 'epss': '0.78437', 'percentile': '0.19452'},#  ...# ]value=client.epss_gt(0.5)# value = [#   {'cve': 'CVE-2022-39952', 'epss': '0.59029', 'percentile': '0.94031'},#   {'cve': 'CVE-2023-0669', 'epss': '0.78437', 'percentile': '0.99452'},#  ...# ]value=client.percentile_gt(0.5)# value = [#   {'cve': 'CVE-2022-39952', 'epss': '0.59029', 'percentile': '0.94031'},#   {'cve': 'CVE-2023-0669', 'epss': '0.78437', 'percentile': '0.99452'},#  ...# ]value=client.score(cve_id='CVE-2022-0669')# value = {'cve': 'CVE-2022-39952', 'epss': 0.0095, 'percentile': 0.32069}value=client.epss(cve_id='CVE-2022-0669')# value == 0.0095value=client.percentile(cve_id='CVE-2022-0669')# value == 0.32069If you call either one method, EPSS client cache all CVE’s score in memory.
After caching, you can get all data very fast.
Package: epss-checker
EPSS ClientA Python client to query the FIRST EPSS API for CVE EPSS scores. This tool allows users to easily fetch EPSS scores for different CVEs right from the command line.InstallationBefore installing the EPSS Checker, make sure you have Python 3.6+ installed on your system. You can install the EPSS Checker using pip:pipinstallepss-checkerUsageYou can use the EPSS Client from the command line as follows:epss-checkerCVE-XXXX-XXXXReplaceCVE-XXXX-XXXXwith the actual CVE identifier you want to query. The tool will fetch the EPSS score for the given CVE identifier and display it in the console. The following is the help message of the tool:┌──(omar㉿websploit)-[~]└─$epss-checker-h
usage:epss-checker[-h][-s]cve_idEPSS-CheckerAuthor:@santosomarAtooltofetchEPSSscoresforCVEsfromtheFIRSTEPSSAPI.

positionalarguments:cve_idTheCVEidentifiertoquery(format:CVE-XXXX-XXXX)options:-h,--helpshowthishelpmessageandexit-s,--silentOnlydisplaytheEPSSscore,withoutanyadditionaltextContributingTo contribute to this project, please read theCONTRIBUTINGfile.LicenseThis project is licensed under the MIT License. See the LICENSE file for details.
Package: ep-stats
ep-statsStatistical package for the experimentation platform.It provides a general Python package and REST API that can be used to evaluate any metric
in an AB test experiment.FeaturesRobust two-tailed t-test implementation with multiple p-value corrections and delta methods applied.Sequential evaluations allow experiments to be stopped early.Connect it to any data source to get either pre-aggregated or per randomization unit data.Simple expression language to define arbitrary metrics.Sample size estimation.REST API to integrate it as a service in experimentation portal with score cards.DocumentationWe have got a lovelydocumentation.Base Exampleep-stats allows for a quick experiment evaluation. We are using sample testing data to evaluate metricClick-through Ratein experimenttest-conversion.fromepstats.toolkitimportExperiment,Metric,SrmCheckexperiment=Experiment('test-conversion','a',[Metric(1,'Click-through Rate','count(test_unit_type.unit.click)','count(test_unit_type.global.exposure)'),],[SrmCheck(1,'SRM','count(test_unit_type.global.exposure)')],unit_type='test_unit_type')# This gets testing data, use other Dao or get aggregated goals in some other way.fromepstats.toolkit.testingimportTestDatagoals=TestData.load_goals_agg(experiment.id)# evaluate experimentev=experiment.evaluate_agg(goals)evcontains evaluations of exposures, metrics, and checks. This will provide the following output.ev.exposures:exp_idexp_variant_idexposurestest-conversiona21test-conversionb26ev.metrics:exp_idmetric_idmetric_nameexp_variant_idcountmeanstdsum_valueconfidence_leveldifftest_statp_valueconfidence_intervalstandard_errordegrees_of_freedomtest-conversion1Click-through Ratea210.2380950.43643650.950011.143290.56568540test-conversion1Click-through Rateb260.2692310.45234470.950.1307690.2231520.824461.181370.58600843.5401ev.checks:exp_idcheck_idcheck_namevariable_idvaluetest-conversion1SRMp_value0.465803test-conversion1SRMtest_stat0.531915test-conversion1SRMconfidence_level0.999000InstallationYou can install this package viapip.pipinstallep-statsRunningYou can run a testing version of ep-stats viapython-mepstatsThen, see Swagger onhttp://localhost:8080/docsfor API documentation.ContributingTo get started locally, you can clone the repo and quickly get started using theMakefile.gitclonehttps://github.com/avast/ep-stats.gitcdep-stats
makeinstall-devIt sets a new virtual environmentvenvin./venvusingvenv, installs all development dependencies, and setspre-commitgit hooks to keep the code neatly formatted withflake8andbrunette.To run tests, you can useMakefileas well.sourcevenv/bin/activate# activate python environmentmakecheckTo run a development version of ep-stats dosourcevenv/bin/activatecdsrc
python-mepstatsDocumentationTo update documentation runmkdocsgh-deployIt updates documentation in GitHub pages stored in branchgh-pages.InspirationSoftware engineering practices of this package have been heavily inspired by marvelouscalmcode.iosite managed byVincent D. Warmerdam.
Package: eptest
Entry Point TestingThis module is designed to provide a strictly in-code implementation of MetaPathFinder that can be leveraged in unit
testing in order to simulate an entry point being created, as would be loaded byimportlib.metadata.entry_points()in Python 3.8+ or byimportlib_metadata.entry_points()in earlier versions.Requests for additional functionality aimed at testing plugin packages will be considered.UsageimportunittestimporteptestclassTest(unittest.TestCase):deftest_me(self):# Could move some of this to be a test fixture instead# Finder on sys.meta_pathfinder=eptest.TestFinder()# Add it to sys.meta_pathfinder.register()# Create a packagepackage=eptest.TestPackage("foobar")# Create entry pointspackage.add_entry_point(# Equivalent to a module with the following in setup.cfg:# [options.entry_points]# myep.group =#     foobar = myep.tests:test.attreptest.TestEntryPoint("foobar","myep.group","myep.tests","test.attr"))package.add_entry_point(# Equivalent to a module with the following in setup.cfg:# [options.entry_points]# myep.group =#     foobar2 = myep.tests:test.attr[bar]eptest.TestEntryPoint("foobar2","myep.group","myep.tests","test.attr",["bar"]))finder.add_package(package)# ... do tests# Call this to remove your foobar test packagefinder.remove_package(package)# Remove all packagesfinder.clear()# It is necessary to clean up sys.meta_path after your test case with this:finder.unregister()
Package: ep-tm
InstructionsCompleteActivity 14: Python Packagingand have a Python package deployed on PyPi. The name of your package does not have to be "example-package" but it most end with your name. The package could do anything you like (not necessarily what is done in the tutorial). You need to push a file nameexample.pythat illustrates a possible use of your package.Grading+3 I should be able to install your package using pip.+2example.pyuses the package and runts without any error.
Package: eptools
EasyPost ToolsHow to deploy to PyPiReference:https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56Manually change with new number in setup.cfg (increment it)Upload to PyPi
cd c:\EasypostLibrary\eptools
python -m build
python -m twine upload dist/*Afterwards install it globaly:pip install eptools==<version>E.g. "pip install -U eptools"add config.py of with following methods!
- slacktoken
Package: ept-python
ept-pythonPython library for making queries againstEntwine Point Tiledata.InstallUsing git and pip:gitclonehttps://github.com/hobu/ept-python.gitcdept-python
pipinstall.Using just pip:pipinstallgit+https://github.com/hobu/ept-python.gitUsageExample query and output to LasData object:importepturl='https://na-c.entwine.io/red-rocks'bounds=ept.Bounds(482298,#xmin4390602,#ymin1762,#zmin482421,#xmax4390690,#ymax2113#zmax)query=ept.EPT(url,bounds=bounds)las=query.as_laspy()print(las)<LasData(1.2, point fmt: <PointFormat(3, 4 bytes of extra dims)>, 98050 points, 4 vlrs)>Uninstallpip uninstall ept-pythonChangelogVersion 0.4.0Updated to laspy 2.0Added lazrs to requirementsFixed a bug where existing task cache was getting overwritten#2Added version limits to requirementsMinor PEP8 style changes
Package: eptransition
Python version of the E+ input file transition utilityDocumentationDocumentation is hosted onReadTheDocs.
Documentation includes installation and usage tips, as well as a full documentation of the code base. To build the
documentation, enter the docs/ subdirectory and executemake html; then open/docs/_build/html/index.htmlto see the documentation.TestingThe source is tested using the python unittest framework. To execute all
the unit tests, just execute the test file (since it callsunittest.main()):python test/test_main.py. The tests are also
executed byTravis
CI.Test CoverageCoverage of the code from unit testing is reported byTravistoCoveralls.
Anything less than 100% coverage will be frowned upon.InstallationThis package is deployed toPyPiand is available
viapip install eptransition. The wheel is also posted to theGithub Release
Pagefor
manual download/installation if desired.
Package: epub
This directory contains the 0.5.2 version of epub python library.Python Epub is free software. See the file LICENSE.txt for copying conditions.DownloadingPython Epub can be obtained in many different ways. You can both get it from
pip install or pip site, or clone latest version from bitbucket repository.# install from pip
pip install epub

# install latest version from repository (not recommended)
hg clone https://bitbucket.org/exirel/epub
cd epub
python setup.py installDocumentationThis library is documented with Sphinx, and all files can be found into “docs”.The documentation for version 0.5.2 is readable online athttp://epub.exirel.meand can be downloaded from bitbucket.The documentation for development version will be available
as soon as possible. However still it can be downloaded from bitbucket in
the development version.Development and bug reportThe source code is hosted on bitbucket. You can see it here:https://bitbucket.org/exirel/epubFork me if you want!
Package: epub2html
Fastest epub reader.WhyReading epub in PC is pain as hell. I have tried a lot tool likecalibreepubreader,Mac books,MarginNotefor quick and good view experience. However, some of the pifalls always exist in one or another.Loading is super slow for big epub because of splitted files.No smooth scrolling.I think most of the epub reader focus too much on the layout, instread of contents.
So I wonder. I have a web browser like Chrome which is a natural epub reader, and it's fast enough.
The basic idea is converting epub to a big html. Simple but effective.Tested platformMacWindowsUsagepipinstallepub2html
epub2htmlabc.epubwill open your converted epub html file in browser .Open with double click like normal file (mac)use automator, generate the app, create aRun shell scriptmodulesource ~/.bash_profile
/usr/local/bin/epub2html "$1"checkwhich epub2htmlin your bash to make sure it's the right path.
save it,
link the file with this app, You are good to go.Devpython3-mvenv--clear.p3envsource.p3env/bin/activatepipinstall-rrequirements.txtLastI won't follow thestandardto parse epub, since it's way too complicated. If some epub is not openable.Please make a PR ,or,sobmit the epub to the issues, I would fix it as soon as I can.
Package: epub2pdf
epub2pdfOverviewThis is a Python script for converting fixed-layout EPUB/MOBI files such as comics and manga to PDF file, which can be executed from the command line with some arguments.
This Python script only supports DRM-free EPUB/MOBI files of a specific format.RequirementThe script uses the Python librariesimg2pdfandpikepdfto do the conversion.
Moreover, it useslxmlto read the EPUB files andmobito handle both MOBI and AZW files.It requires the installation of these packages in order to work properly.UsageThe program can be executed from the command line with the following options:Theinput_pathargument is the path to the input file. To execute the Python script correctly, specify theinput_pathargument as the path to the input file containing manga or comic images in one of the supported formats, such asepub,mobi, orazw.Theoutput_pathargument is the path to the output PDF file. To use the script, simply run the Python script with the path to the input EPUB file as the argument. If the--outputoption is not specified, the output file name will be generated from the input EPUB file name.Thepagelayoutargument is the page layout of the PDF file. Thepagelayoutparameter can take in the following values:SinglePage-> Single page displayOneColumn-> Enable scrollingTwoPageLeft-> Spread viewTwoColumnLeft-> Spread view with scrolling(default)TwoPageRight-> Separate Cover, Spread ViewTwoColumnRight-> Separate Cover, Scrolling Spread ViewThedirectionargument is the reading direction of the PDF file. Thedirectionparameter can take in the following values:L2R-> Left Binding(default)R2L-> Right BindingBy default, the page layout is set toTwoPageRightand the reading direction toR2L, which are suitable for Japanese manga.There is a possibility that the script will not run correctly if an unexpected EPUB format is encountered, as the script may not be able to handle it correctly.Installing directly from the Git repositoryTo install the package directly from the Git repository, run the following command:$ pip install git+https://github.com/mashu3/epub2pdf.gitInstalling by cloning the Git repositoryTo install the package by cloning the Git repository, follow these steps:$ git clone https://github.com/mashu3/epub2pdf.git
$ cd epub2pdf/
$ pip install .ExamplesTo convertmy_manga.epubtomy_manga.pdfusing the default settings:$ python epub2pdf.py my_manga.epubTo convertmy_manga.epubtomy_manga_spread.pdfwith a spread view and right binding:$ python epub2pdf.py my_manga.epub -o my_manga_spread.pdfTo convertmy_comic.epubtomy_comic.pdfwith a TwoPage view and left binding:$ python epub2pdf.py my_comic.epub -o my_comic.pdf -p TwoPageLeft -d L2ROnce the arguments are given, the program will convert the EPUB file to PDF.CreditsKindleUnpackAuthormashu3
Package: epub2sphinx
epub2sphinxepub2sphinx is a tool to convert epub files directly into HTML sites usingPandocandSphinx.
It can use any of pre-existing Sphinx themes (likethese) for the generated HTML site.It uses Pandoc for converting HTML data inside epub files into ReST files and then uses Sphinx to convert them into a HTML site.It creates a directory structure similar to whatsphinx-quickstartgenerates by default.Built duringFOSSHack 21to solvethis issue.InstallationInstall pandoc# On Ubuntusudoapt-getinstallpandoc# On Arch Linuxpacman-SpandocFor installing on other platforms, lookhere.Install epub2sphinxpipinstallepub2sphinxUsageUsage: epub2sphinx <epub_file_name> [-o <output_directory_path>] [-t <sphinx_theme_name>] [-b,--build|-B,--no-build] [-s|--serve] [-c] [-p <port_number>]

  This tool helps you to convert your epub files into sphinx format for a better reading experience.
  Kindly provide the epub file as the argument to this command.

Options:
  -o, --output-directory PATH   The name of the output directory where the ReST file will be generated.
                                Kindly make sure that the given directory is not existing already.
  -t, --theme TEXT              The name of the sphinx theme.You can check for the available themes at:
                                <https://www.sphinx-doc.org/en/master/usage/theming.html#builtin-themes>
  -b, --build / -B, --no-build  Build HTML from the generated ReST files using Sphinx.
                                Sphinx has to be installed for this to work.  [default: b]
  -s, --serve                   Build HTML using Sphinx and Serve the files on localhost.
                                Sphinx has to be installed for this to work.
  -c, --include-custom-css      Include the custom CSS and Fonts from the EPUB for the HTML output
  --overwrite                   Overwrite the output directory if present already
  -p, --port INTEGER            The port number on which the files will be served after conversion
  --version                     Show the version and exit.
  --help                        Show this message and exit.Exampleepub2sphinx -o out_dir -t classic my_book.epub

# To generate HTML files using Sphinx
cd out_dir
make htmlUsecaseepub2sphinx can be used to convert public domain or CC-licensed epub files into static web pages that allows people to read them online.
This will be useful for sites likeProject GutenbergorFreeTamilEbooks.
Eventhough Project Gutenberg has an option to read online, it is very plain.
Using Sphinx allows us to make use of anydefaultorcustomsphinx theme to make it look better.Screenshots of comparisonProject Gutenberg online readvs Sphinx generated outputContributingContributions are welcome.
Fork the repo and Create a PR with your changes.
If you are working on any of the existing issues, please add a comment on the issue to avoid duplicated effort.
Package: epub2txt
epub2txtConvert epub to txt with additonal utilsInstallationpipinstallepub2txt# pip install epub2txt -U  # to upgradeFixesMore resilent to mismatched tagsAddedepub2txt.content_titles, useful for creating metada when neededUsageFrom command line# convert test.epub to test.txtepub2txt-ftest.epub# browse for epub file, txt file will be in the same directory as the epub fileepub2txt# show epub book info: title and tocepub2txt-i# show more epub book info: title, toc, metadata, spine (list of stuff packed into the epub)epub2txt-m# show epub2txt versionepub2txt-Vpythoncodefromepub2txtimportepub2txt# from a url to epuburl="https://github.com/ffreemt/tmx2epub/raw/master/tests/1.tmx.epub"res=epub2txt(url)# from a local epub filefilepath=r"tests\test.epub"res=epub2txt(filepath)# output as a list of chaptersch_list=epub2txt(filepath,outputlist=True)# chapter titles will be available as epub2txt.content_titles if availableTODOBatch conversion of several epub files
Package: epubcheck
Python wrappers and CLI for EpubCheckA command line tool and lib that wraps EpubCheck for Python.IntroductionThe originalEpubCheckis the standard
Java based validation tool for EPUB maintained byDAISY Consortiumon behalf of theW3C, originally
developed by theIDPF.This package provides a Python libary and command line tool for convenient
validation of  EPUB files by wrapping the originalEpubCheck 4.2.6.Free software: BSD licenseInstallationIf you have Python on your system you can do the usual:$ pip install epubcheckYou must have Python & Java installed on your system. The original Java
EpubCheck command line client itself is bundled in thePyPipackage.This package is tested with Python 3.6 - 3.10 on Linux, Mac and Windows.
It should also work with PyPy.QuickstartCommand line usage examplesValidata all epub files in the current directory:$ epubcheckValidate a single EPUB file:$ epubcheck /path/to/book.epubValidate all files in /epubfolder and create a detailed Excel report::$ epubcheck /path/epubfolder --xls report.xlsShow command line help::$ epubcheck -hUsing epubcheck as a python libraryfromepubcheckimportEpubCheckresult=EpubCheck('src/epubcheck/samples/invalid.epub')print(result.valid)print(result.messages)Documentationhttps://epubcheck.readthedocs.io/en/latest/DevelopmentIntallpoetrycheckout this repository and run:poetry installChangelog[4.2.6] - 2021-11-06Bump versioning to match original epubcheck versionModernize packaging and CIFix xls and csv exportUpdated dependencies[0.4.3] - 2021-09-28Update the epubcheck.jar to v4.2.6Remove support for < Python 3.6[0.4.2] - 2019-08-07Update the epubcheck.jar to v4.2.2 (see:https://github.com/w3c/epubcheck/releases/tag/v4.2.2)[0.3.1] - 2016-04-20Added custom PY2/PY3 compat module and removed dependancy on six[0.3.0] - 2016-04-10Add commandline support with Excel batch reportingMoved development status from Alpha to Beta[0.2.0] - 2016-04-03EpubCheck results as native python objectsMore documentation[0.1.0] - 2016-04-01First release on PyPI.Authors & ContributorsTitusz Pan -https://github.com/tituszSean Quinn -https://github.com/swquinnCurtis Smith -https://github.com/csmithdCreditsEpubCheck is a project coordinated byIDPF. Most of the
EpubCheck functionality comes from the schema validation toolJingand schemas that
were developed byIDPFandDAISY. Initial EpubCheck development was largely
done atAdobe Systems.