Saravanan666/pypi-org huggingface dataset:
Package: lief
AboutThe purpose of this project is to provide a cross platform library that can parse, modify and
abstract ELF, PE and MachO formats.Main features:Parsing: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides an user-friendly API to access to format internals.Modify: LIEF enables to modify some parts of these formatsAbstract: Three formats have common features like sections, symbols, entry point… LIEF factors them.API: LIEF can be used in C, C++ and PythonDownloads / InstallFirst, make sure to have an updated version of setuptools:$pipinstallsetuptools--upgradeTo install the latestversion(release):$pipinstallliefTo install nightly build:$pipinstall[--user]--index-urlhttps://lief.s3-website.fr-par.scw.cloud/latestliefGetting startedPythonimportlief# ELFbinary=lief.parse("/usr/bin/ls")print(binary)# PEbinary=lief.parse("C:\\Windows\\explorer.exe")print(binary)# Mach-Obinary=lief.parse("/usr/bin/ls")print(binary)C++#include<LIEF/LIEF.hpp>intmain(intargc,char**argv){// ELFtry{std::unique_ptr<LIEF::ELF::Binary>elf=LIEF::ELF::Parser::parse("/bin/ls");std::cout<<*elf<<std::endl;}catch(constLIEF::exception&err){std::cerr<<err.what()<<std::endl;}// PEtry{std::unique_ptr<LIEF::PE::Binary>pe=LIEF::PE::Parser::parse("C:\\Windows\\explorer.exe");std::cout<<*pe<<std::endl;}catch(constLIEF::exception&err){std::cerr<<err.what()<<std::endl;}// Mach-Otry{std::unique_ptr<LIEF::MachO::FatBinary>macho=LIEF::MachO::Parser::parse("/bin/ls");std::cout<<*macho<<std::endl;}catch(constLIEF::exception&err){std::cerr<<err.what()<<std::endl;}return0;}C (Limited API)#include<LIEF/LIEF.h>intmain(intargc,char**argv){Elf_Binary_t*elf=elf_parse("/usr/bin/ls");Elf_Section_t**sections=elf->sections;for(size_ti=0;sections[i]!=NULL;++i){printf("%s\n",sections[i]->name);}elf_binary_destroy(elf);return0;}DocumentationMain documentationTutorialAPIDoxygenContactMail: contact at lief.reGitter:lief-projectAuthorsRomain Thomas@rh0main-QuarkslabLIEF is provided under theApache 2.0 license
Package: liege.urban
ContributorsSimon Delcourt,simon.delcourt@imio.beChangelog1.0.2 (2023-11-21)Bug fixes:Ensure that every licence types can addUrbanEventMayorandUrbanEventAcknowledgment[mpeeters] (SUP-33677)1.0.1 (2023-11-16)Fix template for worklocation [URB-2930]
[mpeeters]1.0.0 (2023-11-09)Add get_work_location method.
[fngaha]Initial release.
[sdelcourt]
Package: lienv
LiEnv: A simple yet useful libraryLiEnv is a tool to easily get typed values out of strings stored in environment variables.Simplifies the sometimes tedious task of parsing strings to typed variablesProvides a way to do it uniformly througout the projectAims to prevent unwanted behaviour caused by typos, errors or malicious content in environment variablesCurrently supported Python types:Integers and FloatsDictsListsTuplesBooleansExample>>>importlienv>>>integer=lienv.get(int,"SOME_INTEGER")# SOME_INTEGER="42">>>decimal=lienv.get(float,"SOME_FLOAT")# SOME_FLOAT="2.4">>>dictionary=lienv.get(dict,"SOME_DICT")# SOME_DICT="{'lienv': 42}">>>print(f"{integer}=>{type(integer)}")42=><class'int'>>>>print(f"{decimal}=>{type(decimal)}")2.4=><class'float'>>>>print(f"{dictionary}=>{type(dictionary)}"){'lienv':42}=><class'dict'>SetupInstall the latest version with:pipinstalllienvTODOParse types without directly using python's evalImplement unit tests in RustFigure out how to test the Python moduleChange default integers and floats to 32 bit based on architectureAdd wrappers for unsigned integer parsingAdd wrappers for 8 and 16 bit numbersContributingI'll gladly accept feedback and contributions.Although this project's purpose was to solve problems that at first seemed too simple, the practicality it provided to me was motivation enough to turn it into a library so maybe more people could benefit from it.I am yet to be proficient in Rust, so pardon my silly mistakes.
Package: liepa-tts
LIEPALietuvių šneka valdomos paslaugos (Lithuanian speech controlled services)This project aims to provide high quality digital Lithuanian speech services
for free.
So far there are several services provided at various stages of completeness,
such as Lithuanian speech recognizer and Lithuanian speech synthesizer.This package wraps the latter.DependenciesFor this package (liepa-tts) to work you need synthesizer binaries which you'll
have to compile yourself.The original sources can be acquiredhereTo make it easier to build binaries for platforms other than Windows you can
acquire fixed-up sources here:laba-diena-ttsOnce you build binaries from the native-modules subtree make sure they are
available on LIBRARY_PATH (for building) and LD_LIBRARY_PATH (for runtime).InstallationI highly recommendPoetrypoetry add liepa-ttsIf you must, use pip:pip install liepa-ttsYou need numpy available for building C extension, so if you get errors first install that:pip install numpyUsagefromliepa_ttsimportliepa# All strings must be encoded with Windows Baltic encodingENCODING="cp1257"# First parameter is the path to data directory# Second parameter is the path to voice directory# All paths must include trailing slash# Returns error codeliepa.init("data/".encode(ENCODING),"data/Edvardas/".encode(ENCODING))# Parameters:# text: String that will be syntesized# outSize: Integer. Typically this takes ~3072 per phoneme (letter), if it's too small you'll get buffer overflow errors# speed: Integer. The larger the value the slower the voice will talk. Can be negative.# tone: Integer. The pitch. Larger values make for higher pitch. Can be negative.# Returns tuple (error code, ndarray). ndarray contains wav data without headers as array of integers.text="Laba diena. Kaip jums sekasi?".encode(ENCODING)err,buff=liepa.synth(text,len(text)*3072,100,0)# Parameters:# buff: The ndarray returned by liepa.synth() method# filename: encoded path to output fileliepa.toWav(buff,"test.wav".encode(ENCODING))# Call this when you're done to free resourcesliepa.unload()Notes:Error codes produces by the synthesizer are defined ininclude/LithUSS_Error.hso if you need more info on
the error you're getting check that file.You can acquire the data files along with original sourceshereThe files that must be present indata/directory are:abb.txtduom.txtrules.txtskaitm.txtYou should extract voice directories unmodified.The.wavproduce by the synthesizer is completely unoptimized and contains
a lot of silence. Therefor you should further process it before usage.
Package: liepy
LieA numerical library for working with (representations) of Lie Groups and Algebras.FeaturesSpin matricessu(2)and ladder matricessl(2, C)GeneralizedGell-Mann Matricessu(n)(Hermitian)Sylverster"Clock" and "Shift" Matricessu(n)(non-Hermitian)su(n)matrices by "Spherical Harmonics Tensors su(2) addition" via Clebsh-Gordan coefficientsComputation ofStructure constantsComputation of dot/cross product insu(n)through structure constantsExamplesPython bindingsimportliepyaslpsu_algebra=lp.gen_gellmann(3)Additional examples, and notebooks, can foundhere.Rustuselie::gellmann::*;uselie::lie_algebra::*;letsu_algebra=get_gellmann(3);letf=find_structure_constants(su_algebra);println!("{:?}",f);InstallationPre-built binary wheels are available.pip install liepyCompiling from sourceLiedepends on:openblas-devel, e.g. (for Ubuntu/Debiansudo apt install libopenblas-devel) or equivalentRust>= 1.58Maturingit clone https://github.com/RustyBamboo/lie
cd lie/liepy
maturin build --release --manylinux=off
pip3 install target/wheels/liepy-....whl --force-reinstallBuilding for manylinuxFor manylinux compiled wheel, a Docker container is used.cd lie
docker build -t maturin liepy/
docker run --rm -v $(pwd):/io maturin build --release -m liepy/Cargo.tomlTestsTo ensure the library is working as intended, a test can be run:cargo testLicenseLieis free and opensource, released under MIT license.
Package: liesel
Liesel: A Probabilistic Programming FrameworkLiesel is a probabilistic programming framework with a focus on semi-parametric regression. It includes:Liesel, a library to express statistical models as Probabilistic Graphical Models (PGMs). Through the PGM representation, the user can build and update models in a natural way.Goose, a library to build custom MCMC algorithms with several parameter blocks and MCMC kernels such as the No U-Turn Sampler (NUTS), the Iteratively Weighted Least Squares (IWLS) sampler, or different Gibbs samplers. Goose also takes care of the MCMC bookkeeping and the chain post-processing.RLiesel, an R interface for Liesel which assists the user with the configuration of semi-parametric regression models such as Generalized Additive Models for Location, Scale and Shape (GAMLSS) with different response distributions, spline-based smooth terms and shrinkage priors.The name "Liesel" is an homage to theGänseliesel fountain, landmark of Liesel's birth cityGöttingen.ResourcesPaper on arXivLiesel & Goose repoLiesel & Goose API docsRLiesel repoTutorials
Package: liewa
Live-Earth-Wallpapers aka liewaSet your Desktop background to near realtime picures of the earth.
Supports all knowngeostationarysatellites, high resolutionsentinelimages, NasaSolar Dynamics ObservatoryImages and Nasa astronomy picture of the day (Apod)! For Linux, Windows and MacOs!ExamplesExample Output of the config1.yml file. Use this by passing config1 to -o flag.Example Output of the config2.yml file. Use this by passing config2 to -o flag.Example Output of the config3.yml file. Use this by passing config3 to -o flag.Example Output for astronomy picture of the day feed (apod)(2022 November 15).Build images to your needs by writing your own config.yml file or using the GUI.Read more on theWiki Page.InstallationYou need Python installed and added to your System-path-variable!Using PyPi (Linux,MacOs)Install liewa-software frompypi Packageexecute command line Interface byliewa-clior the Gui byliewa-gui.WindowsDownload theliewaInstaller.exefromReleases Pageand execute the GUI.If the desktopimage hasn´t changed, take a look at theKnown bugssection.LinuxDownload theliewa.debfile fromReleases Page.Executesudo dpkg -i liewa.deb.MacOSDownload theliewa.dmgdrive from theReleases Page.Drag and Drop the liewa software into the Program Folders.For detailed userguide, read thewiki page.UsageScript Parameters:shortlongtypedefaulthelp-c--configStringpath/to/project/recources/config.ymlThe absolute path to the config File. There are 3 examples preinstalled. Use them by passingcongfig1,config2orconfig3as parameters.-o--outputString-The absolute path to a folder. All loaded Images will be saved here.The composition of your background image is defined by a config.yml file.Read theWikifor a detailed instruction on how to personalize your Image composition.For ContributersRead theContributingReadme.Filter Discussions by "For Contributers" Label to find topics to work on.Feel free to add your own ideas, features or open a Discussion in the Discussions tab.Known BugsPypiIfliewa-cliorliewa-guiis not known, add python pip itepackages to system PATH.WindowsOn some Systems the Taskscheduler cant automaticly be set to execute the Programm even when the cimputer is in Battery mode. Therefore you have to manualy unchek this flag in the TaskScheduler for theliewaTask.On some Systems the python Packages need to be manualy installed. Do so by typingpip install bs4 pillow pyyaml requestsinto CMD.
Package: life360
This module provides the low level communications functionality used by theLife360 Device Tracker Platform for Home Assistant.Although not strictly supported for use outside of Home Assistant, that should be possible. (If you're reading this on the project's github page, the package is available on PyPIhere.)For releases prior to 2.0.0 seehttps://github.com/pnbruckner/homeassistant-config/blob/d01553da9066ac83c6a750099b3bdbe4eddf22a2/docs/life360_lib.md.
Package: lifeActuary
lifeActuary 1.3.2PackagelifeActuaryis a Python library to perform actuarial mathematics on life contingencies and classical financial mathematics computations. Versatile, simple and easy to use. The main functions are implemented using the usual actuarial approach, making it a natural choice for the life actuary.This document is produced as a descriptive tool on how to use the package and as a user guide for the developed actuarial functions. For each actuarial function, an illustrative example is provided.The package uses Python version >= 3.6.This package and functions herein are provided as is, without any guarantee regarding the accuracy of calculations. It's distributed using theMIT Licenseand the authors disclaim any liability arising by any losses due to direct or indirect use of this package.This package is still under development and further useful and interesting functions will be available any time soon.On Distribution 1.3.2We changed the class "annuities" and now all the life annuity functions do not rely on the computation of the actuarial table. The old functions are still available in "commutationtable"We developed a new class "mortality_insurance.py" where functions for evaluating life insurance contracts are available without the need to compute the commutation table. The old functions are still available in the class "commutationtable".We developed a new class for evaluating annuities and life insurance for groups of two individuals, for joint-life and last-survivor methods.We made a small correction to the function "present_value" and a large correction to the functions t_nIArx and t_nIArx_ in commutation_table.py.We made a small correction to the function "get_integral_px_method" in "mortality_table" class.We made a small correction to the function "annuity_x" in "annuities" class.We made a small correction to the npx and nqx functions in the module "mortality_table", when producing the fractional commutation tables using the Balducci and the Constante Mortality Force.In this version you've a lot oftests, examples;essay,essay_for_Manualon how to use the library, as well as, our already famousManual.Please, don't forget to download the soa_tables folder from github;soa_tablesAll files atlifeactuary_1.3.2 at github.Information On older VersionsYou should also visit for version 1.0,lifeactuary at githubto download the folder"soa_tables"containing a set of tables, namely the ones used in the examples in the manual.For version 1.2, take a look forlifeactuary_1.2 at githubto download the folder"soa_tables"containing a set of tables, namely the ones used in the examples in the manual.Version 1.2.1 includes the file"read_soa_table_xml.py", so that you just need to a look atlifeactuary_1.2 at githubto download the folder"soa_tables"containing a set of tables, namely the ones used in the examples in the manual.
Package: lifeblood
DocumentationmasterdevLifebloodLifeblood is a task/job management software packagecurrently it aims for smaller teams, farms or even individual setups, but with scaling  always in mind.In terms of CG industry it's a mini render farm manager, but actually it's more than that,It is a universal task automation tool.Rendering, simulating, caching - are all just tasks that can be automated.it consists ofscheduler,workersandviewersa scheduler manages multiple workers, giving them tasks to complete.GUI tool is used to check on the state of scheduler and tasks and modify task
processing graph.This system overview should be very familiar to anyone who saw at least one renderfarm.checkdocumentation hereand alsovideo tutorialsFeatures:instantly and easily deployableeasy scaling in minddynamic slots, worker resources managementsupport for environment wrappers (allow you to integrate with existing packaging systems like rez)Features To Be Done:arbitrary resource requirementsarbitrary token counting (for license management for example)worker capabilities (automatic versioned worker "groups")rez environment resolvercgroups environment resolverEven Further Future Featureseasy cloud deploymentbe integrateable (to some extent) with existing farm managersInstallationThere are multiple ways to get Lifeblood to try it out, refer toinstallation section in the docsIn short - easiest way is to useLifeblood-Manager, as described in the docsUNDER DEVELOPMENT
Package: lifeblood-viewer
DocumentationmasterdevLifebloodLifeblood is a task/job management software packagecurrently it aims for smaller teams, farms or even individual setups, but with scaling  always in mind.In terms of CG industry it's a mini render farm manager, but actually it's more than that,It is a universal task automation tool.Rendering, simulating, caching - are all just tasks that can be automated.it consists ofscheduler,workersandviewersa scheduler manages multiple workers, giving them tasks to complete.GUI tool is used to check on the state of scheduler and tasks and modify task
processing graph.This system overview should be very familiar to anyone who saw at least one renderfarm.checkdocumentation hereand alsovideo tutorialsFeatures:instantly and easily deployableeasy scaling in minddynamic slots, worker resources managementsupport for environment wrappers (allow you to integrate with existing packaging systems like rez)Features To Be Done:arbitrary resource requirementsarbitrary token counting (for license management for example)worker capabilities (automatic versioned worker "groups")rez environment resolvercgroups environment resolverEven Further Future Featureseasy cloud deploymentbe integrateable (to some extent) with existing farm managersInstallationThere are multiple ways to get Lifeblood to try it out, refer toinstallation section in the docsIn short - easiest way is to useLifeblood-Manager, as described in the docsUNDER DEVELOPMENT
Package: lifedata
LIFEDATAUsageCreate a project specific conda environment (e.g.conda create -n myproject python=3.10) or use your conda base environmentInstall lifedata in your environment viapip install lifedataAfter lifedata installation uselifedata --helpto get help for lifedata commandsGenerate your LIFEDATA project by using theproject templatelifedata init <project instance name>Further steps can be found in the project's README.Custom DevelopmentSetupTo create your local development environment (e.g. for integration with your IDE) run:condaenvcreateThis will create you a local environment calledlifedatawith all necessary dependencies installed.Run development serverTo start the project related services run:docker-composeupYou can then access the frontend athttp://localhost:3000/in your browser. The API is available athttp://localhost:8000/and is also proxied via the frontend (to avoid CORS issues).Storybook can be accessed athttp://localhost:3001TestsThere are tests for the python code as well as tests for the TypeScript based frontend code.Python TestsTo always keep the tests running and see if everything is still working as expected, run::ptwTo run the tests once, just do:py.testTypeScript TestsRunyarn testin thewebuidirectory.Database MigrationsIf you want to adjust the database tables, you also need to prepare a migration script usingalembicin order to provide executable instructions on how to alter the database.For most cases it's sufficient to change the table definitions in the code and then run::docker-compose run --rm webapi alembic revision --autogenerate -m "your change message here"Now inspect the auto generated file if everything is as it is supposed to be.Then runalembic upgrade headin theapicontainer to apply these changes to your local database.Citationcoming soon
Package: lifefit
LifeFitWhat is LifeFitLifeFit is a Python package to analyzetime-correlated single-photon counting (TCSPC)data sets, namelyfluorescence lifetimeandtime-resolve anisotropydecays.WebserverYou can run LifeFit directly in your browser:https://tcspc-lifefit.herokuapp.com/Note:Initial startup of the webserver might take a few seconds, please be patient.InstallationThere are different options how to install LifeFit.CondaInstall the package into your conda environmentconda install -c fdsteffen lifefitPyPIAlternatively, you can install the latest release with pippip install lifefitInstall from sourceFinally, you can also get the latest development version directly from Githubpip install git+https://github.com/fdsteffen/Lifefit.gitDocumentationLifeFit is documentedhere. To get started you might consider having a look at thistutorial.Bug reportsPlease report anybugsvia theissue trackerReferenceTo cite LifeFit, please refer to the following paper:F.D. Steffen, R.K.O. Sigel, R. Börner,Phys. Chem. Chem. Phys.2016,18, 29045-29055.
Package: lifeguard-k8s
Lifeguard K8SIntegration with KubernetesActionsdelete_informed_pods: delete pods informed in validation response details. Example of usage:fromlifeguard_k8s.actions.podsimportdeleted_formed_pods@validation("drubin-lifeguard",actions=[delete_informed_pods],schedule={"every":{"minutes":1}},)defdrubin_lifeguard():# To execute delete_informed_pods action the response should have the# two attributes in details:# - namespace: the Kubernetes namespace where the pods are# - delete_pods: list of pods to be deletedreturnValidationResponse(PROBLEM,{"delete_pods":["lifeguard-75c44897b4-k9g94"],"namespace":"drubin"})Validationspods_validation: check if all pods are runningImportant:
To use Kubernetes APIs into the valiations, you need to create a service account and a cluster role binding. Example of a valid manifest:---apiVersion:v1kind:ServiceAccountmetadata:name:lifeguard-sa---kind:ClusterRoleapiVersion:rbac.authorization.k8s.io/v1metadata:name:lifeguard-rolesrules:-apiGroups:[""]resources:["nodes"]verbs:["get","list"]-apiGroups:[""]resources:["pods","pods/exec"]verbs:["get","list"]---apiVersion:rbac.authorization.k8s.io/v1kind:ClusterRoleBindingmetadata:name:lifeguard-rolebindingsubjects:-kind:ServiceAccountname:lifeguard-sanamespace:namespaceroleRef:kind:ClusterRolename:lifeguard-rolesapiGroup:rbac.authorization.k8s.io
Package: lifeguard-notification-msteams
lifeguard-notification-msteamsMS Teams NotificationsUsage@validation("Description",actions=[notify_in_single_message],schedule={"every":{"minutes":1}},settings={"notification":{"template":"jinja2 string template""msteams":{"channels":["channelwebhookurl"],}},},)defa_validation():returnValidationResponse("a_validation",NORMAL,{},{"notification":{"notify":True}})
Package: lifeguard-rabbitmq
Lifeguard RabbitMQUsageConfigure plugin inlifeguard_settings.py.importlifeguard_rabbitmqPLUGINS=[lifeguard_rabbitmq]SettingsNameDescriptionValueLIFEGUARD_RABBITMQ_\w+_ADMIN_BASE_URLRabbitMQ admin base url of default instancehttp://localhost:15672LIFEGUARD_RABBITMQ_\w+_ADMIN_USERRabbitMQ admin user of default instanceguestLIFEGUARD_RABBITMQ_\w+_ADMIN_PASSWDRabbitMQ admin password of default instanceguestLIFEGUARD_RABBITMQ_\w+_ADMIN_VHOSTRabbitMQ admin virtual host of default instance/LIFEGUARD_RABBITMQ_INSTANCESList of rabbitmq instances separated by commadefaultBuiltin ValidationsConsumers Running ValidationUsage example:# in lifeguard_settings.pyfromlifeguard_rabbitmqimportRABBITMQ_PLUGIN_CONTEXTfromlifeguardimportNORMAL,PROBLEMfromlifeguard.actions.emailimportsend_emailRABBITMQ_PLUGIN_CONTEXT.consumers_validation_options={"actions":[send_email],"schedule":{"every":{"minutes":1}},"settings":{"email":{"subject":"[Lifeguard] - Consumers validation","receivers":[{"name":"User","email":"user@cserver.com"}],"send_in":[PROBLEM],"remove_from_sent_list_when":[NORMAL],}},"queues":{"default":[{"name":"lifeguard.queue.example","min_number_of_consumers":1}],},}Messages Increasing ValidationUsage example:# in lifeguard_settings.pyfromlifeguard_rabbitmqimportRABBITMQ_PLUGIN_CONTEXTfromlifeguardimportNORMAL,PROBLEMfromlifeguard.actions.databaseimportsave_result_into_databaseRABBITMQ_PLUGIN_CONTEXT.messages_increasing_validation_options={"actions":[save_result_into_database],"schedule":{"every":{"minutes":1}},"settings":{},"queues":{"default":[{"name":"lifeguard.queue.example","count_before_alert":10}],},}
Package: lifehacks
lifehacksStructure📦 lifehacks
│
├── 📦 metaclasses
│   ├── meta
│   ├── enum
│   └── EnumException
│
└── 📦 colour
    ├── Colour
    ├── hsla
    ├── rgba
    │
    └── 📦 palette
        ├── Apple
        └── MarianaUsagelifehacks.metaclasseslifehacks.colourContributorsSimon-mightbesimonyou?