Saravanan666/pypi-org huggingface dataset:
Package: lexoffice
python-lexofficeA Python library for interacting with the lexoffice Public APIFree software: MIT licenseDocumentation:https://lexoffice.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-11-26)First release on PyPI.
Package: lexorank-py
lexorank.pypython3-mpipinstalllexorank-pyNew RankfrompprintimportpprintfromlexorankimportBucket,middleprev=middle(Bucket.BUCEKT_0)ranks=[prev]for_inrange(9):ranks.append(prev.next())prev=ranks[-1]pprint(ranks)[<LexoRankvalue=0|i00000:base=36>,<LexoRankvalue=0|i0000g:base=36>,<LexoRankvalue=0|i0000w:base=36>,<LexoRankvalue=0|i0001c:base=36>,<LexoRankvalue=0|i0001s:base=36>,<LexoRankvalue=0|i00028:base=36>,<LexoRankvalue=0|i0002o:base=36>,<LexoRankvalue=0|i00034:base=36>,<LexoRankvalue=0|i0003k:base=36>,<LexoRankvalue=0|i00040:base=36>]Betweenfromlexorankimportbetween,parsea=parse("0|i00000:")b=parse("0|i00001:")mid=between(a,b)# <LexoRank value=0|i00000:i base=36>a=parse("0|i00000:")b=Nonemid=between(a,b)# = a.next()# <LexoRank value=0|i0000g: base=36>a=Noneb=parse("0|i00000:")mid=between(a,b)# = b.prev()# <LexoRank value=0|hzzzzk: base=36>
Package: lexos
The Lexos APIThe Lexos API is a library of methods for programmatically implementing and extending the functionality in theLexostext analysis tool. Eventually, the web app will be rewritten to use the API directly. The goal of this alpha stage of development is to reproduce (and in some cases extend) the functionality of the current web app.📖 DocumentationA full discussion of the use of the API can be found on theDocumentationwebsite.A suite of Jupyter notebooks demonstrating the functionality can be foundhere.⭐️ FeaturesLoads texts from a variety of sources.Manages a corpus of texts.Performs text pre-processing ("scrubbing") and splitting ("cutting").Performs tokenization and trains language models usingspaCy.Creates assorted visualizations of term vectors.Generates topic models and topic model visualizations usingMALLETanddfr-browser.An expanded set of features is planned for the future.⏳ InstallationpipinstalllexosTo update to the latest version, usepipinstall-UlexosBefore using Lexos, you will want to install its default language model:python-mspacydownloadxx_sent_ud_smThis is a minimal model that performs sentence and token segmentation for a variety of languages. If you want a model for a specific language, such as English, download it by providing the name of the model:python-mspacydownloaden_core_web_smFor information on how Lexos uses language models, seeTokenizing Texts.If you are working in another language or need a larger language model, you can download instructions for additional models from thespaCy modelspage.💝 ContributeBug reports and feature requests: Please useGitHub issues.Pull requests: Although we plan to accept pull requests in the near future, we are not yet accepting direct contributions from the wider community.
Package: lexpr
Lexpr: A simple logical expressions parserLexpr is a simple package containing a
logical expressions parser developed using a Lark grammar.The expressions may contain:entity identifiersthe binary operators|(or),&(and)the unary operator!(not).balanced pairs of round parenthesesInstallationThe package can be installed usingpip install lexpr.UsageA parser is created and used for parsing the text, as in the
following example:import lexpr
lp = lexpr.Parser()
lp.parse("(G1 & G2) | !G3")
#
# output:
#
#  Tree(
#    Token('RULE', 'start'),
#    [Tree(Token('RULE', 'entity'),
#      [Tree(Token('RULE', 'or_expr'),
#        [Tree(Token('RULE', 'entity'),
#          [Tree(Token('RULE', 'enclosed_expr'),
#            [Tree(Token('RULE', 'entity'),
#              [Tree(Token('RULE', 'and_expr'),
#                [Tree(Token('RULE', 'entity'), [Token('IDENTIFIER', 'G1')]),
#                 Tree(Token('RULE', 'entity'), [Token('IDENTIFIER', 'G2')])])]
#            )]
#          )]
#        ), Tree(Token('RULE', 'entity'),
#             [Tree(Token('RULE', 'not_expr'),
#               [Tree(Token('RULE', 'entity'), [Token('IDENTIFIER', 'G3')])]
#             )]
#           )]
#      )]
#    )]
#  )In case of an invalid string is passed to the parser, an
exception is raised:import lexpr
lp = lexpr.Parser()
lp.parse("G1 &")
# raises LexprParserError, unbalanced expression
lp.parse("G1 & G$")
# raises LexprParserError, invalid character in identifierImplementationThe grammar is contained in the filelexpr/data/lexpr.g.
The parser is in the modulelexpr/parser.py.
Errors raised by the module are defined inlexpr/error.pyand are instances of the classLexprErroror its
subclasses.HistoryThe package has been developed to support the parsing of the EGC format, for
expressing expectations about the contents of prokaryotic genomes. In this
format, groups of organisms can be combined using logical expressions of the
form parsed by this package. The main implementation of the format is based on
TextFormats, which, however does not support non-regular, indefinetly nested
expressions, such as the logical expressions parsed here. Thus the parsing of
this expressions has been developed separately in this package.AcknowledgementsThis package has been created in context of the DFG project GO 3192/1-1
“Automated characterization of microbial genomes and metagenomes by collection
and verification of association rules”. The funders had no role in study
design, data collection and analysis.
Package: lexref
LexRefLEgislative teXt REFerence extraction.The lexref package provides markup for references to legislative
texts of the European Union. The resulting markups are anchor
elements pointing to the corresponding articles, paragraphs, or
chapters within the lexparency document model.UsagefromlexrefimportReflectorreflector=Reflector('EN','markup')reflector('Article 2(1)')'Article <a title="Article 2(1)" href="#ART_2-1">2(1)</a>'Currently, this package supports three languages:
English (EN), German (DE), and Spanish (ES).
Package: lexsub
Setuppip3 install lexsub
Release: https://pypi.org/project/lexsub/BackgroundThe Lexical Substitution task involves selecting and ranking lexical paraphrases for a target word in a given sentential context. In the task, annotators and systems find an alternative substitute word or phrase for a target word in context.
The task involves both finding the synonyms and disambiguating the context.
To give an example:Context: The wine was too strong to drink.
Target Word: strong

Predicted Candidates (Ranked): 
powerful 
potent 
warm
hot 
solid 
hardPowerfulandpotentare much better replacements as indicated by
the score next to them as well. Whereas, all are viable
replacement candidates given the context from a language modeling
perspective.Now notice two important things that is interesting:Not all synonyms fit in the context.(direct lexical substitutions aka synonyms won’t always work)Not all words that fit in the context preserve the meaning
of the sentence. (LM score doesn’t always correlate)Datasets:A.Lexical Substitution:SEMEVAL-2007CoincoB.Word Sense Disambiguation:WICWSDReferences:SOTA-BERTPre-BERT-SOTA,MelamudPIC- KatrinSemBERT, AAAI 2020LIBERTMorgifier LSTM, ICLR 2020
Package: lexy
Lexy✨Lexyenables you to easily build and share data dictionaries to explain and document your data terminology using code.The name "Lexy" is inspired fromlexicographer (/ˌlɛksɪˈkɒɡrəfə/), the person who compiles dictionaries.Easily document your data objects and generate beautiful data dictionaries:importlexyasxyglossary=xy.Glossary()#Defining glossary termsglossary("name","name of the student")glossary("lastname","lastname of the student")glossary("age","age of the student",sensitivity="private")#Using the glossary to define pandas dataframeimportpandasaspddata=[['tom','bird',10],['nick','star',15],['juli','aston',14]]df=pd.DataFrame(data,columns=[glossary('name'),glossary('lastname'),glossary('age')])xy.display_docs(glossary)Beloved Features✨Lexywill be soon ready for your use-case:✔ Clear standard way to define data dictionaries using code.✔ Tracking of glossary usage throughout the code.✔ Display / Generate of documentation pages for your data glossaries.✔ Detection of similarity between the terms and warning about possible data dictionary issues.Validation of data dictionaries using defined templates and tools.✔ Import / export data dictionary from different formats (csv, excel, etc)AI Suggesting of metadata based on name and definition (personal data, data types, ...)Support for multiple backends (Memory, File, Redis, CloudFile...)Integration with Apache Atlas and Azure Purview.Publish data dictionary to lexyHub using the cli.
Package: lexz
lexzRemapping Variable Using Abstract Syntax Tree(AST)TutorialGenerate GraphViz Filepython-mlexz-ftest.py-ggraph.dotGenerate SVG Imagepython-mlexztest.py-ggraph.dot
dot-Tsvgoutput.svggraph.dot#in single linepython-mlexz-ftest.py-g/dev/stdout|dot-Tsvg-ooutput.svgDemoInputclassHelloWorld:def__init__(self)->None:try:self.a=3exceptException:self.b=3classHelloWorld2((child:=HelloWorld)):def__init__(selx)->None:selx.a=3foriinrange(10):self.for_=i@dfunc((decorator:=10))asyncdefxyz(self,a):asyncforiinrange(10):self.tesx=iasyncwithopen("test3.py","r")asf:print(f.read())lambdaho:123@(lambda:(call:=dfunc((arg:=2))))()defFunDec():data={'a':(a:=(b:=(c:=3)))}passdefdfunc(arg):deffunc(f):defexecute(*args,**kwargs):returnf(*args,**kwargs)returnexecutereturnfuncResult Graphviz( Dot Graph )
Package: ley
citadelA package for communicating with the Citadel backend.Installation$pipinstallcitadelUsageTODOContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensecitadelwas created by Miles van der Lely. It is licensed under the terms of the MIT license.Creditscitadelwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: leza-typewriter
Module: typewriterThis module provides a function that prints out text in a typewriter mannerdef typing(txt, text_speed=0.05):

    for char in txt:
        sys.stdout.write(char)
        sys.stdout.flush()

        if char != "\n":
            time.sleep(text_speed)

        else:
            time.sleep(text_speed + 0.3)

    else:
        sys.stdout.write("\n")text: Argument that will be printing to the terminaltext_speed: Specifies the time taken to pause after printing each character
Package: lf
LF DataThis project provides a set of useful tools for interacting with data taken from
the LF AWESOME receivers maintained by the LF Radio Lab at Georgia Tech. This
data is available publicly atWaldo World.InstallationRun the following to install:pipinstalllfExample Usageimportlf# Load an entire .mat filedata=lf.data.rx.load_rx_data("path_to_mat_file")# Load a specific variable or set of variablesvariables=["station_name","call_sign","data"]data=lf.data.rx.load_rx_data("path_to_mat_file",variables)# Create an LFData object from two mat files or dictionariesmat_files=["amplitudeNS.mat","phaseNS.mat","amplitudeEW.mat","phaseEW.mat"]data=lf.data.rx.LFData(mat_files)# Evaluate the quality of your data with the EvalLF objectdata_eval=lf.data.rxquality.EvalLF(data)
Package: lfc-blog
What is it?A simple Blog forLFCChanges1.0 beta 3 (2010-08-24)First final release1.0 beta 3 (2010-07-07)Changed: Cache keys are using CACHE_MIDDLEWARE_PREFIX nowChanged: Using image instead of get_image to prevent unnecessary hits on db1.0 beta 2 (2010-05-21)Improved cachingAdded license1.0 beta 1 (2010-05-17)Bugfix: Group blog entries by year and monthsBugfix: display entry text within archive viewHide comments for tag and archive view1.0 alpha 7 (2010-03-31)Several changes to work with lfc 1.0a71.0 alpha 6 (2010-02-14)Bugfix: display archive/tag view when blog is child of another objectBlog portlet: display publication date within archive view1.0 alpha 5 (2010-02-01)Added some caching1.0 alpha 4 (2010-01-26)Moved registration to new install methodUpdated german translations1.0 alpha 3 (2010-01-22)Some refactoring according to LFC 1.0 alpha 31.0 alpha 2 (2010-01-15)Some refactoring according to LFC 1.0 alpha 2Added german translations1.0 alpha 1 (2010-01-10)Initial public release
Package: lfc-portlets
IntroductionLFC Portlets are the default portlets forLFC, a Content Management System (CMS)
based on Django.SeeLFCfor more information.Changes1.0.1 (2014-06-26)Improves loading of WYSIWYG widgetRenames page_portlet.html to content_portlet.htmlAdds django-portlets toinstall_requires1.0 (2014-06-17)Initial public release
Package: lfc-skel
IntroductionA the moment lfc-skel provides one template to create a new LFC application.
More will follow (lfc-theme, lfc-buildout).UsageInstall lfc-skel using easy_install:$ easy_install lfc_skelYou should then be able to see a new lfc_app template available:$ paster create --list-templates

   Available templates:
     ...
     lfc_app:                   Template for a basic LFC application
     ...To create a new LFC application just type the following hit enter and answer
the questions:$ paster create -t lfc_appChanges1.0 alpha 2 (2010-01-26)Added templates folder to lfc_app1.0 alpha 1 (2010-01-26)Initial public release
Package: lfdata
LF DataThis project provides a set of useful tools for interacting with data taken from
the LF AWESOME receivers maintained by the LF Radio Lab at Georgia Tech. This
data is available publicly atWaldo World.InstallationRun the following to install:pipinstalllfdataExample Usageimportlf# Load an entire .mat filedata=lf.data.rx.load_rx_data("path_to_mat_file")# Load a specific variable or set of variablesvariables=["station_name","call_sign","data"]data=lf.data.rx.load_rx_data("path_to_mat_file",variables)# Create an LFData object from two mat files or dictionariesmat_files=["amplitude.mat","phase.mat"]data=lf.data.rx.LFData(mat_files)# Evaluate the quality of your data with the EvalLF objectdata_eval=lf.data.rxquality.EvalLF(data)
Package: lfdocs-conf
The purpose of this project is to allow LF projects a centralized location for
storing common project configuration.To use this a project should create a conf.yaml file in the same
directory as their conf.py. The minimal configuration forconf.pyis:from docs_conf import *The minimal configuration forconf.yamlfile is:---
project_cfg=myprojectDocs will load default configuration for ‘myproject’ from this package if it
exists, otherwise it will load basic configuration from Sphinx defaults.Configuration precedence for configuration is as follows:project/conf.pyproject/conf.yamldocs_conf/defaults/{project_cfg}.yamldocs_conf/defaults/default.yamldocs_conf/__init__.pyconf.pystructure and documentation:http://www.sphinx-doc.org/en/stable/config.htmlTODO[ ] Define the minimal set of config values to release initial version.These can probably come from ODL/OPNFV site conf.py files.[ ] Use sane defaults, and don’t error out if something is not set.We must import each config cleanly (if it doesn’t
exist, set None or something; like the function dict.get()).[ ] Create own documentation for project detailing use of ‘conf.cfg’file as some values will require subkeys given that they’re
dictionaries or expect a list of tuples.[ ] Setup and document section. With the documentation organized by section,the config should also contain these section and look for their values
under them.Sections:general (aka sphinx)projecti18nhtml_outputapple_helpepub_outputlatex_outputtext_outputmanpage_outputtexinfo_outputlinkcheckxmlcplusplus[ ] Configure pre-plugin sections, and reference by plugin listing.
Package: lfg3
lfg3Github repository:https://github.com/monokh/lfg3/Documentationhttps://monokh.github.io/lfg3/Getting started with your projectFirst, create a repository on GitHub with the same name as this project, and then run the following commands:gitinit-bmain
gitadd.
gitcommit-m"init commit"gitremoteaddorigingit@github.com:monokh/lfg3.git
gitpush-uoriginmainFinally, install the environment and the pre-commit hooks withmakeinstallYou are now ready to start development on your project! The CI/CD
pipeline will be triggered when you open a pull request, merge to main,
or when you create a new release.To finalize the set-up for publishing to PyPi or Artifactory, seehere.
For activating the automatic documentation with MkDocs, seehere.
To enable the code coverage reports, seehere.Releasing a new versionCreate an API Token onPypi.Add the API Token to your projects secrets with the namePYPI_TOKENby visitingthis page.Create anew releaseon Github.
Create a new tag in the form*.*.*.For more details, seehere.Repository initiated withfpgmaas/cookiecutter-poetry.
Package: lfilterpy
LfilterInstallationinstallation using pip:pip install lfilterpyHow to use?Create a python file and put the code bellow in :from lfilterpy.http.filter import Filter
Filter(<your_proxy_port>,<blocking_websites>,<what_will_be_seen_if_the_website_is_blocked>).start()Make sure of yourproxy server'sip is127.0.0.1orlocalhostand port is the proxy_port that you have just entered.Lastly, use a proxy mode in viewing websites.Run the program!!!ENJOYAuthor:dcloud347email:17864201683@163.com
Package: lfinancial
lfinancial is a Python package that generates financial fake data..-.    .----. .-. .-. .-.   .--.   .-. .-. .----. .-.   .--.   .-.    
} |    } |__} { | |  \{ |  / {} \  |  \{ | | }`-' { |  / {} \  } |    
} '--. } '_}  | } | }\  { /  /\  \ | }\  { | },-. | } /  /\  \ } '--. 
`----' `--'   `-' `-' `-' `-'  `-' `-' `-' `----' `-' `-'  `-' `----'How to install?pipinstalllfinancialHow to use it?fromlfinancialimportFinancialf=Financial()f.ssn()# 582-94-2808f.id_card()# 488258196409087762f.passport()# EG4130431f.nric()# SD44949622f.my_number()# 399495927695f.cn_name()# 于诚玲f.first_name()# Cakadiqf.middle_name()# Bavivf.last_name()# Hucacuqaf.kana_name()# ハジf.cellphone()# 13851695115f.area_code()# +86f.high_risk_country()# MAf.email()# q0o58mkgq3@gmail.comf.bank()# BANK OF CHINA (HONG KONG) LIMITEDf.currency()# CNYf.swift_code()# ABOCCNBJ040f.stock_exchange()# Hong Kong Stock Exchangef.ticker_symbol()# AAPLf.tz_identifier()# Asia/Bakuf.locale()# zh-CNf.product()# Sharesf.gender()# Cis Manf.industry()# Software & Servicesf.CVD()# 252f.CVV()# 748f.CID()# 207f.CAV()# 459f.CVC()# 767f.CSC()# 3473f.CVN()# 541
Package: lfi_url_encoding
# LFI URL EncodingA tool to encode URLs for LFI vulnerability.**Note**: this tool does not intend to encode all ASCII or UTF-8 characters but only those which are usefull for LFI testing.## RequirementsThis software was designed for Python 3, it mays work under Python 2.This software was tested with Python 3.4.1 and 3.5.2.This software uses those python libraries:- [argparse](https://docs.python.org/3/library/argparse.html)## Usage```usage: LFI-encoding.py [-h] (-s <string> | -d <string>) [-a] [-n]LFI-encoding - Encoding url for LFIoptional arguments:-h, --help            show this help message and exit-s <string>, --simple <string>Simple encoding-d <string>, --double <string>Double encoding-a, --advanced        Advanced encoding ('&', '+', '=')-n, --null_byte       Append a null byte```## ExamplesSimple encoding:```./LFI-encoding.py -s ../../../../etc/passwd%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2Fetc%2Fpasswd```Double encoding:```./LFI-encoding.py -d ../../../../etc/passwd%252E%252E%252F%252E%252E%252F%252E%252E%252F%252E%252E%252Fetc%252Fpasswd```Null byte:```./LFI-encoding.py -s ../../etc/passwd -n%2E%2E%2F%2E%2E%2Fetc%2Fpasswd%00```Advanced encoding vs normal:```./LFI-encoding.py -s 'context=config&file=conf.inc.php~' -acontext%3Dconfig%26file%3Dconf%2Einc%2Ephp%7E./LFI-encoding.py -s 'context=config&file=conf.inc.php~'context=config&file=conf%2Einc%2Ephp~```## Install- **Online**: run `pip install lfi_url_encoding`- **Offline**:+ Download [the archive](https://pypi.python.org/pypi?:action=display&name=lfi_url_encoding&version=1.0)+ Unpack the archive+ Go into the folder and run `python setup.py install`
Package: lfm
Last File Manageris a powerful file manager for the UNIX console.
It has a curses interface and it’s written in Python v3.4+.Some of the features you can find inlfm:console-based file manager for UNIX platforms1-pane or 2-pane viewtabsfiles filtersbookmarkshistoryVFS for compressed filestree viewdialogs with entry completionPowerCLI, a command line interface with advanced featuresfast access to the shelldirect integration of find/grep, df and other toolscolor files by extension [Andrey Skvortsov]fully customizable themes (colors)fully customizable key bindingssupport for filenames with wide chars, f.e. East Asian…and many others
Package: lfmcli
UsageThe Flow Manager client can be used as either library for packages
wishing to more easily access the Lumina Flow Manager functions or can
also be used as a command line interface tool to display LFM
information.lfm --helpInstallationThis library needs to be packaged into a source distribution and then
copied into a location that allows one of the packages that use it to
include it (i.e. on a web server like nginx).Creating the source distributionNeed to do the following to create source distributionRun the following command to make a source distribution$ make sdistCopy the resulting distribution to a web server$ cd dist
$ scp lfm-cli-2.0.0.tar.gz <webserver>:/web/dirRunning the teststests can be run on the package to ensure nothing has been broken$ make test
Package: lf-metric-emitter
lf-metric-emitterThis tool encapsulates the code needed to emit metrics to the Sasquatch InfluxDB
stack.https://sasquatch.lsst.io/index.htmlTo utilize this tool, two environment variables must be set:BENCHMARK_ENVshould be set to something consistent, for instance,github-ci,epic,local-desktop-1, etc.KAFKA_API_URLshould be set to the full url. See the Sasquatch documentation for the specific URL.You'll also need to manually create a Kafka topic to receive the metrics that are
emitted. Again, see the Sasquatch documentation for instructions.With the Kafka topic created, and the environmental variables, metrics can be emitted like so:# result from a timing bench mark
my_result = 42.0

emitter = Emitter(namespace='lsst.lf',
                 name='ssppIncubator.bench',
                 module='PPApplyColourOffset',
                 benchmark_type:'runtime',
                 benchmark_unit:'s')


emitter.set_value(my_result)
emitter.emit()This project was automatically generated using the LINCC-Frameworkspython-project-template.For more information about the project template see the For more information about the project template see thedocumentation.