Saravanan666/pypi-org huggingface dataset:
Package: libtsm
libtsmA Python toolbox for Time-Scale Modification (TSM) and Pitch-Shifting.Details and example application:https://www.audiolabs-erlangen.de/resources/MIR/2021-DAFX-AdaptivePitchShiftinglibtsmis based on a re-implementation of the Matlab TSM Toolbox by Jonathan Driedger and Meinard Müller:https://www.audiolabs-erlangen.de/resources/MIR/TSMtoolbox/If you use the libtsm in your research, please consider the following references.ReferencesSebastian Rosenzweig, Simon Schwär, Jonathan Driedger, and Meinard Müller:
Adaptive Pitch-Shifting with Applications to Intonation Adjustment in A Cappella Recordings
Proceedings of the International Conference on Digital Audio Effects (DAFx), 2021.Jonathan Driedger and Meinard Müller:TSM Toolbox: MATLAB Implementations of Time-Scale Modification Algorithms.In Proceedings of the International Conference on Digital Audio Effects (DAFx): 249–256, 2014.Jonathan Driedger and Meinard Müller:A Review on Time-Scale Modification of Music Signals.Applied Sciences, 6(2): 57–82, 2016.Jonathan Driedger, Meinard Müller, and Sebastian Ewert:Improving Time-Scale Modification of Music Signals using Harmonic-Percussive Separation.IEEE Signal Processing Letters, 21(1): 105–109, 2014.InstallationWith Python >= 3.6, you can install libtsm using the Python package manager pip:pip install libtsmDocumentationThe API documentation oflibtsmis hosted here:https://meinardmueller.github.io/libtsmContributingWe are happy for suggestions and contributions. However, to facilitate the synchronization, we would be grateful for either directly contacting us via email (meinard.mueller@audiolabs-erlangen.de) or for creatingan issuein our GitHub repository. Please do not submit a pull request without prior consultation with us.If you want to report an issue with libtsm or seek support, please use the same communication channels (email or GitHub issue).TestsCentral to our tests is the comparison oflibtsmwith the MATLAB TSM Toolbox.
To this end, please executetests/test_matlab.min MATLAB to create the MATLAB output.
Then, you can usepytestfor executing our Python test scripts.pytestis available when installing libtsm with the extra requirements for testing.pip install 'libtsm[tests]'
pytestAcknowledgementsThis project is supported by the German Research Foundation (DFG MU 2686/12-1, MU 2686/13-1).
The International Audio Laboratories Erlangen are a joint institution of the Friedrich-Alexander Universität Erlangen-Nürnberg (FAU) and Fraunhofer Institute for Integrated Circuits IIS. We thank Edgar Suarez, El Mehdi Lemnaouar and Miguel Gonzales for implementation support.
Package: libtvdb
libtvdbA wrapper around theTVDB API.Examples:Searching for shows:import libtvdb
client = libtvdb.TVDBClient(api_key="...", user_key="...", user_name="...")
shows = client.search_show("Doctor Who")

for show in shows:
    print(show.name)AdvancedYou can setlibtvdb_api_key,libtvdb_user_keyandlibtvdb_user_namein your OS X keychain if you don't want to supply these every time. If any of the values supplied to theTVDBClientconstructor areNone, it will look into your keychain and load the appropriate value. If it can't find them, it will throw an exception.
Package: libtwitter
LibTwitterBiblioteca para pesquisa e processamento de tweets.Para utilizar as funções da biblioteca é necessário ter umaconta de desenvolvedorno Twitter, e obter as keys de acesso:API KeyAPI Key SecretToken keyToken SecretInstalaçãopip install libtwitterFunçõesPesquisar tweetsPublicar tweetsGerar wordcloudsRemover emojisRemover caracteresCriando uma conexãofromlibtwitterimportlibtwitterasltmy_twitter=lt.Twitter(api_key,api_secret,token_key,token_secret)Pesquisar tweetsO métodopesquisar_tweetscria um dataframe  Pandas com as informações: usuário, tweet, data de postagem, idioma e a quantidade de retweets, de acordo com o termo pesquisado, também é possível as informações obtidas em um arquivo .csv.Parâmetros:palavra (str): termo a ser pesquisadoqnt (int): qnt de tweets a serem solicitados (padrão qnt=500)salvar (bool): opção para salvar o dataframe em arquivo .csv (padrão salvar=False)namefile (str): nome do arquivo .csv (padrao='result.csv')fromlibtwitterimportlibtwitterasltmy_twitter=lt.Twitter(api_key,api_secret,token_key,token_secret)df=my_twitter.pesquisar_tweets('#covid-19')Publicar tweetsO métodopublicar_tweetpublica um tweet de forma automatica.Parâmetros:novo_tweet (str): texto que vai ser publicadofromlibtwitterimportlibtwitterasltmy_twitter=lt.Twitter(api_key,api_secret,token_key,token_secret)foriinrange(10):my_twitter.publicar_tweet(f'test{i}')Gerar wordcloudsO métodonuvem_de_palavrasgera uma imagem com as palavras que aparecem com mais frequência nos tweets.Exemplo:my_twitter.nuvem_de_palavras(df['tweet'])Remover caracteres ou emojis de um dataframeOs métodosremover_emojiseremover_caracterespermitem salvar os resultados em um arquivo .csv.df=my_twitter.remover_caracteres(dataframe,['@','_','#'])df2=my_twitter.remover_emojis(dataframe)
Package: libulb
libulbPython lib for ULB (ulb.ac.be)libulb is Python3 only.Installpip install libulbExample# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals

from libulb.smileye_app import api
from datetime import datetime

c = api.Client.auth('adelcha', 'pAssW0r!')

info = c.info()
print(info['name']) # Alain

inscriptions = c.inscriptions()
notes_first_year = c.notes(inscriptions[0])

c.note_detail(c.notes(c.inscriptions()[-1])[-1]) # Details of the last course of your last year

c.gehol(datetime(2015, 5, 5, 0, 0, 0), datetime(2015, 5, 6, 0, 0, 0)) # All of your courses of the dayDevgit clonethenpip install-e.andpip install-rrequirements-dev.txt
Package: libumccr
libumccrUMCCR Reusable Python modulesUsageInstall throughpiplike sopip install libumccrSomewhere in your Python codefromlibumccr.awsimportlibssmssm_value=libssm.get_ssm_param("my_param_name")DevelopmentCreate Python virtual environmentgit clone https://github.com/umccr/libumccr.git
cd libumccr
make install
make test
Package: libuno
unounois a tool for interconnecting private LANs into aunified virtual network, orUVN, that supports fully routed,
site-to-site communications via dynamically managed encrypted links.TheUVNis composed of multiplecells, each one containing one or
more private networks, and managed by anagent.Agentsconnect to a commonregistrynode, which administers theUVN,
and provisions eachagentwith the latestdeployment configuration. This
specifies the encrypted links that eachagentwill establish with othercellsin order to form theUVN's routingbackbone.AgentsuseRTI Connext DDSto exchange information about their local networks and their operational status,
over encryptedWireGuardlinks that connect them
to each other, and to the registry node.Once information about remote sites is available, and the VPN links have been
properly configured, theQuaggarouting suite
is used to implement the OSPF protocol between all nodes, and to enable complete
routing paths between all attached networks.Agentsshould be run in a dedicated host deployed within each LAN, and
configured as the default gateway for other networks in theUVN, in order to
allow transparent routing between all hosts.Anagentcan also act as a DNS server for hosts in their attached LANs. The
server will automatically include entries for the dynamic VPN endpoints in
theUVN, in addition to any custom entry added to theUVN's
configuration.InstallationThe easiest way to install UNO is via the simplified installation script:curl-sSLhttps://uno.mentalsmash.org/install|shIf you have a pre-built wheel file forconnextdds-py(e.g. if installing on
a Raspberry Pi), place it in the directory where you are running the
script, and it will be automatically detected and installed.If a wheel file is not available, the script will try to clone and
buildconnextdds-pyfrom source.RTI Connext DDS6.x must
be installed on the system, and available viaNDDSHOMEfor this to succeed.Consult theInstallationsection of the wiki for more information on each installation step performed
by the script.DocumentationVisit thewikifor more information
aboutuno.You might want to start fromHello UVN, which gives an overview ofuno's
features, and the structure of aUVN.
Package: lib-upgrade
lib-upgrade (pip install lib-upgrade)Package to help developers check and upgrade their libraries as they wish.PYTHON VERSION SUPPORTED >= 3.10HOW IT WORKSWhen executed, the system will check up for all your already used libraries and requirements, and then it
will provide a list, giving the opportunity for the users to choose which one they want to be upgraded to the
latest version.Libraries it uses: OS, SUBPROCESSES, TIME.SLEEPThe system works at that sequence:Through a command line inside the terminal (hidden from user view), it asks PIP the list of libraries that are being
used that are out of date, transforming it in a temporary .TXT file;After that, it reads all lines from that .TXT file and present it as an interactive menu from which the users can
easily see and choose, one by one, those that they want to upgrade. Meanwhile, the TXT file is deleted right away;In sequence, the system will confirm the option and give the order to PIP to upgrade that specifc library;During the installation, the system will print the process and give a feedback to the users;Finally, it rolls back to PIP and asks again for out of date libraries to present the menu one more time, restarting
the interaction;HOW IT STOPSWhen there is no more libraries out of date according to the information returned from PIP"PIP LIST -O" COMMANDlib_upgade uses "pip list -o" command to recieve the list of all out of date libraries that are being used in the
projectINSTALLING AND EXECUTING:In the terminal, type the command â†’ " pip install lib-upgrade "2. After successfully installed, you can run it from inside a _Script_ or from the _Terminal / Python Console_:2.1. RUNNING FROM INSIDE AN SCRIPT- If you are using an IDE e.g. PyCharm, you shall import the library as followed:" " "from lib_upgrade.lib_upgrade import upgrade_libupgrade_lib()" " "2.2. RUNNING FROM TERMINAL / CONSOLE- If you are using any terminal, make sure you are inside the correct VENV within you project, then import and execute 
as followed:" " "(.venv) pythonfrom lib_upgrade.lib_upgrade import upgrade_libupgrade_lib()" " "3. After initialized, interact with the program to choose which one of the out of date libraries you want PIP to
upgrade
4. When there is no more library to be updated, the system will autoterminate.
Package: liburing
This is a Python + CFFI wrapper around Liburing C library, which is a helper to setup and tear-downio_uringinstances.Read how to useLiburing(pdf)Good documentationLord of the io_uringRequiresLinux 5.1+ (5.11+ recommended)Python 3.6+Includesliburing 2.0Install, update & uninstall (Alpha)Usepipto install, upgrade & uninstall Python wrapper:python3 -m pip install --user liburing

python3 -m pip install --user --upgrade liburing

python3 -m pip uninstall liburingInstall directly from GitHub:python3 -m pip install --user --upgrade git+https://github.com/YoSTEALTH/LiburingTo find out all the functions and definitions:importliburinghelp(liburing)Find out whichio_uringoperations is supported by the kernel:importliburingprobe=liburing.probe()print(probe)Simple File Exampleimportosimportos.pathfromliburingimport*defopen(ring,cqes,path,flags,mode=0o660,dir_fd=-1):# file `path` must be in bytes and as absolute path if no `dir_fd` is provided._path=os.path.abspath(path).encode()sqe=io_uring_get_sqe(ring)# sqe(submission queue entry)io_uring_prep_openat(sqe,dir_fd,_path,flags,mode)return_submit_and_wait(ring,cqes)# returns fddefwrite(ring,cqes,fd,data,offset=0):buffer=bytearray(data)iov=iovec(buffer)sqe=io_uring_get_sqe(ring)io_uring_prep_write(sqe,fd,iov[0].iov_base,iov[0].iov_len,offset)return_submit_and_wait(ring,cqes)# returns length(s) of bytes writtendefread(ring,cqes,fd,length,offset=0):buffer=bytearray(length)iov=iovec(buffer)sqe=io_uring_get_sqe(ring)io_uring_prep_read(sqe,fd,iov[0].iov_base,iov[0].iov_len,offset)read_length=_submit_and_wait(ring,cqes)# get actual length of file read.returnbuffer[:read_length]defclose(ring,cqes,fd):sqe=io_uring_get_sqe(ring)io_uring_prep_close(sqe,fd)_submit_and_wait(ring,cqes)# no error means success!def_submit_and_wait(ring,cqes):io_uring_submit(ring)# submit entryio_uring_wait_cqe(ring,cqes)# wait for entry to finishcqe=cqes[0]# cqe(completion queue entry)result=trap_error(cqe.res)# auto raise appropriate exception if failed# note `cqe.res` returns results, if ``< 0`` its an error, if ``>= 0`` its the value# done with current entry so clear it from completion queue.io_uring_cqe_seen(ring,cqe)returnresult# type: intdefmain():ring=io_uring()cqes=io_uring_cqes()try:io_uring_queue_init(8,ring,0)fd=open(ring,cqes,'/tmp/liburing-test-file.txt',os.O_CREAT|os.O_RDWR)print('fd:',fd)length=write(ring,cqes,fd,b'hello world')print('wrote:',length)content=read(ring,cqes,fd,length)print('read:',content)close(ring,cqes,fd)print('closed.')finally:io_uring_queue_exit(ring)if__name__=='__main__':main()LicenseFree, Public Domain (CC0).Read moreTODOcreate more testDevelopment Status :: 4 - Betacreate exampleDevelopment Status :: 5 - Production/Stable
Package: libuuid
A Python C extension for faster generation ofUUIDobjects. It supports
libuuid-based generation of version 1 and 4 UUIDs. The library is fully
compatible with thestandard uuid module, while also providing specialized,
optimized, functions for generatingUUIDstrings.libuuidis roughly 8-10 times faster than the pure-python version.It’s basically just a thinCythonwrapper aroundlibuuid by Theo Tso.This module has been forked frompython-libuuidby Daniel Lundin. Daniel
has not updated the module since 2010, and has not responded to pull requeststs
or attempts to take over maintenance. The upstream module does not support Python 3.InstallationYou can installlibuuideither via the Python Package Index (PyPI)
or from source.To install usingpip:$ pip install libuuidTo install usingeasy_install:$ easy_install libuuidIf you have downloaded a source tarball you can install it by doing the
following,:$ python setup.py build
# python setup.py install # as rootUsage / ExamplesThelibuuidmodule provides a similar interface touuid, resulting in fully
compatible UUID objects.libuuid.UUIDis also a subclass ofuuid.UUID,
so existing code usingisinstancewill continue to work.>>> import libuuid
>>> libuuid.uuid1()
UUID('a3a32410-940a-11df-8ead-002219990fd7')>>> libuuid.uuid4()
UUID('85651a1f-118f-480d-a116-526b2dd37322')Furthermore,libuuidhas a few extra utility functions not available inuuid. These are handy when you don’t need a “full” UUID object, but just
need the byte representation. The_bytesfunctions have less overhead than
the common interface.>>> libuuid.uuid1_bytes()
'\x05f\xe1d\x94\x0b\x11\xdf\x8e\xad\x00"\x19\x99\x0f\xd7'>>> libuuid.uuid4_bytes()
'\x05f\xe1d\x94\x0b\x11\xdf\x8e\xad\x00"\x19\x99\x0f\xd7'Gotchaslibuuidonly provides random (version 4) and time based (version 1) UUIDs.Callinglibuuid.uuid1withnodeorclock_seqis not supported, and will
silently fall back to theuuid.UUIDimplementation for compatibility.Only tested on Linux. It should work on any platform, but e2fsprogs is
probably just readily available on Linux distributions.Bug trackerIf you have any suggestions, bug reports or annoyances please report using
the Githubissue trackerContributingDevelopment takes place at Github:http://github.com/brandond/python-libuuid/Patches and contributions are more than welcome.LicenseThis software is licensed under theBSDsoftware license.
See theLICENSEfile in the top distribution directory for full license
text.
Package: lib-uuid-porting
Home-page: UNKNOWN
Author: Ka-Ping Yee <ping@zesty.ca> / cheny0y0 <anony>
Author-email:
License: UNKNOWN
Description: # Just porting Lib/uuid.py to Python 2.4 and earlier.Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Package: libversion
Python bindings for libversionPurposePython bindings for libversion, which providesfast,powerfulandcorrectgeneric version string comparison algorithm.Seelibversionrepository for
more details on the algorithm.Performancelibversionis 10x to 100x faster than other version comparison
facilities widely used in Python world.Facilitycomps/seclibversion.version_compare23492.81Klibversion.version_compare3219.02Klibversion.Version374.08Ktuple(map(int, (v.split('.'))))206.02Kcmp_version.cmp_version189.15Kcmp_version.VersionString156.42Kdistutils.version.StrictVersion75.00Kversion.Version71.39Kdistutils.version.LooseVersion51.38Kpkg_resources.parse_version22.26KCorrectnesslibversionhandles certain complex version cases better than other
version comparison facilities. Here are some example cases where others
fail:Test caselibversiontupleStrictVersionLooseVersionparse_versioncmp_version1.0 == 1.0.0okincorrect (<)okincorrect (<)okok1.2_3 == 1.2-3okfailfailincorrect (>)incorrect (<)ok1.2.3 == 1.2-3okfailfailfailincorrect (>)incorrect (<)1.0alpha1 == 1.0.alpha1okfailfailokokincorrect (>)1.0rc1 < 1.0okfailfailincorrect (>)okincorrect (>)1.0 < 1.0patch1okfailfailokincorrect (>)ok1.0.2a < 1.0.2gokfailfailokincorrect (>)okNote 1:failmeans that attempt to compare versions has thrown
an exception, usually bacause a library cannot parse specific version
string.Note 2:versionmodule was not able to complete any tests as it's
a strict semantic version implementation which require 3 version
components. Also, it does not support Python 3 without modification.Python wrapper featuresProvides API similar to C library,version_compare(a, b)functionProvides more pythonic (but slower)Versionclass with overloaded
comparison operatorsRequirementsPython 3.6+pkg-configlibversion2.7.0+Example codefromlibversionimportVersion,version_compareassert(version_compare("0.9","1.1")<0)assert(version_compare("1.0","1.0.0")==0)assert(version_compare("1.1","0.9")>0)assert(Version("0.9")<Version("1.1"))assert(Version("1.0")==Version("1.0.0"))assert(Version("1.1")>Version("0.9"))assert(Version("0.999")<Version("1.0alpha1"))assert(Version("1.0alpha1")<Version("1.0alpha2"))assert(Version("1.0alpha2")<Version("1.0beta1"))assert(Version("1.0beta1")<Version("1.0pre1"))assert(Version("1.0pre1")<Version("1.0rc1"))assert(Version("1.0rc1")<Version("1.0"))assert(Version("1.0")<Version("1.0patch1"))LicenseMIT license, copyright (c) 2017-2018 Dmitry Marakasovamdmi3@amdmi3.ru.
Package: libvirt-python
This package provides a module that permits applications
written in the Python 3.x programming language to call the interface
supplied by the libvirt library, to manage the virtualization
capabilities of recent versions of Linux (and other OSes).
As such, the module exposes Python bindings to to the libvirt.so,
libvirt-qemu.so and libvirt-lxc.so library APIs.It is written to build against any version of libvirt that
is 0.9.11 or newer.This code is distributed under the terms of the LGPL version
2 or later.RequirementsTo build the libvirt python binary requires the GCC and pkg-config
tools, and development headers for the libvirt and python libraries.Building and installingThe module can be built by following the normal python module
build process$ python3 -m buildfor testing and distributing purposes or it can be installed directly via pip
as$ python3 -m pip install .without explicit building.In order to test the package, you’ll need either tox or at least pytest,
depending on whether you want to test an already installed package in which
case the latter is sufficient or if you wish to test in a virtual
environment you’d need tox. Depending on your preferred setup, you can run the
tests either as$ python3 -m pytestor as$ toxA makefile shim is also provided for your convenience, so that you don’t have
to care about the exact operations mentioned above and instead you simply do$ make && make checkAs of libvirt 1.2.6, it is possible to develop against an uninstalled
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
environment variables to point into that libvirt tree; you can even
automate this by using libvirt’s run script:/path/to/libvirt/run python3 -m buildPatches for this code should be submitted as merge requests to the
project page on gitlab. See CONTRIBUTING.rst for more information.
Package: libvirt-vm-optimizer
libvirt VM optimizerOptimizes libvirt QEMU/KVM Virtual Machines.PrerequisitesInstallationInstalllibvirt-python3(for exampleyum install libvirt-python3on fedora)pip3 install libvirt-vm-optimizer(pypi)UsageBasic usage:virshdumpxmlvm|./libvirt-optimizer.py-pserver|virshdefine/dev/stdinHelpusage: libvirt-vm-optimizer.py [LIBVIRT_XML]

 - optimizes LIBVIRT_XML (supports kvm|qemu)

positional arguments:
  LIBVIRT_XML           VM libvirt.xml (will read from stdin if not specified)

optional arguments:
  -h, --help            show this help message and exit
  -o [OUTPUT], --output [OUTPUT]
                        output file (will be printed to stdout if not
                        specified)
  -i, --in-place        edit files in place
  -p [PROFILE], --profile [PROFILE]
                        one of (default, cpu, server )
  -m, --force-multithreaded-pinning
                        setup CPU pinning in simultaneous multithreading
                        systems (experimental and may be slower)
  -c [URI], --connect [URI]
                        connection URI (uses default connection if not
                        specified)
Package: libvis
.. raw:: html<div align="center">
    <img width="312px" alt="libvis logo" src="assets/libvis.png"/>
</div>.. image::https://img.shields.io/pypi/v/libvis.svg:target:https://pypi.python.org/pypi/libvis:alt: PyPi versionData visualization made easierThis is a project for interactive data visualizationIt uses a dedicated web app with cards that display python variables.Check out the notebooks folder for examplesJump right in:Quick start <http://docs.webvis.dev/usage/quickstart.html#>_.Quick start.. code-block:: pythonfrom libvis import Vis
import timevis = Vis(vis_port=7007)
vis.start()Opens the browser on 7007 portvis.show()Live plottingfor i in range(0,100):
vis.vars.line = [(2**x)%100 for x in range(i)]
time.sleep(.2)Add a widget, call it "line", and a live plot appears.Libvis is a live object visualization tool, best used with jupyter notebook.A separate thread is created that checks the changes. No network requests performed in main thread.Values can be matplotlib figures, 1-d and 2-d arrays,
and even bokeh is supported!Documentationhttp://docs.webvis.dev