Saravanan666/pypi-org huggingface dataset:
Package: llsmartcard-ph4
::_      _          _____                      _    _____              _| |    | |        / ____|                    | |  / ____|            | || |    | |  _____| (___  _ __ ___   __ _ _ __| |_| |     __ _ _ __ __| || |    | | |______\___ \| '_ ` _ \ / _` | '__| __| |    / _` | '__/ _` || |____| |____    ____) | | | | | | (_| | |  | |_| |___| (_| | | | (_| ||______|______|  |_____/|_| |_| |_|\__,_|_|   \__|\_____\__,_|_|  \__,_|Authors: Chad Spensky (chad.spensky@ll.mit.edu)Hongyi Hu (hongyi.hu@ll.mit.edu)Contents========-  examples/ Some example scripts on how to use the library to interactwith various smartcards-  docs/ Contains some useful documents when working with smart cardsthat define some of the APDUs and RIDs.Install=======-  Install `pyDes <https://pypi.python.org/pypi/pyDes/>`__ pythonlibrary-  Install `pyscard <http://pyscard.sourceforge.net/>`__ python library-  Install PC/SC >$ sudo apt-get install pcsc-tools pcscd-  To install all of these just run: >$ ./install\_dependencies.shUsage=====-  For developing your own smart card application using llsmartcard, seetemplate.py-  See ``examples/``Certificates============This section discusses how to work with the certificates on the CAC.-  Extract Certificates python cac\_crypto.py -x test-  Working with certs (Referenced from`here <http://www.devco.net/archives/2006/02/13/public_-_private_key_encryption_using_openssl.php>`__).-  Encrypt >$ openssl pkeyutl -encrypt -in -pubin -inkey [input publickey] -out [output file]-  Extract Public Key >$ openssl x509 -inform DER -pubkey -in [inputcertificate] > output.key-  Example using certs:$ echo "Hello World!" > input.txt$ python cac\_crypto.py -E -k test/cac/cac\_pki\_enc.pub -iinput.txt -o input\_encrypted.ssl$ python cac\_crypto.py -D -i input\_encrypted.ssl -c KEY\_PKI\_ENC-o input\_decrypted.txt -p 77777777Notes=====-  Certificates are returned in gzipped form. > $ gunzip [cert.gz]-  Certificates are in DER form > $ openssl x509 -inform DER -in [cert]> $ openssl x509 -issuer -email -startdate -enddate -inform DER -in[cert] > $ openssl x509 -inform DER -noout -text -in [cert]Disclaimer==========.. raw:: html<p align="center">This work is sponsored by the Defense Information Systems Agency underAir Force Contract #FA8721-05-C-0002. Opinions, interpretations,conclusions and recommendations are those of the author and are notnecessarily endorsed by the United States Government. © 2015Massachusetts Institute of Technology.. raw:: html</p>
Package: lls-trytond-sale-subscription-asset
This is a backport of the foundation module sale_subscription_asset
of the Tryton application platform.Please ensure that you use releases as other versions are likely to
not work.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonLicenseSee LICENSECopyrightSee COPYRIGHTFor more information please visit the Tryton web site:http://www.tryton.org/
Package: llsubtitles
Language learning application that uses openai's whisper to generate foreign language and English subtitles for videos simultaneously to help with language learning.Installation>pipinstallllsubtitlesUsageTo usellsubtitlesfirst you need a foreign language .mp4 file. I recommend usingyt-dlpto download content for language learning. Once you have a .mp4 file you can usellsubtitlesto generate subtitles for it.# Using chinese content for this example>llsubtitles--languageChinese--modelsmall--combined--definitions--pinyinexample.mp4--language: Refers to the language used by openai's whisper to generate subtitles.--model: The model used by whisper. Seetheir documentationfor more options.--combined: If this flag is used, the subtitles will be generated in both the foreign language and English.--definitions: If this flag is used, the subtitles will include definitions for the foreign language words.--pinyin: Optional flag for Chinese learners, if this flag is used, the subtitles will include pinyin for the Chinese words.Note, you should make sure that you have pytorch set up correctly to use Cuda if you're using an Nvidia GPU. Seepytorch's documentationfor more information. This will greatly improve performance.CreditsChinese English dictionary is courtesy ofcedict
Package: lltiler
lltilerThe Lat-Lon Tiler is a small tool to create map tiles in spherical Mercator projection for the use with online map libraries like Leaflet, OpenLayers, Mapbox etc...usageIn order to create tiles with lltiler, the user must provide a function which can compute colors for given pairs of latitude and longitude.
A typical example would be a function which interpolates an image onto the given latitudes and longitudes.
This method is used to generate the most detailed level of tiles in a first step.
In an optional second step, multiple tile sets generated usingLLTilercan be combined using theoverlay_tilesutility.
In the last step, coarsened tiles are generated in successive steps from the most detailed level up to global scale using thepyramid_steputility.
The second and third step can be executed automatically using thegenerate_tile_makefileutility and GNU make.1 generate detailed tilesA user supplied function and a lat/lon bounding box must then be handed to the render method of theLLTilerobject, which will then compute the necessary tiles and calls the given function repeatedly until all tiles have been generated.
An example is shown below:fromlltilerimportLLTilerimportmatplotlib.pylabaspltimportmatplotlib.colorbarlat_min=16.lon_min=45.lat_max=19.lon_max=48.cmap=plt.get_cmap("gray")deff(lat,lon):rel_lat=(lat-lat_min)/(lat_max-lat_min)rel_lon=(lon-lon_min)/(lon_max-lon_min)valid=(rel_lat>=0)&(rel_lat<1)&(rel_lon>=0)&(rel_lon<1)colors=cmap(rel_lat,bytes=True)colors[...,-1]=255*validreturncolorst=LLTiler("temp_maps/gray",size_hint=1000.)t.render(((lat_min,lon_min),(lat_max,lon_max)),f,show_progress=True)Note thatshow_progress=Trueadditionally requires thetqdmpackage.2 (optional) combine multiple overlapping tilesIf multiple tilesets have been generated using the first step and these tilesets should be combined to one tileset, theoverlay_tilesutility can be used to paint multiple images on top of each other.
This is of course only useful if the image which is painted on top contains transparent regions where parts of the lower image can be seen through.overlay_tiles<output_image><input_image_1><input_image_2>...<input_image_n>3 generate image pyramidTo generate coarser resolution images from detailed images, thepyramid_steputility can be used.
It takes up to four adjacent images (missing images are assumed to be entirely transparent) stacks these images together and generates a new image with half of the original resolution.pyramid_step<output_image><top_left><bottom_left><top_right><bottom_right>Missing images must be denoted by a-.automate steps 2 and 3Thegenerate_tile_makefileutility can be used to automate steps 2 and 3:generate_tile_makefile<base_level><input_folder><output_folder>|make-f--jbase_levelmust be the tile-level for which the tiles have been generated in step 1.input_foldermust be a folder which includes one folder per input tileset.output_folderis the folder into which the resulting tiles should be written.Note that in the above command generates a makefile which is directly passed to make and then executed in parallel.
Package: lltk
The Language Learning Toolkit combines several approaches such as natural language processing and web scraping to perform a variety of tasks useful for (human) language learning. This includes:Part-of-speech tagging (POS) supported by PatternPhonetic transcriptions in accordance with the International Phonetic Alphabet (IPA)Audiosamples (Forvo, Google Translate)Textsamples/Sample sentences (Tatoeba)Visual representations of a given word using Google ImagesConjugation of verbs (Present, Perfect, Past, Pluperfect, Future) supported by VerbixPluralization of nouns (accuracy depending on the language)Indefinite and definite articles for nouns (accuracy depending on the language)Comparative and superlative for adjectivesBasic gender detection for nouns
Package: ll-toxic
This package is no longer maintained separately. It is now part of ll.xist
(http://pypi.python.org/pypi/ll-xist).ll-toxic is an XIST namespace that can be used for generating
Oracle database functions that return XML strings. This is done
by embedding processing instructions containing PL/SQL code
into XML files and transforming those files with XIST.Changes in 0.10 (released 01/07/2008)Adapted to XIST 3.0.
Package: lluv
# L.L.U.V.The **LLUV** machine (or Linux Live Usb Vending) machine is a service that allows <br />users to select an image from a repository and write it to a usb storage device with <br />an easy to use user interface. The backend uses DD so use with care. If the usb device <br />is allocated and writable, a block size will automatically be generated for  <br />optimal performance.**LLUV** was originally designed to run in a kiosk fashion, and read from large lists of images, both <br />local and remote.<br />Note: The DD process is completely isolated from LLUV, therefor, if a drive is corrupted, <br />it was probably DD's alter ego; Disk Destroyer.# Dependencieslsscsi - for discovering usb storage devices <br />DD - for writing the image <br />Awk - for testing mount location <br />Note: lluv_simple_cli has no dependencies besides dd itself# RunNote:_lluv needs root for storage device access_ <br />To start the lluv console run:<br />**sudo lluv.lluvconsole**  This will allow an option of interfaces along with automatic<br />terminal resizing. <br />**sudo lluv.cli**  <br />**sudo lluv.tui** Note: Terminal will not be auto resized without using lluvconsole so<br />the application may crash if the terminal is to small.<br />**sudo lluv.simple_cli.py** A simple lluv cli. Basically a simplified dd with a progress bar <br /># The TUIWritten using the [npyscreen](https://github.com/pfalcon-mirrors/npyscreen "npyscreen") library.The TUI was designed to be used as a kiosk and therefore has no quit option <br />(use CTRL-C) and must be used in larger terminal formats.# Configuration fileEdit values such as the path to the images, drives to ignore, leeway in recommended <br />drive capacity, and more.# Image CategoriesBy default, Images in the image directory specified in the config will be put in the No-Category <br />category. To create Image categories, create a subdirectory and place images of said category inside. <br />For example, placing fedora images in the directory /"default img path"/Fedora would render them in the <br />"Fedora" category. Categories will be sorted alphabetically.# Compatible Operating SystemsLinux# Current Version: 1.21.2 = 1/26<br />- lluv console <br />- auto term resize <br />1.1 = 1/19<br />- .lluvrc<br />- bug fixes<br />- code cleanup<br />1.0 = 1/18<br />- prototype<br />
Package: llvd
Table of ContentsLinkedin Learning Video Downloader (LLVD) download linksFeaturesPrerequisitesInstallationWindows UsersCommon questionsHow do I find the course slug?Cookie-based authenticationExamplesAccessing llvd documentationUsing cookie-based authenticationDownload a course at a specific resolutionDownload a course with subtitlesDownload a course path with throttling between 30 to 120 secondsScreenshotsAuthorLinkedin Learning Video Downloader (LLVD) download linksFeaturesStatusFeature✅cookie-based authentication✅download by learning path✅download a course and all its exercises✅group videos by chapters✅subtitles✅nice progress bar✅resume failed downloads✅skip already downloaded videos✅set video format (360p, 540p, 720p)✅all platformsPrerequisitesPython 3Installation$ pip --no-cache-dir install llvdIf you have multiple versions of python installed in your system, usepip3instead.$ pip3 --no-cache-dir install llvdRunning from local installationllvd --help
llvd -c "course-slug" -r 720Running from docker container# You will need to either use `docker cp` to get the course or mount it when running.
docker run ghcr.io/knowbee/llvd:master -c "course-slug" -r 720Windows UsersWhen you get'llvd' is not recognized as an internal or external commandafter successfully installingllvd, runpython3 -m llvd <flags>Common QuestionsHow do I find the course slug?Click on the desired courseYour URl will look something like,https://www.linkedin.com/learning/l-essentiel-d-asp-dot-net-core-pour-dot-net-5The course slug is:l-essentiel-d-asp-dot-net-core-pour-dot-net-5How do I setup cookie-based authentication?Click on the options in Google Chrome (top right with 3 vertical dots).Click onMore tools->Developer toolsYou can also reach here by using the keyboard combination:ctrl+shift+I).Now once you’ve gained access to the developer tools, navigate to the Application tab, and copy the value of two cookies namedli_atandJSESSIONIDCreate a file namedcookies.txtand place it in the folder you want to download your courses toOpen thecookies.txtfile and paste in the values ofli_atandJSESSIONIDli_at=xxxxxJSESSIONID="ajax:xxxxxx"ExamplesAccessing llvd documentation$ llvd --helpUsing cookie-based authentication$ llvd -c "course-slug" --cookiesDownload a course at a specific resolution$ llvd -c "course-slug" -r 720Note: The default is set to 720.Download a course with subtitles$ llvd -c "course-slug" --captionor$ llvd -c "course-slug" -caDownload a course path with throttling between 10 to 30 secondsTo avoid rate limits because of downloading a lot of videos, use the following:$ llvd -p "path-slug" -t 10,30ScreenshotsAuthorIgwaneza Bruce
Package: llvm-demangle
LLVM-DemanglePyhton wrapper around llvm::demangle.RequirementsCythonllvmg++Install$pipinstallllvm-demangleor$gitclonehttps://github.com/MNayer/llvmdemangle
$cdllvmdemangle
$pipinstall.UsageWithin python>>>fromllvmdemangle.demangleimportllvm_demangle>>>llvm_demangle("_Z5isinfUa9enable_ifILb1EEd")isinf(double)[enable_if:true]or via the command line interface$demangle_Z5isinfUa9enable_ifILb1EEd
isinf(double)[enable_if:true]
Package: llvm-diagnostics
llvm-diagnosticsPython module for creating diagnostics using the LLVM diagnostics specificationInstallation%pipinstallllvm-diagnosticsUsageParsing a log file containing LLVM Diagnostics messagesParsing a logging file can be done as follows:fromllvm_diagnostics.parserimportdiagnostics_messages_from_fileforerrorinlist(diagnostics_messages_from_file("test/resources/test.out")):print(f"Diagnostics Message found:")print(f"  File:{error.file_path}")print(f"  Level:{error.level}")print(f"  Message:{error.message}")Which will result in output similar to:DiagnosticsMessagefound:File:/code/supermarket-buyer-supplier/src/offers/convert_customer_receipt.cppLevel:DiagnosticsLevel.WARNINGMessage:'fruit_section'isdeprecated:2021.Q2DeprecatedUseapplication::supermarket_app::receipt_engine::receipt::FruitInformation::fruit_section_labels[-Wdeprecated-declarations]Reporting on Diagnostics messagesYou can usellvm-diagnosticsto create your own Diagnostics messages.Reporting a message in LLVM Diagnostics formatimportllvm_diagnosticsasloggermessage=logger.Warning(file_path='fake_file.py',line_number=logger.Range(start=10),column_number=logger.Range(start=15,range=3),line="mPercentage = 105",expectations="100",message='Value exceeds maximum, automatically capped to 100',).report()This will result in the following message onstderr:Reporting a message in GitHub formatimportllvm_diagnosticsasloggerlogger.config(logger.formatters.GitHub())message=logger.Warning(file_path='fake_file.py',line_number=logger.Range(start=10),column_number=logger.Range(start=15,range=3),line="mPercentage = 105",expectations="100",message='Value exceeds maximum, automatically capped to 100',).report()This will result in the following message onstderr:::warningfile=fake_file.py,line=10,col=15,endColumn=18::Valueexceedsmaximum,automaticallycappedto100
Package: llvm-installer
llvm-installerhttps://pypi.org/project/llvm-installer/Helps installing pre-built LLVM packages for various operating systems.Usage as moduleGetting LLVM installation URL for a particular OS/version/architecture.fromllvm_installerimportLlvmInstallerimportsys_detectionlocal_sys_conf=sys_detection.local_sys_conf()llvm_installer=LlvmInstaller(short_os_name_and_version=local_sys_conf.short_os_name_and_version(),architecture=local_sys_conf.architecture)llvm_url=llvm_installer.get_llvm_url(major_llvm_version=major_llvm_version)Command-line usagepython3-mllvm_installer
Package: llvmlite
A Lightweight LLVM Python Binding for Writing JIT Compilersllvmlite is a project originally tailored forNumba’s needs, using the
following approach:A small C wrapper around the parts of the LLVM C++ API we need that are
not already exposed by the LLVM C API.A ctypes Python wrapper around the C API.A pure Python implementation of the subset of the LLVM IR builder that we
need for Numba.Why llvmliteThe oldllvmpybinding exposes a lot of LLVM APIs but the mapping of
C++-style memory management to Python is error prone.Numbaand many JIT
compilers do not need a full LLVM API.  Only the IR builder, optimizer,
and JIT compiler APIs are necessary.Key BenefitsThe IR builder is pure Python code and decoupled from LLVM’s
frequently-changing C++ APIs.Materializing a LLVM module calls LLVM’s IR parser which provides
better error messages than step-by-step IR building through the C++
API (no more segfaults or process aborts).Most of llvmlite uses the LLVM C API which is small but very stable
(low maintenance when changing LLVM version).The binding is not a Python C-extension, but a plain DLL accessed using
ctypes (no need to wrestle with Python’s compiler requirements and C++ 11
compatibility).The Python binding layer has sane memory management.llvmlite is faster than llvmpy thanks to a much simpler architecture
(theNumbatest suite is twice faster than it was).Compatibilityllvmlite has been tested with Python 3.9 – 3.12 and is likely to work with
greater versions.As of version 0.41.0, llvmlite requires LLVM 14.x.x on all architecturesHistorical compatibility table:llvmlite versionscompatible LLVM versions0.41.0 - …14.x.x0.40.0 - 0.40.111.x.x and 14.x.x (12.x.x and 13.x.x untested but may work)0.37.0 - 0.39.111.x.x0.34.0 - 0.36.010.0.x (9.0.x foraarch64only)0.33.09.0.x0.29.0 - 0.32.07.0.x, 7.1.x, 8.0.x0.27.0 - 0.28.07.0.x0.23.0 - 0.26.06.0.x0.21.0 - 0.22.05.0.x0.17.0 - 0.20.04.0.x0.16.0 - 0.17.03.9.x0.13.0 - 0.15.03.8.x0.9.0 - 0.12.13.7.x0.6.0 - 0.8.03.6.x0.1.0 - 0.5.13.5.xDocumentationYou’ll find the documentation athttp://llvmlite.pydata.orgPre-built binariesWe recommend you use the binaries provided by theNumbateam for
theCondapackage manager.  You can find them in Numba’sanaconda.org
channel.  For example:$ conda install --channel=numba llvmlite(or, simply, the official llvmlite package provided in theAnacondadistribution)Other build methodsIf you don’t want to use our pre-built packages, you can compile
and install llvmlite yourself.  The documentation will teach you how:http://llvmlite.pydata.org/en/latest/install/index.html
Package: llvmmath
llvmmathThe purpose of this project is to provide portable math functions, many of
which are in C99 and not available on all platforms. It is based on NumPy’s
umath and tries to support all floating point and complex types.The library can be compiled with any C compiler, or to LLVM assembly using
Clang, to be linked into modules containing functions for jitting.Installing$gitclonegit@github.com:ContinuumIO/llvmmath.git$cdllvmmath$pythonsetup.pyinstallDocumentation[Available Symbols](docs/symbols.rst)[Public API](docs/api.rst)
Package: llvmpy
Home pagehttp://www.llvmpy.orgVersionsThis package has been tested with LLVM 3.3, Python 2.6, 2.7, 3.3 and 3.4.
Other Python versions may work.QuickstartGet and extract LLVM 3.2 source tarball fromllvm.org.  Then,cdinto
the extracted directory.Run./configure--enable-optimized--prefix=LLVM_INSTALL_PATH.Note: Without the--enable-optimizedflag, debug build will be
selected.  Unless you are developing LLVM or llvmpy, it is recommended
that the flag is used to reduce build time and binary size.Note: Use prefix to select the installation path.  It is recommended
to separate your custom build from the default system package.  Please
replaceLLVM_INSTALL_PATHwith your own path.RunREQUIRES_RTTI=1 make installto build and install.Note: With LLVM 3.3, the default build configuration has C++ RTTI
disabled.  However, llvmpy requires RTTI.Note: Usemake-j2installto enable concurrent build.
Replace2with the actual number of processor you have.Get llvm-py and install it:$ git clone https://github.com/llvmpy/llvmpy.git
$ cd llvmpy
$ LLVM_CONFIG_PATH=LLVM_INSTALL_PATH/bin/llvm-config python setup.py installRun the tests:$ python -c "import llvm; llvm.test()"See documentation at ‘http://www.llvmpy.org’ and examples
under ‘test’.Common Build ProblemsIf llvmpy cannot be imported due to “undefined symbol:
_ZTIN4llvm24PassRegistrationListenerE”, it is because RTTI is not enabled
when building LLVM.  “_ZTIN4llvm24PassRegistrationListenerE” is the typeinfo
of PassRegistrationListener class.LLVM3.3 ssize_t mismatch on 64-bit Windows.Get patch fromhttp://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130701/180049.htmlOSX 10.9 Mavericks uses libc++ by default but Anaconda distributes LLVM
binaries link with the old libstdc++.  The two binaries areincompatiblebut there are no compile/link time warnings.  The resulting binaries may
generate segmentation fault at runtime (probably due to ABI mismatch).The Fix:Use the following c++ flags:-std=libstdc++-mmacosx-version-min=10.6.LICENSEllvmpy is distributed under the new BSD license, which is similar to the LLVM
license itself.
See the file called LICENSE for the full license text.
Package: llvm-snapshot-builder
llvm_snapshot_builderBuilds LLVM snapshots on CoprStatusInstallation$pipinstallllvm_snapshot_builderUsageFor a more in-depth example, take a look atthe example in the documentation.After installing you can explore the CLI program with:$python-mllvm_snapshot_builder.cli--helpor with:$llvm_sb--helpContributingInterested 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.Commit message conventions and semantic versioniong (semver)We use semantic versioning andthese commit message conventionscan be used to automatically bump the version number and generate the changelog.Licensellvm_snapshot_builderwas created by Konrad Kleinekkleine@redhat.com. It is licensed under the terms of the MIT license.Creditsllvm_snapshot_builderwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: lmanage
LManageWhat is it.LManage is a collection of useful tools forLookeradmins to help curate and cleanup content and it's associated sourceLookML.How do i Install it.Lmanage can be found onpypi.pip install lmanageHow do I Use it.CommandsLManage will ultimately will have many different commands as development continuesStatusCommandRationaleLiveObject Migrator ToolMigrate Looker Objects such as Content, Folders and Permissions, User Groups, Roles and Attributes between a Looker Instance or for Version ControlinstructionsPlannedscoperTakes in a model file, elminates the * includes, iterate through the explores and joins and creates a fully scoped model include list for validation performance and best practice code organizationPlannedremoveuserBased on last time logged in, prune Looker users to ensure a performant, compliant Looker instancePlannedmapviewFind the LookML fields and tables that are associated with a piece of Looker contenthelp and versionlmanage --help
Usage: lmanage [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  capturator
  configuratorLooker Object MigratorThe object migrator allows you to preserve a point in time representation of your Looker content (Looks and Dashboards), Folder structure, Content access settings, User groups, User roles, User Attributes and preserve these as a Yaml file. This tool then lets you configure a new instance based on that Yaml file.instructionsThis is not an officially supported Google Product.