Saravanan666/pypi-org huggingface dataset:
Package: esa-local-llm
ESA Local-LLMDockerhubGitHubESA Local-LLM is allama.cppserver in Docker with OpenAI Style Endpoints that allows you to send the model name as the name of the model as it appears in the model list, for exampleMistral-7B-OpenOrca. It will automatically download the model from Hugging Face if it isn't already downloaded and configure the server for you. It automatically configures the server based on your CPU, RAM, and GPU. It is designed to be as easy as possible to get started with running local models.Table of Contents 📖ESA Local-LLMTable of Contents 📖Run with DockerPrerequisitesRun without NVIDIA GPU supportRun with NVIDIA GPU supportOpenAI Style Endpoint UsageShout OutsRun with DockerYou can choose to run with Docker orDocker Compose. Both are not needed. Instructions to run with Docker Compose can be foundhere.Replace the environment variables with your desired settings. Assumptions will be made on all of these values if you choose to accept the defaults.ESA_LOCAL_LLM_API_KEY- The API key to use for the server. If not set, the server will not require an API key.THREADS- The number of threads to use. Default isyour CPU core count minus 1.The following are only applicable to NVIDIA GPUs:GPU_LAYERS- The number of layers to use on the GPU. Default is0.MAIN_GPU- The GPU to use for the main model. Default is0.PrerequisitesDockerRun without NVIDIA GPU supportdockerpullexperian-sales-advisor/esa-local-llm:cpu
dockerrun-d--nameesa-local-llm-p8091:8091experian-sales-advisor/esa-local-llm:cpu-eTHREADS="10"-eESA_LOCAL_LLM_API_KEY=""Run with NVIDIA GPU supportIf you're using an NVIDIA GPU, you can use the CUDA version of the server. You must have theNVIDIA Container Toolkitinstalled if using NVIDIA GPU.dockerpullexperian-sales-advisor/esa-local-llm:cuda
dockerrun-d--nameesa-local-llm-p8091:8091--gpusallexperian-sales-advisor/esa-local-llm:cuda-eTHREADS="10"-eGPU_LAYERS="0"-eMAIN_GPU="0"-eESA_LOCAL_LLM_API_KEY=""OpenAI Style Endpoint UsageOpenAI Style endpoints available athttp://localhost:8091/by default. Documentation can be accessed at that url when the server is running. There are examples for each of the endpoints in theExamples Jupyter Notebook.Shout Outsggerganov/llama.cpp- For constantly improving the ability for anyone to run local models. It is one of my favorite and most exciting projects on GitHub.abetlen/llama-cpp-python- For making it easy to extend the functionality of llama.cpp in Python.TheBloke- For helping enable the ability to run local models by quantizing them and sharing them with a great readme on how to use them in every repository.Meta- For the absolutely earth shattering open source releases of the LLaMa models and all other contributions they have made to Open Source.OpenAI- For setting good standards for endpoints and making great models.Hugging Face- For making it easy to use and share models.As much as I hate to do it, I can't list all of the amazing people building and fine tuning local models, but you know who you are. Thank you for all of your hard work and contributions to the community!
Package: esa-ptr
ESA Planning Timeline Request (PTR) Python packageSince theRosetta mission,
ESA developed an XML-like syntax to create Planning Timeline Request (PTR) files.
These files allow the mission team member to design custom attitude spacecraft pointing.
It is readable byAGMandMAPPSsoftwares to detect spacecraft constrains violations,
power conception and surface coverage. It can also be used to compute custom spacecraft
attitude: quaterions, camera kernels (ck) and resolved PTR.
This format is used for theJUICE mission,
and can be tested on theJUICE pointing tool.This python package implements an object oriented approach to help the creation and parsing
of PTR files for the user, as well an interface to check JUICE PTR validity with AGM.🚧Disclaimer:This package is in beta stage and does not support all PTR implementations.
Please, open an issue to report any issue you may accounter.
⚠️ Currently this tool inbeta stage,do notuse it in critical environments.📚 DocumentationA detailed documentation can be found here:esa-ptr.readthedocs.io🐍 InstallationThis package is available onPyPIand could be installed with the python package managerpip:python-mpipinstallesa-ptrEven if this tool does not have any external dependencies, we recommend to use it in an isolated virtual environment (venvorconda env).🐛 Development and testingIf you want to contribute to the development and tests your changes before submitting a merge request,
you need to installPoetryand clone this repository:gitclonehttps://juigitlab.esac.esa.int/python/ptr.gitesa-ptr;cdesa-ptr/Install the package and its dependencies:poetry installThen, after your edits, you need to check that both linters are happy:poetryrunflake8
poetryrunpylintsrctestsand all the tests passed:poetryrunpytest🎓 RessourcesRosetta Flight Dynamics:RO-ESC-IF-5501_i3r4_RSGS_FD_ICD-2.pdf
Package: esapy
esapyA python implementation of esa.io APIThe main purpose of this package is implementation of easy uploading and sharing jupyter notebook to esa.io service.Description in Japanese:https://esa-pages.io/p/sharing/14661/posts/184/d983bd2e71ad35528500.htmlINSTALATIONInstall package$pipinstallesapyset credentials (for esa.io)generate esa.io token with read/write permission.make configuration in your environment variables
Environment variables:ESA_PYTHON_TOKEN,ESA_PYTHON_TEAM.
You can check your token usingesa configfrom command line.set credentials (for growi)generate tokenset environment variables
-GROWI_URL-GROWI_TOKENHOW TO USEPrepare .ipynb fileUpload your notebook$esauptarget.ipynbThis package uploads images, and uploads markdown file as a new post or update the previously uploaded post.access the new post and edit.If process fails due to a network problem, you can check byesa stats.Whether an ipynb file has been already uploaded can be checked byesa ls <filepath or dirpath>.
For list up all notebooks recursively,esa ls --recursive.DOCUMENTcommandsThis package registers following command line tools.esa up <input_filepath>upload your filesupported format: ipynb, tex, and mdesa configlist environs and configesa statsshow statistics of your teamThis command can be used for access test.esa reset <target.ipynb> [--number <post_number>]remove upload history by esapy in notebook filenew post_number can be assignedesa ls <dirname or filepath>show notebook list in the directory<dirname>can be abbreveated. Default is the current working directory.(deprecated) config fileUse environment variable instead of config file.The config file (~/.esapyrc) should be written in yaml format.
An example is shown below.token: your_token
team: your_teamTIPSCombination with fuzzy finders likefzfis useful.
For example,alias esafu='esa up --no-browser "$(esa ls | fzf | sed -r "s/(.+)\\| (.+)/\\2/")"'INSTALLATION for DEVELOPMENTsetup poetry on your environmentclone this repositorycd repo directorypoetry installgit checkout developFor Growi adminitoratorAllowdetailstag andopenattribute by configuration.
Allow guest user access by security configuration. Some APIs have bug related to authentication.LICENSECopyright (c) 2020 Kosuke MizunoThis package is released under the MIT license (seeLICENSEfile).
Package: esa-wiki
ESA-WikiExplicit Semantic Analysis based on WikipediaThis is a python library which contains code to 1) construct a semantic interpreter based on data from Wikipedia and 2) apply this to various kinds of texts.To construct an interpreter, first obtain a Wikipedia XML dump fromhttp://dumps.wikimedia.org/enwiki/Then runpython3 -m esa_wiki.xml_parse <file>with the downloaded file as its argument. This outputs some temporary files containing information on the words, links and articles encountered.Next, runpython3 -m esa_wiki.generate_indicesto generate lists of indices corresponding to unique words and articles encounteredFinally, runpython3 -m esa_wiki.matrix_builderto construct a very large sparse interpretation matrix. Each row corresponds to a unique word, each column to a 'concept', i.e. a Wikipedia article, and each entry is the TF-IDF score for word i in article j. The Matrix is saved in separate chunks to conserve memory.medium_wiki.xml can be used as an example file for demonstration/testing purposes, as it contains only the first 100 or so Wikipedia articles.cunning_linguistics.py then contains classes to perform text analysis and harvest tweets for analysis.
Package: esbanner
Program AciklamaBu modul ile programlarinize basit bir sekilde banner ekleyebilirsiniz.
Ayrica programlarinizi renklendirebilirsiniz.Program Kullanimesbanner.esLogo(“Programci Ismi”, “Program Ismi”, “Program Aciklama”)yadaesbanner.esLogo(“Programci Ismi”, “Program Ismi”, “Program Aciklama”, “clear”)
Package: esbench
Tool for benchmarking performance of Elasticsearch nodes.The two primary uses are for capacity planning (guessing how much oomph you
need to do what what you think you need to do), and for performance tuning
(trying out various index, mapping, and query settings in a consistent and
reproducible manner).An Elasticsearch index is composed of a set of 1 or more Lucene indexes
(designated as primary and replica ‘shards’ by ES). A single Lucene index is
the basic unit on which indexing and search operations are executed, and so
the performance of individual Lucene indexes largely determines the
performance of a cluster.The basic approach is to create an index with 1 primary and no replica shards
(a single Lucene index), load it with data, and periodically run
representative use patterns against it, recording observations, adding more
data until the performance drops below acceptable levels.This tool comes with ‘batteries included’ (ie large sample data set,
downloaded on demand). See the README.md file, or even better, the project’s
github page.
Package: esbmc-ai
ESBMC AIAI Augmented ESBMC processing. Passes the output from ESBMC to an AI model that allows the user to use natural language to understand the output. As the output from ESBMC can be quite technical in nature. The AI can also be asked other questions, such as suggestions on how to fix the problem outputted by ESBMC, and to offer further explanations.This is an area of active research.DemonstrationMore videos can be found on theESBMC-AI Youtube ChannelWiki (Initial Setup/Configuration/Usage)For full documentation, see theESBMC-AI Wiki. The README file contains quick setup instructions, however it is recommended to read the following two pages, to fully guide you on how to download, set-up and run ESBMC-AI.Initial Setup Wiki Page.Configuration Wiki Page.Usage Wiki Page.ContributingPull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.Keep the coding style consistent. Use theBlackcode formatter.Keep the righting style professional.Include comments and function doc-strings.Make sure to update tests as appropriate.AcknowledgmentsESBMC-AI is made possible by the following listed entities:ESBMCOpenAI Chat APITechnology Innovation InstituteHugging FaceLangchainLicenseGNU Affero General Public License v3.0
Package: esbmc-wr
esbmc-wrAESBMCwrapper thats allow to verify multiples files and functions on a single run.InstallationDependeciesYou must have ESBMC built and exported on yout PATH variable.Thisguidedescribe how build ESBMC.Install esbmc-wrFrom repoClone this repo:$ git clone https://github.com/thalestas/esbmc-wr.gitInstall using pip$ cd esbmc-wr 
$ pip3 install .From Pypi$ pip3 install esbmc-wrUsage1. Verify all.cfiles in a folder:In the project that you want to verify, run:$ esbmc-wr2. Configure ESBMC parameters:To set the ESBMC parameter, you should use-e:$ esbmc-wr -e "--unwind 1 --no-unwinding-assertions"3. esbmc-wr help$ esbmc-wr -h

usage: Input Options [-h] [-e ESBMC_PARAMETER] [-i LIBRARIES] [-f] [-v] [-r] [-d DIRECTORY] [-fl FILE] [-rp]

optional arguments:  
  -h, --help		show this help message and exit  
  -e ESBMC_PARAMETER, --esbmc-parameter ESBMC_PARAMETER  
                        Use ESBMC parameter  
  -i LIBRARIES, --libraries LIBRARIES  
                        Path to the file that describe the libraries dependecies  
  -f, --functions       Enable Functions Verification  
  -v, --verbose         Enable Verbose Output  
  -r, --recursive       Enable Recursive Verification  
  -d DIRECTORY, --directory DIRECTORY  
                        Set the directory to be verified  
  -fl FILE, --file FILE  
                        File to be verified  
  -rp, --retest-pointer  
                        Retest Invalid Pointer
Package: esbmtk
ESBMTK - The  Earth Sciences Box Modeling Toolkit"ESBMTK is a python library that aims to simplify typical box modeling
projects in the Earth-Sciences. It uses a declarative approach to describe models, and abstracts typical modeling tasks like gas-exchange and carbonate dissolution through python classes. See the manual athttps://esbmtk.readthedocs.io/en/latestfor installation instructions usage, and example code
Package: esbonio
Esbonioesbonio - (v.) to explainALanguage Serverthat aims to make it easier to work withreStructuredTexttools such asSphinxIt's still in early development, but already provides the following features.CompletionDefinitionsDiagnosticsDocument LinksDocument SymbolsHoverImplementationsInstallationThe Language Server can be installed via pip.Be sure to check out theGetting Startedguide for details on integrating the server with your editor of choice.$ pip install esbonio
Package: esbonio-lextudio
Esbonioesbonio - (v.) to explainALanguage Serverthat aims to make it easier to work withreStructuredTexttools such asSphinxIt's still in early development, but already provides the following features.CompletionDefinitionsDiagnosticsDocument LinksDocument SymbolsHoverImplementationsInstallationThe Language Server can be installed via pip.Be sure to check out theGetting Startedguide for details on integrating the server with your editor of choice.$ pip install esbonio
Package: esb-smart-meter-importer
ESB Smart Meter ImporterA small utility to extract power comsumption data from Ireland's national electrical grid provider.Table of ContentsInstallationUsageLicenseInstallationpip install esb-smart-meter-importerUsagefromesb_smart_meter_importerimportsmart_meter_usageusername="Your Email Address"password="Your Password"# Your Electricity Meter Numbermprn_number="100XXXXXXXXXXX"# If you don't know this, you can use any date *since* the meter was# installed. Any dates before, and an exception will be thrown.start_date="2023-06-01"# Imports is how much energy you bought from the grid (in kWh)# Exports is how much energy you sold to the grid (in kWh), but# presumedly only populated if you have Solar PV panels, etc.imports,exports=smart_meter_usage(username,password,mprn_number,start_date)print(imports)Bothimportsandexportsare dictionaries ofdatetime->float, representing your usage in kWh at a 30 minute granularity.{
    datetime(2023, 11, 10, 17, 0, tzinfo=datetime.timezone.utc): 0.142,
    datetime(2023, 11, 10, 17, 30, tzinfo=datetime.timezone.utc): 0.1285
}ESB collect the data, so this library cannot offer more than a 30 minute granularity. If you want near live data, you can investigate alternate methods of collection, via Shelly EM clamps.Licenseesb-smart-meter-importeris distributed under the terms of theMITlicense.
Package: esc
Checks your HTTP response has the expected status, throws an error if not:>>>response=esc.expect(404,requests.get("http://example.com"))esc.UnexpectedStatusCode:ExpectedoneofHTTP404,buthttp://example.com/returned200withcontent:<!doctypehtml>Why?Status code checks are ever so slightly easier.Unit test failure messages are far more helpful.Supported librariesCurrently supports the following:requests
Package: escalator-nyandams
Escalatorescalatoris a small "change point detection" Python library allowing to detect stagnation in the values of a signal, sort ofhorizontal steps.
Unlike all the change point algorithms I found, this one doesn't try to to find the moment where the change happens, but search for when the stagnation periods start and end.Inspired by theruptureslibrary.Installationpip install escalator-nyandamsExampleEscalatorRushparameters:cost: the cost functionmin_step_size: the minimal size of a stepmax_dist: distance at which we consider a point isn't in the current stepjump: ignore some indexes during the fitting of the data, the highest, the more indexes you'll jump over. Improve the speed of execution but reduce the execution time.cache_size: number of elements in the step at which moment we decide to use a cached value of the mean of the step instead of the cost function. Improve a lot the performances. On the worst
case with 50000 elements 129 seconds without cache, 0.8s with a simple cache of 100.importstep_detectionasescsignal:list=[0,0,0,0,0,0,0,0,0,0,15,30,31,29,30,30,29,32,45,70,70,71,69,72,70,70,70,75,78,85,85,90,95,100,100,100,101,100,101,100,100,100,99,100,100]cost=esc.DistanceMedianCost()algo=esc.EscalatorRush(cost=cost,min_step_size=3,max_dist=2,jump=1,cache_size=100).fit(signal)stair_steps=algo.predict()#  [(0, 10, 0.0), (11, 18, 29.833333333333332), (19, 27, 70.28571428571429), (33, 45, 100.0909090909091)]If steps are really close to each others, you can regroup them to have better results:importstep_detectionasesc...stair_steps=esc.group_steps(steps=stair_steps,signal=signal,gap=2,dist=1)You can then plot easily the result with your favorite package.
Package: escam-sliceselector
ESCAM Slice SelectorTool for selecting and saving individual slices in a DICOM scanFree software: MIT licenseDocumentation:https://escam-sliceselector.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-19)First release on PyPI.
Package: escam-toolbox
ESCAM ToolboxToolkit with radiomics utilities and UI compponentsFree software: MIT licenseDocumentation:https://escam-toolbox.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-19)First release on PyPI.
Package: escape-captivity
escape-captivityTable of ContentsAboutInstallationLicenseAboutThis is a tool designed to automate the process of solving captive portals, commonly found in public Wi-Fi networks.Currently solvers especially for multiple German railway providers are implemented.This tool is only intended to be used for educational purposes and should not be used in real-world scenarios,
as it may violate terms of sevice.
Use at your own risk, no liability is assumed.Installationpip install escape-captivityLicenseescape-captivityis distributed under the terms of theEUPL-1.2license.
Package: escapejson
JSON is not javascript.Many developers erroneously think that they can
just place the output ofjson.dumps(obj)inside<script>tags and be
good to go – but this is dangerously vulnerable to cross-site scripting
attacks from 2 important edge cases for how JSON differs from javscript: (1)
the handling of a literal</script>within script blocks, and (2) the
behavior of two pesky unicode whitespace characters.This very simple library provides a functionescapejson, and a Django
template filter of the same name.  The output ofescapejsonshould be safe
for inclusion in HTML<script>tags, and interpretation directly as
javascript.NOTE: this escaping is only “safe” if the input is a syntactically valid JSON
string.  The output is NOT safe if you pass it invalid JSON, whether from
untrusted JSON input or from a broken encoder.  This library does not validate
the correctness of the JSON it is fed.  Always use a conformant JSON encoder
(e.g.json.dumps) to ensure that the JSON is valid to start with.Installationpip install escapejsonCompatibilityv0.x: supports python 2.7 and 3.3, and Django < 3.0.v1.x: supports python 3.6+, and Django 1.11+.Django is not required for use.UsageExample API usage (with or without Django)import json
from escapejson import escapejson

my_obj = {'message': '</script><script>alert("oh no!")</script>'}
my_str = json.dumps(myobj)
my_safe_str = escapejson(my_str)Example Django templates usageFirst, add"escapejson"toINSTALLED_APPSin your project’ssettings.py.:# settings.py
INSTALLED_APPS = [
    ...,
    "escapejson",
    ...,
]Then, use theescapejsonlibrary and filter:{% load escapejson %}

<script>
    var my_obj = {{obj_or_str|escapejson}};
</script>This filter will attempt to JSON-encode any non-string object that is passed to it before
escaping, or just escape any string that is passed to it.What it protects against</script> attacksAny string containing a literal</script>inside javascript within HTML
script tags will be interpreted by modern browsers as closing the script tag,
resulting at best in broken scripts and syntax errors, and at worst in
full-blown XSS.  By escaping all/characters as\/(a valid optional
escape in the JSON spec), this is mitigated.U+2028 and U+2029Two funky unicode whitespace characters count as valid JSON, but cause syntax
errors in javascript.  This is mitigated by replacing the literal characters
with the strings\u2028and\u2029.
[reference]
Package: escape-py
Python CLIEscape's Command Line Interface for PythonInstall for developmentInstall Poetry globallyPoetry is apipreplacement which is very close tonpmin Node.js.python3.9 -m pip install poetrySet your Poetry default venv pathMore info:https://python-poetry.org/docs/configuration/#cache-dirYou can either use a global Virtual Env for all your Python projects such as:poetry config virtualenvs.path ~/.venvOr create a Virtual Env specific to your project:poetry config virtualenvs.in-project trueMain FunctionsMore info:https://python-poetry.org/docs/cli/Basic functions:poetry shell: Source the Virtual Env of the repopoetry install: Install all dependenciespoetry install --no-dev: Install all dependencies expect dev dependenciespoetry update: Update dependenciespoetry add my-depency: Add dependencyInstall Escape-CLI in editable mode in another projectTo install the CLI in the application Virtual Env on which you want to use the CLI in editable mode (meaning you will not need to reinstall it a each edit), simply run from the root of this directory:./scripts/install-in-venv.sh ../../path/to/my/.venv/bin/activateNote the path can be relative or absolute.
Package: escape-unk
escape-unkEscape unknown symbols in SentecePiece vocabularies.
This is particulary useful forMarianNMTtoolkit which does not support replacing unknown tokens with most attentive word in the source (seehere, thanks to @emjotde for the idea).InstallJust install it from PyPipip install escape-unkBackgroundThere are some scenarios where your machine translation model has to translate sentencences containing characters unknown for the SentencePiece vocabulary.
Neural models usually start to hallucinate, throw out garbage or just don't know hot to translate when an unknown character comes to the input.
In the cases where those characters simply need to be copied, escaping them to their hexadecimal representation, can be useful if the model manages to copy the escaped symbols.Escape Chinese characters in an English-German vocabulary is just like:echo"Beijing (Chinese: 北京) is the capital of the People's Republic of China"|escape-unk-mvocab.deen.spmBeijing (Chinese: [[e58c97e4baac]]) is the capital of the People's Republic of Chinaor escaping emojisecho"I ❤️ you"|escape-unk-mvocab.deen.spmI [[e29da4efb88f]] youSo instead of:echo"Beijing (Chinese: 北京) is the capital of the People's Republic of China"|marian-decoder-cmodel.config.ymlPeking (chinesisch: ) ist die Hauptstadt der Volksrepublik Chinawe will have:echo"Beijing (Chinese: 北京) is the capital of the People's Republic of China"|escape-unk-mvocab.deen.spm|marian-decoder-cmodel.config.ymlBeijing (chinesisch: [[e58c97e4baac]]) ist die Hauptstadt der Volksrepublik Chinaand the full pipeline withunescape-unk:echo"Beijing ..."|escape-unk-mvocab.deen.spm|marian-decode-cconfig.yml|unescape-unkBeijing (chinesisch: 北京) ist die Hauptstadt der Volksrepublik ChinaWARNING: if an escaped sequence is not correctly copied by the translator and generates an invalid sequence,
the character is omitted and substituted by an empty string.
If you want it to fail when this happens, use--strict/-smode withunescape-unkcommand.