Saravanan666/pypi-org huggingface dataset:
Package: effortless_bootstrap_web_form_monkey_patch
# Effortless Bootstrap Web/Form Monkey PatchBootstrap your old web/form.py forms!## SynopsisJust because web.py hasn't been updated since 2012 doesn't mean you have tosettle for outdated HTML layouts. Scrap that 2001-era table-based form layout,and use this module to create shiny, new Bootstrap 4-alpha forms!Two ways to be happy:1. Patch the old form classes.2. Use our backwards-compatible form classes.Either way, *you won't have to change a bit of your program logic.* It's ajust small change at the top of the program.## How To PatchTo update your old webforms, just import and use the `patch()` function.from effortless_bootstrap_web_form_monkey_patch import patchpatch()Now you can continue to use your old web.py forms normally.## How to Use Backwards-Compatible ClassesTo use all-new but all-backwards-compatible classes, just import this packageinstead of web.form.import effortless_bootstrap_web_form_monkey_patch as formNow you can continue to use your old web.py forms normally.## Remember to Update Your TemplatesOh yeah, make sure you update the templates to use Bootstrap. The mostimportant piece to remember is to wrap all Bootstrap items with a `.container`div.<div class="container"><form>$:form.render()</form></div>And of course you need the CSS. If you don't want to host it locally, use theirCDN by adding this piece to the header.<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">For more information on using Bootstrap 4-alpha, check out http://v4-alpha.getbootstrap.com/ .## Installationpip install effortless_bootstrap_web_form_monkey_patch## Inspiration- Bootstrap 4 alpha form documentation at http://v4-alpha.getbootstrap.com/components/forms/- Runtime patching was learned at https://tryolabs.com/blog/2013/07/05/run-time-method-patching-python/## AuthorJustin McGuire &mdash; <jm@landedstar.com> &mdash; <a href="https://twitter.com/landedstar">@landedstar.com</a> &mdash; http://landedstar.com## LicenseMIT License
Package: effortlesshtml
effortlessHTMLPython versionMake sure you're running python 3.11.xpython3 --versionorpython3.11 --versionInstall poetrycurl -sSL https://install.python-poetry.org | python3 -please referofficial docon how to install if the above doesn't workVerify and updatepoetry --version

sudo poetry self updateZsh auto completionpoetry completions zsh > ~/.zfunc/_poetrySet python version for poetry to usepoetry env use python3.11
poetry env info
poetry env info --pathSet up envInstall dependenciesTo install dependencies and setup the project run
make setupUseful git hook commandsThis commands adds a pre-commit hook that checks for format and lint and
adds a pre-push hook that checks for failing tests and type-checksmake git-hooksNOTE:These commands are added automatically via the setup command,
you don't need to run them unless a change has been made to the hook files
located ingit_hooks/directoryRun Testsmake testTo run test and clean test cache files, compiled python files, coverage files etcmake clean-testpypi packageIncrement versionDepending on the type of change use appropriate commandpoetry version major
poetry version minor
poetry version patch
poetry version prepatchSeepoetry version command referencefor more infoBuild a local packagemake packageBuild and upload package to test pypi for testingmake upload-testBuild and upload to pypimake uploadNOTE:Ifupload-testoruploadresults in an error saying400 File already existsYou probably need to increment the version string inpyproject.tomlfile
Package: effpassphrase
effpassphraseUses theEFF'slong word listto generate a high entropy passphrase.Installationpip install effpassphraseUsage$effpassphrase--helpUsage: effpassphrase [OPTIONS]Options:-c, --count INTEGER   Number of words in the passphrase.-s, --separator TEXT  Separator used between words in the passphrase.--help                Show this message and exit.$effpassphraseunfounded-zips-decorator-expectant-starch-variable
Package: eff-uper
eff-uperB1リーグのバスケットボール選手の貢献度を評価するために使われる数値(2016年から2021年度)
「EFF」と「uPER」を年度ごとに比較するPython PackageB1リーグスタッツ上記のサイトを参考にしています。Example of usepip install eff-uper
eff_uper 2021Please enter '2016, 2017, 2018, 2019, 2020, or 2021'.The horizontal axis is EFF and the vertical axis is uPER.
Package: e-filetypes-py
E-FileTypes-Py🌟 OverviewThe E-FileTypes-Py library allows you to integrate with E-FileTypes using any Python application.🧩 InstallationYou can install the library using pip:pipinstalle-filetypes-pyIf you would like to use a GUI, you can use theE-FileTypes Client App, which is available for download on Mac, Windows, and Linux.📄 DocsYou can view the Python specific docshere. These docs are updated on every new build of the app. These docs include a lot of info on how to use the library as well as some examples.🏎️ BenchmarksYou can view the benchmarkshere. I highly recommend you check them out, as they are very interesting, and the improvements are very significant.
Package: ef-image-processing
ef_image_processingDescription.
The package ef_image_processing is used to:
EF_Processing:
- Histogram matching
- Structural similarity
- Resize image
Utils:
- Read image
- Save image
- Plot image
- Plot result
- Plot histogramInstallationUse the package managerpipto install ef_image_processingpipinstallef_image_processingAuthorElpidioLicenseMIT
Package: efi-monitor
# efi-monitor
A simple utility to handle efi dump files.  These variables look something like/sys/firmware/efi/efivars/dump-type0-11-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0and cause me to get a message on boot that “Non-volatile memory is almost full” and blocks directly booting.## Usage`bash sudo su pip installefi-monitorefi-check# will list dump files if they existefi-clear# will delete dump files if they exist `### Usage Example`bashuser@machine:~$efi-check/sys/firmware/efi/efivars/dump-type0-11-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-10-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-9-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-8-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-7-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-6-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-5-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-4-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-3-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-2-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0/sys/firmware/efi/efivars/dump-type0-1-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0user@machine:~$sudo su [sudo] password for user:root@machine:~#efi-clear`
Package: efitness-sniper
eFitness.com.pl booking sniperThis small utility books trainings on eFitness.com.pl in your name. Be always first on list for your favourite training. Code basically allows my wife to always attend her favourite trainings :)Installationpip install efitness-sniperUsageCreate file.efitness.ymlin your home directory with:---
login_data:
  subdomain: modelarnia-bb-cms # this is a subdomain of club (example for http://modelarnia-bb-cms.efitness.com.pl)
  user: your_login_name # specify your account login
  password: your_password # specify account password

sniper_rules: # You can define as much rules as you want :)
# How much days script should look forward (if bigger - it traverses more calendar pages, so I recommend to set it n+1 day
# where n is maximum time before allowed registration) - minimum here is 3 (due to cancellation policy)
# lower values will be overriden to 3
  - look_ahead_days: 6 
    match: "BODY BALL" # Name of training - you can use part of name, eg. BALL will match BODY BALL
    day_of_week: 0 # Specify day of week that you are interrested in (0 - Monday)
    after_hour: 16:00 # Do not book trainings before 4PM
    before_hour: 21:00 # Do not book trainings after 9PM
  - look_ahead_days: 6 # Another training definition
    match: "TRX"
    day_of_week: 2
    after_hour: 18:00
    before_hour: 21:00Addefitnesscommand to your crontab - I recommend to not do it more often than 15min, so:*/15 * * * *LicenseMIT License
Copyright (c) 2020 Marek Wajdzik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: efj-parser
eFJ ParserAn electronic Flight Journal (eFJ) is a simple text file within which pilot
flight records are recorded in an inuitive, non-tabular way. As an example, a
couple of days flying for a Captain might look like this:2024-02-04
  G-EZBY:A319
  BRS/GLA 0702/0818 n:18 m
  GLA/BHX 0848/1037  # Diversion due weather
  BHX/BRS 1300/1341

  2024-02-05
  G-UZHI:A320
  BRS/FNC 0708/1045 n:6
  FNC/BRS 1127/1451 mFull details of the format may be found athttps://hursts.org.uk/efjdocs/format.html.This is a Python parser library for text files with this format. It converts an
eFJ into a list ofSector
objectsand a list
ofDuty Objects.
The web application athttps://hursts.org.uk/efj/makes use of this library
to create FCL.050 compliant HTML logbooks and summaries from an eFJ.
Package: efjtk
eFJ ToolkitAn electronic Flight Journal (eFJ) is just a text file containing personal
flight data using a simple, intuitive scheme that is easy for both computers
and humans to work with. It looks something like this:2024-02-04
  G-EZBY:A319
  BRS/GLA 0702/0818 n:18 m
  GLA/BHX 0848/1037  # Diversion due weather
  BHX/BRS 1300/1341

  2024-02-05
  G-UZHI:A320
  BRS/FNC 0708/1045 n:6
  FNC/BRS 1127/1451 mFull details of the format may be found athttps://hursts.org.uk/efjdocs/format.html.This is a set of tools for working with text files following this scheme. It
includes the ability to create FCL.050 compliant logbooks and summaries as
simple, standalone HTML files that can be viewed with any web browser and
further processed with spreadsheets, word processors, PDF converters etc. Full
documentation is available athttps://hursts.org.uk/efjtkdocs.The tools are written as command line filters, but a simple GUI front end is
also provided for those that prefer. The tools are also available hooked up to
a web application athttps://hursts.org.uk/efjif you prefer not to install
locally.
Package: efk-log
Efk-logQuick startCalled from where the project was launched.Installpip install efk-log==0.31: no trace-codepip install efk-log==0.5.0: add trace-codeEnLogs in json format are easily collected in es and can be easily indexed on top of kibana for related fields.Note that it is important to avoid index value conflicts, as different value types for the same index name can cause conflicts.Use the supervisor to guard the service processes started by gunicorn when starting a multi-process service, in conjunction with the supervisor's logging feature.file_path=Nonesupervisor-related parameters are sliced to avoid large log files.stdout_logfile_maxbytes = 50MB   ; max # logfile bytes b4 rotation (default 50MB)
stdout_logfile_backups = 10 ; # of stdout logfile backups (default 10)
stdout_logfile = /data/logs/efk-log/efk-log.logZhjson 格式的日志 方便收集到es中可方便对相关字段在kibana上面创建索引需要注意的是，要避免索引值的冲突，相同的索引名，数值类型不同就会造成冲突多进程启动 服务时候配合 supervisor 的日志功能使用，使用supervisor 守护gunicorn 启动的服务进程file_path=Nonesupervisor 相关参数 进行切分，避免日志文件太大stdout_logfile_maxbytes = 50MB   ; max # logfile bytes b4 rotation (default 50MB)
stdout_logfile_backups = 10 ; # of stdout logfile backups (default 10)
stdout_logfile = /data/logs/efk-log/efk-log.logFlaskLogJsonFormat(file_path=None, console=True, project='efk-log')Celeryfrom celery.signals import setup_logging

@setup_logging.connect
def set_log(*args, **kwargs):
    LogJsonFormat(file_path=None, console=True, project='celery-prd')Demofrom efk_log import LogJsonFormat

if __name__ == '__main__':
    LogJsonFormat(file_path=None, console=True, project='efk-log')

    import logging

    LOGGER = logging.getLogger(__name__)

    LOGGER.info('get user info', extra={'metrics': {
        'cid': 'xxxxxx'
    }})

    try:
        2 / 0
    except Exception as e:
        LOGGER.exception('except...', exc_info=e)

    LOGGER.error('error')
Package: eflow
eflowI designed this project to help make my life easier for my data science projects. It uses a combination of generating code in cell blocks (Check my testing/templates for example notebooks) and well designed objects for analysis and modeling. Currently it is far from done; (studying for GRE and have a full time job in my defense: ) ).This project was mainly designed for and in Jupyter-Lab. I don't know how well it works in Jupyter-Notebook.DocumentationCan be found by clicking on docs/build/html/index.html in eflow using sphinx or go tohttps://eflow.readthedocs.io/en/latest/index.html.Installation$pipinstalleflowOther commands/steps to make the project work properlyEnsuring the widgets work properly$jupyterlabnbextensionenable--pywidgetsnbextension--sys-prefix
$jupyternbextensionenable--pywidgetsnbextension--sys-prefix
$jupyterlabextensioninstall@jupyter-widgets/jupyterlab-manager
$jupyterlabclean
$jupyterlabbuildGetting natural language datasets setup. Start by opening up a Python Repl.$python
>>>nltk.download('wordnet')>>>nltk.download('words')>>>nltk.download('punkt')Project RequirementsPython >= 3.7Latest version's of the following packages:jupyterlabnumpypandasmissingnomatplotlibseabornsklearnkneedPillowtqdmpython-dateutilscikit-plotscipyipywidgetsipython_blockingnltk
Package: eflowcalc
eflowcalcis an open-sourcecalculatorof ecological streamflow
characteristics in Python. It is licensed under GNU GPL-3.0.
The package currently gives the Python scientific community access
to 159 ecologically relevant streamflow characteristics inventoried byOlden and Poff (2003). A key strength
ofeflowcalcis the vectorisation of all calculations (usingnumpy, and therefore C code in the
background) which makes for very efficient computation of the streamflow
characteristics.If you are usingeflowcalc, please consider citing the software as
follows (click on the link to get the DOI of a specific version):Hallouin, T. (XXXX). EFlowCalc: Ecological Streamflow Characteristics Calculator (Version X.X.X). Zenodo.https://doi.org/10.5281/zenodo.2566757Brief overview of the APIfromdatetimeimportdatetime,timedeltaimportnumpyasnpimporteflowcalcasefcdatetimes=[datetime(2010,1,1)+timedelta(days=d)fordinrange(3652)]streamflows=np.random.uniform(3,50,3652)drainage_area=120.7ma41=efc.calculator(efc.ma41,datetimes,streamflows,drainage_area)ma41,dh4,ra7=efc.calculator((efc.ma41,efc.dh4,efc.ra7),datetimes,streamflows,drainage_area)Streamflow characteristics availableThe streamflow characteristics currently available ineflowcalcare
as follows:Magnitude of flow eventsAverage flow events:ma1,ma2,ma3,ma4,ma5,ma6,ma7,ma8,ma9,ma10,ma11,ma12,ma13,ma14,ma15,ma16,ma17,ma18,ma19,ma20,ma21,ma22,ma23,ma24,ma25,ma26,ma27,ma28,ma29,ma30,ma31,ma32,ma33,ma34,ma35,ma36,ma37,ma38,ma39,ma40,ma41,ma42,ma43,ma44,ma45Low flow events:ml1,ml2,ml3,ml4,ml5,ml6,ml7,ml8,ml9,ml10,ml11,ml12,ml13,ml14,ml15,ml16,ml17,ml18,ml19,ml20,ml21,ml22High flow events:mh1,mh2,mh3,mh4,mh5,mh6,mh7,mh8,mh9,mh10,mh11,mh12,mh13,mh14,mh15,mh16,mh17,mh18,mh19,mh20,mh21,mh22,mh23Frequency of flow eventsLow flow events:fl1,fl2,fl3High flow events:fh1,fh2,fh3,fh4,fh5,fh6,fh7,fh8,fh9,fh10Duration of flow eventsLow flow events:dl1,dl2,dl3,dl4,dl5,dl6,dl7,dl8,dl9,dl10,dl11,dl12,dl13,dl14,dl15,dl16,dl17,dl18,dl19,dl20High flow events:dh1,dh2,dh3,dh4,dh5,dh6,dh7,dh8,dh9,dh10,dh11,dh12,dh13,dh14,dh15,dh16,dh17,dh18,dh19,dh20,dh21Timing of flow eventsAverage flow events:ta1,ta2Low flow events:tl1,tl2High flow events:th1,th2Rate of change in flow eventsAverage flow events:ra1,ra2,ra3,ra4,ra5,ra6,ra7,ra8,ra9NoteThe computations implemented ineflowcalcare partially inspired
by the work ofHenriksen et al. (2006), howevereflowcalcis
neither endorsed by these authors nor by the U.S. Geological Survey.AcknowledgementEarly versions of this tool were developed with the financial support of
Ireland’s Environmental Protection Agency (Grant Number 2014-W-LS-5).
Package: efm8
Flash via AN945: EFM8 Factory Bootloader HIDsudo apt install libusb-1.0-0-dev libudev-dev python-dev
pip install efm8
efm8 firmware.hexAlso includes an example that resets ahttps://u2fzero.com/into the bootloader and flashes in one command.u2fzero firmware.hexAnd a way to (slowly) read the firmware backefm8_read firmware.hex
Package: efmtool
Python wrapper for efmtoolefmtool is a Java software for the enumeration of Elementary Flux Modes (EFMs)
developed by Marco Terzer at ETH Zurich. This package provides a simple Python
wrapper.Installationpip install efmtoolUsageThe wrapper provides two ways of calling efmtool:Through a simplified interface:efms=efmtool.calculate_efms(stoichiometry:np.array,reversibilities:List[int],reaction_names:List[str],metabolite_names:List[str],options:Dict=None,jvm_options:List[str]=None)This function directly returns a NumPy array containing all the EFMs of the
specified network (example).reversibilitiesis a list indicating whether a reaction is reversible (1)
or not (0). Note that irreversibilities are assumed to be in forward
directions. If a reaction is irreversible in the backward direction, it
should be reversed before calling efmtool. Default options can be obtained
throughget_default_options().Through a generic wrapper:efmtool.call_efmtool(args:List[str],jvm_options:List[str]=None)The wrapper simply calls efmtool passing the specified arguments.
Specifying, writing and reading input/output temporary files is
responsibility of the user.Seeconfig/metabolic-efm.xml, the documentation, or runjava -cp lib/metabolic-efm-all.jar ch.javasoft.metabolic.efm.main.CalculateFluxModes --helpfor more information about the available options.Known issuesAn (unknown) issue in the original Java software causes the wrapper to fail on operating systems with German/Austrian localization. If you obtainTypeError: buffer is too small for requested arrayconsider switching to a language without diaeresis/umlaut in the month names (Jän, Mär, ...).Cite usIf you use efmtool in a scientific publication, please cite our paper:Terzer, M., Stelling, J., 2008. "Large-​scale computation of elementary flux
modes with bit pattern trees".Bioinformatics. -linkCreditsefmtool is a software written by Marco Terzer (ETH Zurich).Python wrapper by Mattia Gollub (ETH Zurich).Thanks to Axel Theorell (ETH Zurich) for OSX compatibility fixes.
Package: efootprint
E-footprint modelA toolkit for exhaustively modeling the environmental impact of digital services.The current perimeter is the carbon footprint associated with the fabrication and usage of servers, storage, network (usage only) and end user devices necessary for the existence of a digital service. Other environmental impacts (water, rare earth metals, etc.) will be added soon through an integration with theBoavizta API, and the lifecycle phases of device transportation and end of life are currently considered negligible.Getting startedDidactic interfaceYou can explore the model’s didactic interface atthis link. This interface allows for a limited use of the model (only one user journey on a single service when the code allows for an unlimited amount of objects) but is useful to discover the inputs and explore the calculation graphs (see below).Quickstartpip install efootprintYou can then run thequickstartscript to familiarize yourself with the object logic and generate an object relationship graph and a calculation graph as html files in the current folder.Object relationships graph: usage pattern in wheat, user journey in gold, user journey steps in khaki, hardware in darkred, and service in blueCalculation graph: user inputs in gold, hypothesis in darkred, and intermediate calculations in pale blue. Hover over a node to read the formula.Dev setupCheck outINSTALL.md.Code logicThe code has been architectured to separate modeling from optimization from API logic. The goal is to make contribution to the modeling logic as straightforward as possible.Scripts that deal with modeling logic are located inefootprint/core.Optimizations (having the model rerun the right calculations whenever an input attribute or a link between objects changes) are dealt with inefootprint/abstract_modeling_classes.The API doesn’t exist yet but will be also decoupled from the modeling and optimization logics.ContributingCheck outCONTRIBUTING.mdLicenseGNU Affero General Public License v3.0