Saravanan666/pypi-org huggingface dataset:
Package: ebook-convert-helper
calibre-ebook-convert-helperA helper CLI for calibre's ebook-convert CLI which is used to convert all files in an directory into another format.Calibre needs to be installed to use this CLI.Supported sites which are compatible with Calibre can be found here:https://manual.calibre-ebook.com/generated/en/ebook-convert.htmlTo report issues for the CLI, open an issue athttps://github.com/arzkar/calibre-ebook-convert-helper/issuesInstallationFrom pip (Recommended)pip install -U ebook-convert-helperFrom Github Source (Pre-release, for testing new features by Beta testers)pip install git+https://github.com/arzkar/calibre-ebook-convert-helper@mainUsage> ebook-convert-helper --help
usage: ebook-convert-helper [-h] -i INPUT_FORMAT -o OUTPUT_FORMAT --dir
                                    DIR [--delete-file] [-r] [--verbose] [--debug]
                                    [--log] [--version]

A helper CLI for calibre's ebook-convert CLI which is used to convert all files in an directory into another format.

Calibre needs to be installed to use this CLI.

Supported sites which are compatible with Calibre can be found here: https://manual.calibre-ebook.com/generated/en/ebook-convert.html

To report issues for the CLI, open an issue at https://github.com/arzkar/calibre-ebook-convert-helper/issues

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT_FORMAT, --input-format INPUT_FORMAT
                        Input format
  -o OUTPUT_FORMAT, --output-format OUTPUT_FORMAT
                        Output format
  --dir DIR             Absolute Path to the directory
  --delete              Delete all the files containing the Input format
  -r, --recursive       Convert all files from both the directory and its sub-directories
  --ignore              Read directories or files from .echignore which will be excluded from the conversion
  --verbose             Show ebook-convert's stdout
  --debug               Show the log in console
  --log                 Generate a log file in the current directory
  --version             Display version & quitExampleTo convert allmobifiles inside the directory~/Booksintoazw3ebook-convert-helper -i mobi -o azw3 --dir ~/BooksTo include all the sub-directories inside the--dirdirectory, use--recursiveebook-convert-helper -i mobi -o azw3 --dir ~/Books --recursiveTo delete the all the files with-i, --input-formati.e.mobi, use--deleteebook-convert-helper -i mobi -o azw3 --dir ~/Books --deleteTo ignore directories or files, use--ignorewhich will read the.echignorefile from the root directory specified by--dirand exclude its contentsebook-convert-helper -i mobi -o azw3 --dir ~/Books --ignoreNote.echignorefile needs to be in the root directory which is specified by--dir. Each directory or file needs to be in its own line and the path can either be relative or absolute.
Package: eBookOCD
Extensible utility to rewrite eBook content. Useful for fixing common mistakes
made by authors and publishers alike.MotivationWhile I like ebooks a lot, I am often disappointed with their technical quality, or lack thereof.
For example, I recently purchased a bundle of ebooks in a bout of nostalgia, to replace paper
editions long lost. Alas, the files are full of repeated typos, misspelled names, and so forth,
telling a sad tale of a publisher scanning in source material and not proofreading the result.Faced with this, I used to fix the errors I find manually, mostly using regular expressions.
This is a pain in the bum, even when employing Edit Books (a part of Kovid Goyal’s excellentCalibre). I therefore decided to write a piece of software to perform certain content rewrites
automatically. I also wanted to make the mechanism extensible by dynamically loading content
transformers at run-time. The result is eBookOCD. I hope that other people come up with either
their own ideas for transformers or with actual code that can be shared.InstallingeBookOCD requires Python 3.8 or higher, due to the language features used.
Installation files can be found onPyPI. In many cases, executingpip install eBookOCDin a command shell will suffice.Basic usageebookocd--helpDisplay all supported command line options, showing both full and abbreviated names.ebookocd source.epub--destdestination.epubRewrite source.epub content into a new file called destination.epub. The source file
will be unaffected. This is the recommended method of rewriting files.ebookocd file.epubRewrite the filein place, overwriting the existing content. You should only use this
method if your source file is version controlled, or if you have a backup available.ebookocd file.epub--unzipdestination_directoryCreate the specified directory and extract the source file’s content into it.
If the destination path already exists, execution will be aborted.ebookocd--zipdirectory destination.epubBundle the directory’s content as a compressed EPUB file. If the destination
file already exists, execution will be aborted.Advanced usageebookocd in.epub--destout.epub--transformmymodule.myfile.MyTransformerRewrites in.epub content into out.epub, using the specified transformer class
for content filtering.Content transformersContent transformers are Python classes used to process ebook content. They are loaded
dynamically at run-time, providing a mechanism to expand the functionality of eBookOCD
with third party transformer classes.If no transformer class is specified, the internal DefaultTransformer will be used. It
is primarily concerned with removing unnecessary spaces from text-type files, like HTML
and CSS.Transformers can modify the content in any desired fashion, the only condition being
that all methods ofTransformerMixin(seeAPI) are implemented. The transformerebookocd.transform.monty.WonderfulSpamis provided as a simple reference. This
example extends theDefaultTransformerclass, but you can opt to write code that
referencesebookocd.api.TransformerMixindirectly.LicenseCopyright © 2020 Ralph Seichter. Please see theLICENSEfile for details.
Package: ebookshelf
eBookshelfeBookshelf is a python script to take a eBook collection from calibre, and display it as a virtual bookshelf with books that open in your prefered reader on click.InstallationeBookshelf is distributed onPyPIas a universal wheel and is available on
Linux/macOS and Windows and supports Python 3 and PyPy.$ pip install ebookshelfLicenseeBookshelf is distributed under the terms of bothMIT LicenseApache License, Version 2.0at your option.
Package: ebooks-lister
eBooks ListerGet normalized metadata from paths with ebooksDocumentation:https://mattkatz.github.io/ebooks-listerGitHub:https://github.com/mattkatz/ebooks-listerPyPI:https://pypi.org/project/ebooks-lister/Free software: MITFeaturesTODOCreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: ebooksp
ebook介绍处理电子书的工具首次使用需安装calibre, 地址是https://calibre-ebook.com/download安装pip install ebooksp功能支持电子书互相转格式支持将电子书转成文本支持的电子书格式epubmobiazw3azw使用转换格式import ebooksp
 ebooksp.convert_format('xxx.mobi', 'xxx.epub')转换格式(批量转换)import ebooksp
 ebooksp.convert_format_many(['xxx.mobi', 'yyy.epub'], ['xxx.epub', 'yyy.azw3'])电子书转成文本import ebooksp
 text = ebooksp.to_text('xxx.mobi')
 print(text)
Package: ebook-utils
ebook-utilsA simple ebook utility program made in Python.usage: ebook-utils [-h] [-v] [-i INPUT] [-w | -W | -t | -m METADATA] [-f FILTER] [--metadata-list] [-o OUTPUT]InstallationTo install and use the package, you can usepip. First clone the package into your system and then install itcdebook-utils/
pipinstall.Then you can useebook-utilsin your terminal.ContributingIf you want to contribute, fork the repository and then clone it into your system. After that, create a virtual
environment and activate itcdebook-utils/
python-mvenvvenvsourceenv/bin/activateInstall all the package requirements by runningmakeinitFinally, you install the package withpipinstall-e.Then make your edits, commit, and create a merge request!Exampleebook-utils-wf.myclass-imyebook.epubAuthorsMichele LapollaLicenseThis project is licensed under the GNU GPLv3 License — seeLICENSEfor details.
Package: eboot
eboot-clieboot 额外提供一个命令行工具，可以简化 CodeRoot 编译流程，提高开发效率。特性安装下载 eboot 安装包，使用如下命令进行安装。pip install eboot-xxx.whl将 eboot 的安装路径加到环境变量中，即可全局使用。快速上手使用如下命令编译程序eboot build 3 100使用如下命令清理 CodeRooteboot clear
Package: ebosc
eBOSC: extended Better OSCillation DetectionOvervieweBOSC(extended Better OSCillation detection) is a toolbox (or a set of scripts) that can be used to detect the occurrence of rhythms in continuous signals (i.e., at the single trial level). It uses a static aperiodic ‘background’ spectrum as the basis to define a ‘power threshold’ that continuous signals have to exceed in order to qualify as ‘rhythmic’. As such, it leverages the observation that stochastic components of the frequency spectrum of neural data are aharacterized by a '1/f'-like power spectrum. An additional ‘duration threshold’ can be set up in advance, or rhythmic episodes can be filtered by duration following detection to ensure that detected rhythmic episodes have a rather sustained vs. transient appearance.DocumentationA project wiki for eBOSC is availablehere.MotivationTutorialVersion update/Legacy informationSimulation scripts and data files regarding the 2020 NeuroImage paper can be found athttps://github.com/jkosciessa/eBOSC_resources_NI2020.A MATLAB implementation can be foundhere.InstallationGet the latest development version using git:git clone https://github.com/jkosciessa/eBOSC_pyTo install this cloned copy, move into the cloned directory and run:pip install .The example files in the/datadirectory are stored inGit Large File Storage. To retrieve them install the lfs (git lfs install), and then get the files withgit lfs pull.To get started, see the example provided inexamples/eBOSC_example_empirical.ipynb. Data is based off a FieldTrip structure and conversion scripts to MNE-style format are provided in theexamplesdirectory.Problems?If you want to use the tool but encounter issues, or would like to suggest a new feature, feel free to open anissue.CreditsIf you find the method useful, please cite the following papers:Kosciessa, J. Q., Grandy, T. H., Garrett, D. D., & Werkle-Bergner, M. (2020). Single-trial characterization of neural rhythms: Potential and challenges. NeuroImage, 206, 116331.http://doi.org/10.1016/j.neuroimage.2019.116331Whitten, T. A., Hughes, A. M., Dickson, C. T., & Caplan, J. B. (2011). A better oscillation detection method robustly extracts EEG rhythms across brain state changes: The human alpha rhythm as a test case. NeuroImage, 54(2), 860–874.http://doi.org/10.1016/j.neuroimage.2010.08.064LicenseeBOSC is an extension of the BOSC library and partially uses scripts from the original toolbox. These functions are included in the 'external' folder of the current package.The eBOSC library (and the original BOSC library) are 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.The eBOSC library 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.
Package: eb-prune
A CLI tool to prune old versions of Elastic Beanstalk.Installationpipinstalleb-pruneUsageTo keep the last 100 versions available, simply runeb-prune 100. The
tool relies on the usual AWS CLI configuration as describedhere, specifically
on access key id, secret access key and region.$eb-prune--helpusage:eb-prune[-h][-d]versions_to_keeppositionalarguments:versions_to_keepThenumberofversionstokeep.optionalarguments:-h,--helpshowthishelpmessageandexit-d,--dry-runDryrun,donotdeleteversions.LicenseThis software is licnesed under the MIT licese (see theLICENSE.txtfile).TestingVarious linters are configured withpre-commit.
Those are run in CI inGitLab. To run locally, install
pre-commit and run it.ReleaseUpdate the version inVERSION, commit, tag and push. GitLab will do the
rest.AuthorNimrod Adar,contact meor visit mywebsite. Patches are welcome viagit send-email. The repository is located
at:https://git.shore.co.il/explore.
Package: ebrains-neuromorphic-platform-admin
# Client software for the EBRAINS Neuromorphic Computing Platform, developed by the Human Brain ProjectFor documentation, seehttps://electronicvisions.github.io/hbp-sp9-guidebook/For more information about EBRAINS, seehttps://ebrains.eu/For more information about the Human Brain Project, seehttps://www.humanbrainproject.eu/[![Build Status](https://travis-ci.org/HumanBrainProject/hbp-neuromorphic-client.svg?branch=master)](https://travis-ci.org/HumanBrainProject/hbp-neuromorphic-client)This software was developed in the Human Brain Project,
funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation
under Specific Grant Agreements No. 720270, No. 785907 and No. 945539 (Human Brain Project SGA1, SGA2 and SGA3).
Package: ebranch
ebranchTool for branching Fedora packages for EPEL$ ebranch
Usage: ebranch [OPTIONS] COMMAND [ARGS]...

  Tool for branching Fedora packages for EPEL

Options:
  --help  Show this message and exit.

Commands:
  dependencies  Commands for working with dependencies
  issues        Commands for issue tracker integration
  version       Display ebranch version information

$ ebranch dependencies
Usage: ebranch dependencies [OPTIONS] COMMAND [ARGS]...

  Commands for working with dependencies

Options:
  --help  Show this message and exit.

Commands:
  build-reqs             lists build requirements for a package
  calculate-chain-build  Calculate chain build
  find-cycles            Find dependency cycles
  is-branched            checks if a package is branched
  iterate                computes missing BRs for new top-level packages
  ls-branches            lists branches for a package
  missing-build-reqs     lists missing build requirements to build for a...
  unfold                 adds new missing BRs to the top-level list

$ ebranch issues
Usage: ebranch issues [OPTIONS] COMMAND [ARGS]...

  Commands for issue tracker integration

Options:
  --help  Show this message and exit.

Commands:
  file-request  file a branch requestPresentationPresented atCentOS Dojo FOSDEM
2022(slides,video).InstallationsudodnfinstallebranchLocal developmentMake sure you installrpmdistro-repoquery:sudodnfinstallrpmdistro-repoquerypython3-mvenv.venv-devsource.venv-dev/bin/activate
pipinstall--upgradepip
pipinstall-qbuild
makedistinstall
makeinstall
Package: ebr-board
ebr-boardRESTful interface for Elastic Build Results.UsageTo view the API documentation, start the server and go to to<url>/api/docs.Configurationebr-board usesVault-Anyconfigto read in its configuration, allowing it to access a Hashicorp Vault
instance for loading secrets. For more details refer to its documentation.In order to deploy a simple ebr-board instance, you will need two files:config.yamlandvault.yaml. Leavevault.yamlempty, as we will not use
secret loading from Vault-Anyconfig in this instance.config.yamlshould be formatted as follows:elastic:host:<elastic_url>port:9200timeout:20use_ssl:trueverify_certs:trueca_certs:/etc/ebr-board/elastic.crtindex:testspipeline*user:<elastic_user>pwd:<elastic_password>To change the default url prefix (/api) add a new key-value at the top level:url_prefix:"/new_prefix"To havenoprefix, provide an empty string, i.e.url_prefix:""`Dev ModeTo start in dev mode, runpython ebr_board/ebr_board.pyProduction ModeCan be invoked withebr_board:create_app(config_filename='/etc/ebr-board/config.yaml', vault_config_filename='/etc/ebr-board/vault.yaml', vault_creds_filename='/etc/ebr-board/vault.yaml', load_certs=True, reverse_proxy=True), for example from Gunicorn. You should configure it behind a reverse proxy - for more details see
any guide on configuring Flask servers for deployment. A Dockerfile pre-configuring Gunicorn is available in the root of the repository.AWS Lambda SupportThe application can be run in AWS Lambda by using thehandlerfunction in theaws_lambdamodule. In this case it should be installed with theaws_lambdaoptional dependencies, i.e.pip install ebr-board['aws_lambda'].
It expects that the configuration (the main configuration, vault configuration and vault creds) will be stored entirely as strings in the parameter
store. The way it processes these parameters can be configured with environmental variables:config_name: defaults toebr_board_configvault_config_name: defaults toebr_board_vault_configvault_creds_name: defaults toebr_board_vault_credsconfig_format: defaults toyamlFeaturesProvides abstraction to fetch:a list of builds from a given jobtests from a given jobaggregations of tests failuresAWS Lambda supportTodo:Improve test coverageFill in coverage of resourcesExpand aggregation/search functionalityCreditsThis package was created withCookiecutterand thetomtom-international/cookiecutter-pythonproject template.Changelog0.2.0 (2019-08-26)Removed support for Python 3.50.1.1 (2019-08-23)Added extras_require for aws_lambda0.1.0 (2019-08-22)Add aws lambda handlerClean up code to contain state better (for lambda compatability)0.0.1-dev (2019-07-05)First release on PyPI.
Package: ebr-connector
ebr-connectorSimple Python package to define a schema for build and test results to be stored in ElasticsearchTermsBuild: A single instance of a CI systems build/test execution. It should map to a single URL/URI/UID on a CI system.Build ID: The ID associated with a givenbuild(eg.1078929).Job: A collection of tasks that describe how abuildshould be run. Running ajobshould result in abuild. In Jenkins this maps to a job/project,
in Quickbuild this maps to a configuration (eg.cpp-tests,root/prod/main).Product: Name of product that a given build is associated with.Test Case: Individual tests (sometimes aggregrations of closely related tests in C++) with result informationTest Set: An aggregated collection of test cases, i.e. a suiteTest and Suite SeparationTests and suites have been separated into two arrays rather than having tests nested with suites in this schema in order to better support Grafana
(which has limitations on accessing nested information in ElasticSearch).Since the build results are stored in one document it is not possible to filter out for example failing test cases only. It is possible to filter build result
documents with failing tests only but the response received will as well contain the successful test cases.In order to reduce the amount of received data tests have been therefore separated into passed, failed and skipped arrays.Schema conventionsDue to the usage of nested types in the schema the Elasticsearch indexer needs to be informed about this. This is achieved by defining a so calledindex
template.To avoid modifiying the index template whenever the schema is modified we decided to usedynamic templatesto map the types dynamically
based on the following rules (applied in this order):Each field has to be prefixed withbr_Fields that should be not available for full text search (keyword) are suffixed with_keyand will be mapped to typekeyword.Fields that are nested are suffixed with_nestedand will be mapped to typenested.Fields that are counters are suffixed with_countand will be mapped to typeinteger.Fields containingdurationin their name will be mapped to typefloat.Fields of typestringget a raw field (except they are suffixed with_key) that can be used for non-full-text-searches and are limited to 256 characters.CreditsThis package was created withCookiecutterand thetomtom-international/cookiecutter-pythonproject template.Changelog0.1.0-dev (2019-04-10)First release on PyPI.
Package: ebrec
Requirementspython3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
python3 -m pip install --upgrade setuptools wheelDownload repository:git clone https://github.com/johanneskruse/pypi_template.gitUpload:Inpyproject.tomlyou can set the name of the pacakageRun the following to upload:Packaging Python ProjectsGenerating distribution archivesStand inside the project, i.e.cd pypi_templateNext build the package:python3 -m buildThis command should output a lot of text and once completed should generate two files in the dist directory:dist/
├── sampleproject-0.0.1-py3-none-any.whl
└── sampleproject-0.0.1.tar.gzUploading the distribution archivestwine upload dist/*Go tohttps://pypi.org/to see the package!Inspirationsetup.py vs setup.cfg in Pythonsample git repo projectPackaging Python ProjectsTODO:Setup with pyproject.toml fileNote that if you want to install packages in editable mode (i.e. by running pip install -e .) you must have a valid setup.py file apart from setup.cfg and pyproject.toml. TRY TO RUN INSTEAD: pip install -e . -f .Acronym Generator (help generate the name)https://acronymify.com/
Package: ebrow
READMEEchoes Data Browser (Ebrow) is a data navigation and report generation tool for Echoes v.0.51++.Echoes is a RF spectrograph software for SDR devices designed for meteor scatter and hosted on
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-2023 Giuseppe Massimo Bertani
and released under GPL v.3Echoes documentation can be found at:http://www.gabb.it/echoes/
Package: ebr-trackerbot
ebr-trackerbotFeaturesshownumber of test failures over a given periodtracka test for failures for a given periodlistactive tracking requestsRespond to private messagesRespond to@mentiononce integrated in a channelStore tracking information in ODBCInstallationInstall withpip install ebr-trackerbot.To install with support for ODBC databases (other than SQLite), usepip install ebr-trackerbot['db_support']. This will compile against the odbc
library, so that must also be installedincludingthe development package if you intend to use ODBC. On Ubuntu this can be done withsudo apt-get install unixodbc-dev.ConfigurationConfigure the vault authentication and vault credentials as described here:https://github.com/tomtom-international/vault-anyconfig#files-and-formattingProvide an empty file for both if you will not be using Vault.Provide the following required configuration via a YAML file:ebr-trackerbot:slack_token:slack API token (a secret value, should be stored in Vault)apiurl:url to ebr board api endpointOptional settings (also to be included in the ebr-trackerbot section):init_channel: a message will be posted in this channel at startup, must be set to an existing channel. Default is#test-slackbot.storage_backend: backend storage medium (memory or sqlite). Default is memory.sqlite_filename: sqlite filename path. Default is data.dbslack_message_template: custom slack message when test failed. Can contain these placeholders: {{test}} - test name, {{count}} - number of failures, {{period}} - time period. Default is an empty string.check_tests_delay: frequency in which to check for test failures, specified in seconds. Default is 8600 seconds (one day).log_level: sets the logging level. Seehttps://docs.python.org/3/library/logging.html#logging-levelsfor the level options. Default isERROR.Noteany entry can be stored in Hashicorp Vault using vault-anyconfig. Seehttps://github.com/tomtom-international/vault-anyconfig#main-configuration-filefor details.Run with Docker:By default, the Docker image assumes a combine vault configuration and credentials file namedvault.yaml. If you are not using Vault, this can be an
empty  file, otherwise see the configuration section above.docker run -e BR_URL=<br board url> -v ${pwd}/config.yaml:/etc/ebr-trackerbot/config.yaml -v ${pwd}/vault.yaml:/etc/ebr-trackerbot/vault.yaml tomtom-docker-registry.bintray.io/python/ebr_trackerbot python ebr-trackerbotRequirementspython3pip3odbcOptional, but required for using any database other than SQLiteLinux:unixODBCCreditsThis package was created withCookiecutterand thetomtom-international/cookiecutter-pythonproject template.Changelog0.0.1-dev (2019-07-19)First release on PyPI.0.1.0 (2019-08-13)Adds ODBC database support0.1.1 (2019-08-13)Fixes bug due to callback invocation on slack listenerCleans up project documentation