Saravanan666/pypi-org huggingface dataset:
Package: libredte
Cliente para realizar la integración con los servicios web deLibreDTEdesde Python.Instalación y actualizaciónInstalar usando un entorno virtual y PIP con:python3-mvenvvenvsourcevenv/bin/activatepipinstalllibredteActualizar usando PIP con:pipinstalllibredte--upgradeAutenticación en LibreDTELo más simple, y recomendado, es usar una variable de entorno con elhash del usuario,
la cual será reconocida automáticamente por el cliente:exportLIBREDTE_HASH="aquí-tu-hash-de-usuario"Si no se desea usar una variable de entorno, al instanciar los objetos se
deberá indicar el hash del usuario. Ejemplo:importlibredteLIBREDTE_HASH="aquí-tu-hash-de-usuario"client=libredte.api_client.ApiClient(LIBREDTE_HASH)Si utilizas LibreDTE Edición Comunidad deberás además configurar la URL
de tu servidor. Ejemplo:exportLIBREDTE_URL="https://libredte.example.com"Y si deseas hacerlo sin la variable de entorno, debes pasar la URL como
segundo parámetro en el constructor del cliente:importlibredteLIBREDTE_HASH="aquí-tu-hash-de-usuario"LIBREDTE_URL="https://libredte.example.com"client=libredte.api_client.ApiClient(LIBREDTE_HASH,LIBREDTE_URL)LicenciaEste programa es software libre: usted puede redistribuirlo y/o modificarlo
bajo los términos de la GNU Lesser General Public License (LGPL) publicada
por la Fundación para el Software Libre, ya sea la versión 3 de la Licencia,
o (a su elección) cualquier versión posterior de la misma.Este programa se distribuye con la esperanza de que sea útil, pero SIN
GARANTÍA ALGUNA; ni siquiera la garantía implícita MERCANTIL o de APTITUD
PARA UN PROPÓSITO DETERMINADO. Consulte los detalles de la GNU Lesser General
Public License (LGPL) para obtener una información más detallada.Debería haber recibido una copia de la GNU Lesser General Public License
(LGPL) junto a este programa. En caso contrario, consulteGNU Lesser General Public License.EnlacesSitio web LibreDTE.Código fuente en GitHub.Paquete en PyPI.Documentación en Read the Docs.
Package: libre-fastapi-jwt
FastAPI JWT AuthBTW - The project is based onFastapi-jwt-auththat is no longer maintained.Documentation:https://LibreNZ.github.io/libre-fastapi-jwtSource Code:https://github.com/LibreNZ/libre-fastapi-jwtFeaturesFastAPI extension that provides JWT Auth support (secure, easy to use and lightweight), if you were familiar with flask-jwt-extended this extension suitable for you, cause this extension inspired by flask-jwt-extended 😀Access tokens and refresh tokensFreshness TokensRevoking TokensSupport for WebSocket authorizationSupport for adding custom claims to JSON Web TokensStoring tokens in cookies and CSRF protectionInstallationThe easiest way to start working with this extension with pippipinstalllibre-fastapi-jwtIf you want to use asymmetric (public/private) key signing algorithms, include theasymmetricextra requirements.pipinstall'libre-fastapi-jwt[asymmetric]'LicenseThis project is licensed under the terms of the MIT license.
Package: librefi
LibreFiFree Wi-Fi was so great that we created Free Wi-Fi 2Note: work is still in progress, this is not stable, may not be usable or usefulHow to use:release (not to be confused with:stable):# you may want to use python3.9, python2, python, jython or something like that$python3-mpipinstalllibrefi
$python3-mlibrefi# no daemon yet, run to connectdevelopment:$gitclonehttps://git.sakamoto.pl/laudom/librefi.git
$cdlibrefi
$pip3install-r./requirements.txt
$pip3install-r./requirements_dev.txt
$python3-mlibrefi# no daemon yet, run to connectA bit of technical thingsRequires Python 3.4+ or 2.7 (preferably 3.8+)Requires NetworkManager (only Linux and some Unix-like systems) to connect with Wi-Fi networks for now, however, it's ready to implement other connectors.Only tested with CPython and Jython, other implementations may work by accident.Only works withthese networksContributingIf you want to contribute, please contact with eitherLaurenorDominikafor agit.sakamoto.placcount, or justsubmit patches by e-mailtolibrefi-patches@selfisekai.rocksMaintainers:Core:Lauren Liberdalauren@selfisekai.rocksDominika Liberdasdomi@sakamoto.plFxckers:Poland:Warsaw:Lauren Liberdalauren@selfisekai.rocksDominika Liberdasdomi@sakamoto.pl
Package: libreflow.andarta
ChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning[^1].[Unreleased][2.1.2] - 2023-10-12AddedEnable the use of flow extensions in the whole project.ChangedMethodsensure_tasks()ofShotandAssetobjects are not sensitive to the case of the task template name.[2.1.1] - 2023-10-06FixedUser Tasks: libreflow bookmarks now works according with kitsu episodes[2.1.0] - 2023-09-19AddedA hidden parameter to actions for creating films, sequences and shots from Kitsu to filter theses entities by name.Two options to theCreateKitsuFilmsaction to create shots and sequences in the created episodes.Added the new asset level in the librairiesCode and display names for specic naming conventions of AndartaNew backend script for handle installation and updates of LibreflowDefault dialog size for Import FilesChangedUser tasks can now handle episodes and is updated to the new flowVersioneer has been updated to 0.28, fixing the version number issues making the install anoying at AndartaUI elements in the main project pageReadme to match new steps for installImport Files handle the new asset levelFixedUpload to Kitsu and create film/sequences/shots now allows to use TVShows kitsu projectsGet episodes in Kitsu with sufixes in namesCreate assets in the updated lib from KitsuUser Tasks: Fallback to the old URL for Kitsu My Tasks page[2.0.0] - 2023-07-24Define a flow up and ready to use.
Package: lib-regexp
lib_regexpsome convenience functions for regexpsupports python 3.7 and possibly other dialects.100% code coverage, mypy static type checking, tested underLinux, OsX, Windows and Wine, automatic daily builds  and monitoringInstallation and UpgradeBasic UsageRequirementsAcknowledgementsContributeReport IssuesPull RequestCode of ConductLicenseChangelogInstallation and UpgradeFrom source code:# normal installpythonsetup.pyinstall# test without installingpythonsetup.pytestvia pip latest Release:# latest Release from pypipipinstalllib_regexp# test without installingpipinstalllib_regexp--install-optiontestvia pip latest Development Version:# upgrade all dependencies regardless of version number (PREFERRED)pipinstall--upgradegit+https://github.com/bitranox/lib_regexp.git--upgrade-strategyeager# normal installpipinstall--upgradegit+https://github.com/bitranox/lib_regexp.git# test without installingpipinstallgit+https://github.com/bitranox/lib_regexp.git--install-optiontestvia requirements.txt:# Insert following line in Your requirements.txt:
# for the latest Release:lib_regexp# for the latest Development Version :git+https://github.com/bitranox/lib_regexp.git# to install and upgrade all modules mentioned in requirements.txt:pipinstall--upgrade-r/<path>/requirements.txtvia python:# for the latest Releasepython-mpipinstallupgradelib_regexp# for the latest Development Versionpython-mpipinstallupgradegit+https://github.com/bitranox/lib_regexp.gitBasic UsageTBARequirementsfollowing modules will be automatically installed :## Test Requirements
## following Requirements will be installed temporarily for
## "setup.py install test" or "pip install <package> --install-option test"typing;python_version<"3.5"pathlib;python_version<"3.4"mypy;platform_python_implementation!="PyPy"andpython_version>="3.5"pytestpytest-pep8;python_version<"3.5"pytest-codestyle;python_version>="3.5"pytest-mypy;platform_python_implementation!="PyPy"andpython_version>="3.5"pytest-runner## Project RequirementsAcknowledgementsspecial thanks to “uncle bob” Robert C. Martin, especially for his books on “clean code” and “clean architecture”ContributeI would love for you to fork and send me pull request for this project.
-please ContributeLicenseThis software is licensed under theMIT license—Changelog0.0.12019-09-03: Initial public release
Package: librehtf
LibreHTFAn open hardware test framework.InstallPyPIInstall and update using pip:pipinstall-UlibrehtfRepositoryWhen using git, clone the repository and change your present working directory.gitclonehttp://github.com/mcpcpc/librehtfcdlibrehtf/Create and activate a virtual environment.python3-mvenvvenvsourcevenv/bin/activateInstall LibreHTF to the virtual environment.pipinstall-e.Commandsdb-initThe Sqlite3 database can be initialized or re-initialized with the
following command.flask--applibrehtfinit-dbDeploymentBefore deployment, westronglyencourage you to override the
defaultSECRET_KEYvariable. This can be done by creating aconf.pyfile and placing it in the same root as the instance (i.e. typically where the SQLite database resides).SECRET_KEY=“192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf“There are a number of ways to generate a secret key value. The
simplest would be to use the built-in secrets Python library.$python-c‘importsecrets;print(secrets.token_hex())’
‘192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf’WaitressProduction WSGI via waitress.pipinstallwaitress
waitress-serve--calllibrehtf:create_appTestpython3-munittestRun with coverage report.coveragerun-munittest
coveragereport
coveragehtml# open htmlcov/index.html in a browserAuthorizationOpenHTF provides a simple role-based access control (RBAC) for protecting both APIs and environment configuration. There are three levels of user access controls: administrator, functional and public. Responsibilities range from least restrictive to most restrictive, respectively.FunctionDescriptionEvaluationAPI AccessManagementAdministratorAn individual for system administration and user management.YesYesYesFunctionalA non-human interface, typically for machine integration.YesYesLimitedPublicTypically an operator or technician responsible for test execution.YesNoNoNomenclatureOpenHTF is architected to allow inherent branching of tests.  At the core, there are three tiers of organization: device, test and task.DeviceDevices refer to specific to hardware versions or product configurations. These are typically descriptive in nature and are useful when organizing hardware test interfaces that are intended to be used with multiple product offerings. Each device may have one or multipletestconfigurations.TestTests are a collection of similar or related tasks. Thus, executing a test will execute all collected task operators.TaskThe smallest unitdiscretized observation for a given test. The result of running a task can either be informative or comparative. When comparing the result of a task, the resulting outcome either yields PASS or FAIL.
Package: librelingo-fakes
librelingo_fakeslibrelingo_fakes.fakesThis package contains fake data for testing LibreLingo-related packages.The fake data is returned using the types fromlibrelingo-types.Usagefromlibrelingo_fakesimportfakesfakes.course1# This is a Course() objectfakes.course2# This is another Course() objectfakes.courseEmpty# This is an empty courseFor the full list of fakes, use the autocomplete or check out thethis file.Customizing fakesYou can usefakes.customizeto change some attributes on a fake object.
If you want to change the modules onfakes.course1, you'd do it like this:fake_course=fakes.customize(fakes.course1,modules=[fake_module_1,fake_module_2])numbernumber(max_value=10000)Returns a 'random' non-negative integer.
It is NOT cryptographically-secure.
Package: librelingo-json-export
librelingo_json_export.exportexport_courseexport_course(export_path:str,course:Course,settings=None)Writes the course to JSON files in the specified path.Usage example:fromlibrelingo_yaml_loaderimportload_coursefromlibrelingo_json_export.exportimportexport_coursecourse=load_course("./courses/french-from-english")export_course("./apps/web/src/courses/french-from-english",course)
Package: librelingo-utils
librelingo_utilslibrelingo-utils contains utility functions that are meant to make it easier
to create Python software that works with LibreLingo courses.librelingo_utils.utilscalculate_number_of_levelscalculate_number_of_levels(nwords:int,nphrases:int)->intCalculates how many levels a skill should haveget_words_from_phraseget_words_from_phrase(phrase)Splits a phrase into its component words/terms. Note that this respects
grouping with curly braces, i.e. sets of words surrounded by curly braces will not
be split from each other.remove_control_characters_for_displayremove_control_characters_for_display(phrase)Removes characters with special LibreLingo functions from a phrase before it
is displayed to the user.
At the moment, this only applies to curly brackets used to group several
words into a single mini-dictionary term.clean_word@lru_cache(maxsize=None)clean_word(word:Word)Remove punctuation and other special characters from a word.get_dumb_opaque_idget_dumb_opaque_id(name:str,id_,salt:str="")->strGenerate a unique, opaque ID based on a name, and id_ and a salt
idget_opaque_idget_opaque_id(obj,salt:str="")->strGenerate a unique, opaque ID based on a salt and the type of the object
idaudio_idaudio_id(language:Language,text:str)->strGenerate the ID that will identify the audio file of a sentence.iterate_phrasesiterate_phrases(course:Course)"Flatten" a course into a sequence of phrasesiterate_wordsiterate_words(course:Course)"Flatten" a course into a sequence of words
Package: librenv
librenvSimple visual novel engine, written on Python3+SDL2.ContactsContactDescriptionMatrixMatrix server.DiscordDiscord server.DonatesMonero:47KkgEb3agJJjSpeW1LpVi1M8fsCfREhnBCb1yib5KQgCxwb6j47XBQAamueByrLUceRinJqveZ82UCbrGqrsY9oNuZ97xN
Package: librep
librep - LIne Block REPlacementlibrepis a python-based command-line tools allows to render file placeholders.
It replaces a placeholder of a given syntax with the content of the file that is
specified in the placeholder.The tool is independent of the document type, since it is assumed that the chosen
syntax does not interfere with the syntax of any (especially markup) language.The indentation of the placeholder is used for the whole inserted code/text block.UsageInsert a placeholder of the following syntax inside a file:§§§<filename>:<start>:<end>§§§Afterwards, you can render the placeholder by running$librep-i"file_with_placeholder.md"This will replace the original line in the filefile_with_placeholder.mdwith
the content of the file<filename>from line<start>to line<end>.
Thefilenamehas to either be absolute or relative to the file you specify the
placeholder in.Using a URL instead of a file from the repositoryIf you want to link a file that is not present on your machine, but you have a URL
to that exact file, you can use the following syntax:§§§url="<url>":<start>:<end>§§§Note that this requireswgetto be installed on your machineExampleThis filefile_with_placeholders.md# HeadingCheck out this awesome python code!```py§§§./code.py§§§```Can be processed withlibrepby doing$librep-i"file_with_placeholder.md"Which results in# HeadingCheck out this awesome python code!```pydefcalc_sum(a,b):"""Calculates the sum of a+bParameters----------a : float, intFirst numberb : float, intSecond numberReturns-------sum : floatSum of a and b"""returna+b```ExamplesBelow you can find different versions for inserting different parts of the fileexamples/plotting/plot_rocs.pyinto your markdown file.PlaceholderResult§§§examples/file.py§§§whole file§§§examples/file.py::§§§whole file§§§examples/file.py:10:20§§§from line 10 to line 20§§§examples/file.py::10§§§from top to line 10§§§examples/file.py:10§§§from line 10 to bottom§§§examples/file.py:10:§§§from line 10 to bottomInstallationlibrepcan simply be installed usingpip install:pipinstalllibrep# orpipinstallhttps://github.com/umami-hep/librep/archive/master.tar.gz
Package: libreria-correlaciones
Esta librería sirve a la hora de comprender y analizar los datos de uno para la realización de un modelo de clasificación binaria. Para ello, detecta aquellas variables que están muy correlacinadas entre sí y elimina una por cada pareja. Además, también se analizan aquellas variables que están fuertemente relacionadas con la variable objetivo.A continuación se va adjuntar aquellos comandos que se necesitan para su instalación y futuro uso. También, se explican la manera de utilizar la librería y todas sus funciones.La instalaciónEl primer paso consiste en la instalación del paquete:pipinstalllibreria-correlaciones==0.7Llamada del paquetefromlibreria_correlaciones.libreria_correlacionesimportdeteccion_correlacionesInstanciar la clasePara la realización de esta librería, se ha decido crear una clase que recoja 6 funciones. Para ello, lo primero que hay que hacer es indicar cuales son los datos que se quieren analizar.archivo=' '#añadir el dataset deseadodatos=deteccion_correlaciones(archivo)Utilización de la libreríaLo primero que realiza esta clase una vez insertado los datos es crear dos variables. Una de ellas llamada "numericas" que hace referencia a todas las variables númericas existentes en el dataset. La otra, "variables_corr_para_modelar", indica todas aquellas variables que no sean la variable objetivo. Es decir, quita la variable clase del dataset.La primera función elimina aquellas variables para modelar que estén más correlacionadas.datos.eliminacion_variables_correlacionadas()Después, la siguiente función coge las variables numéricas y analiza cuales tienen más relación con la variable objetivo.data=datos.variables_mas_importantes()Una vez habiendo asignado el resultado de esta función a una variable, se puede ejecutar la función que te permite visualizar los histogramas de estas variables.datos.histogramas(data)Finalmente, se pueden visualizar los resultados del filtrado a través de mapas de calor.datos.correlaciones_a_eliminar()datos.correlaciones_variables_importantes()
Package: libresoc
# AboutThe main SOC portion of Libre-SOC. A quad-core open source SOC with a 3D GPU,
VPU, and using Libre-licensed design cells.Libre-SOC is Libre down to the VLSI Cells, thanks to Chips4Makers FlexLib
and Sorbonne University lip6.fr# DocumentationSeehttps://libre-soc.org/docs/# InstallationBest done using the dev-env-setup scripts:https://git.libre-soc.org/?p=dev-env-setup.git;a=summarymake install
make test # optional (ish)# Running Simulator testsqemu and gdb for Power 64 are required.  qemu can be installed with
“apt-get install qemu-system-ppc64”, however gdb needs compiling from
source.  The simplest way is to use this dev-env-script:https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=ppc64-gdb-gcc;hb=HEAD# Version 0.0.1 ReleaseFirst version of Libre-SOC uploaded to PyPI.
Package: libresoc-ieee754fpu
# IEEE754 Floating-Point ALU, in nmigenThis project implements a pipelined IEEE754 floating-point ALU that
supports FP16, FP32 and FP64.  It is a general-purpose unit that
may be used in any project (not limited to one specific processor).Developed under a Grant from NLnet (http://nlnet.nl), more information
may be found athttp://libre-soc.org# Requirementsnmigenlibresoc-nmutilyosys (latest git repository, required by nmigen)sfpy (running unit tests).  provides python bindings to berkeley softfloat-3# Building sfpyThe standard sfpy will not work without being modified to the type of
IEEE754 FP emulation being tested.  This FPU is emulating RISC-V, and
there is some weirdness in x86 IEEE754 implementations when it comes
to FP16 non-canonical NaNs.The following modifications are required to the sfpy berkeley-softfloat-3
submodule:cd /path/to/sfpy/berkeley-softfloat-3
git apply /path/to/ieee754fpu/berkeley-softfloat.patchThe following modifications are required to the sfpy SoftPosit Makefile:cd /path/to/sfpy/SoftPosit
git apply /path/to/ieee754fpu/SoftPosit.patch# Useful resourceshttps://en.wikipedia.org/wiki/IEEE_754-1985http://weitz.de/ieee/https://steve.hollasch.net/cgindex/coding/ieeefloat.html
Package: libresoc-nmutil
# NMigen UtilThis project implements utilities for nmigen.  Its development is covered
under an NLNet Grant and the top-level bugreport is here:http://bugs.libre-riscv.org/show_bug.cgi?id=62# Requirementsnmigenyosys (latest git repository, required by nmigen)pyvcd (for stylish GTKWave documents) - available on Pypi# Mon 12 Apr 2021Upload of first release 0.0.1 to pypi
Package: librespot
Librespot-PythonOpen Source Spotify ClientAbout The ProjectThis project was developed to make the music streaming service Spotify available
on any device.Attention!This repository has been completely rewritten from the transplant.There may be some functions that are not implemented yet.If so, please feel free to open an issue.NoteIt is still in the idea stage, so there is a possibility of unintended behavior
or major specification changes.WeDO NOTencourage piracy andDO NOTsupport any form of downloader/recorder designed with the help of this repository and in general anything that goes against the Spotify ToS.For other guidelines, please seeCODE_OF_CONDUCT.md.Getting StartedPrerequisitesPythonInstallationStable Versionpip install librespotSnapshot Version *Recommendedpip install git+https://github.com/kokarare1212/librespot-pythonUsageUse Zeroconf for Loginfromlibrespot.zeroconfimportZeroconfServerzeroconf=ZeroconfServer.Builder().create()Get Spotify's OAuth tokenfromlibrespot.coreimportSessionsession=Session.Builder()\.user_pass("Username","Password")\.create()access_token=session.tokens().get("playlist-read")Get Music Stream*Currently, music streaming is supported, but it may cause unintended behavior.fromlibrespot.coreimportSessionfromlibrespot.metadataimportTrackIdfromlibrespot.audio.decodersimportAudioQuality,VorbisOnlyAudioQualitysession=Session.Builder()\.user_pass("Username","Password")\.create()track_id=TrackId.from_uri("spotify:track:xxxxxxxxxxxxxxxxxxxxxx")stream=session.content_feeder().load(track_id,VorbisOnlyAudioQuality(AudioQuality.VERY_HIGH),False,None)# stream.input_stream.stream().read() to get one byte of the music stream.Other uses areexamplesor readthis documentfor detailed
specifications.DebugTo display the debug information, you need to inject the following code at the
top of the code.importlogginglogging.basicConfig(level=logging.DEBUG)ContributingPull requests are welcome.LicenseDistributed under the Apache-2.0 License. SeeLICENSE.txtfor more information.Related ProjectsLibrespot(Concept)Librespot-Java(Core)Special thanks