Saravanan666/pypi-org huggingface dataset:
Package: libcnml
LibCNMLlibcnmlis a CNML parser library for Python.[![Travis libcnml](https://travis-ci.org/PabloCastellano/libcnml.svg?branch=master)](https://travis-ci.org/PabloCastellano/libcnml)
[![Pypi libcnml](https://badge.fury.io/py/libcnml.png)](https://pypi.python.org/pypi/libcnml)
[![Downloads libcnml](https://img.shields.io/pypi/dm/libcnml.svg)](https://pypi.python.org/pypi/libcnml)It was part of the [Guifi.net Studio](https://github.com/PabloCastellano/guifinetstudio) project developed by Pablo Castellano
during Google Summer of Code 2012.What is CNMLCommunity Network Mark Up Language (CNML) is a project that aims to define an open ISO standard and scalable for describing mesh clouds, though it’s not limited to this kind of networks and nowadays it’s being used also in point to point infrastructure networks.CNML is a specification based on XML, which makes it easily extendible and readable for humans besides of computers. It includes some ideas from other implementations and previous concepts likenodeXchangeandSNDX.Some advantages of using CNML is that it allows to uncouple different functionalities independently of the web application used to show the data, reducing dependence from it and its internal tables of the database.You can read more about it on:
-http://cnml.info-http://en.wiki.guifi.net/wiki/CNMLInstallYou can install it by typing:python setup.py installor you can get it from PYPI by using pip:pip install libcnmlOptionally you can also install lxml (read the note below):sudo apt-get install libxml2-dev libxslt1-dev
pip install lxmllibcnml is also available in the Fedora/RHEL/CentOS/Scientific Linux [repositories](https://admin.fedoraproject.org/pkgdb/package/rpms/python-libcnml/).lxmllxml Python library does a better memory management and is faster than minidom (default XML library in Python).
If you want to manage big sets of nodes like Guifi.net World zone this definitely makes the difference.For example, these are the results opening a Guifi.net World zone with more than 17.000 nodes:
Minidom took ~23 seconds and 1,4GB RAM. Guifinetstudio window didn’t even appear. I had to reboot my laptop.
Lxml took ~4s and 284MB RAM. Guifinetstudio worked, moving through the map is difficult but possible.You can test it by your own:$ cat cnml1.py
from libcnml import *
c = CNMLParser(‘tests/detail’)$ time python cnml1.py
Using lxml which is more efficient
Loaded OKreal    0m3.974s
user    0m3.728s
sys 0m0.188s$ time python cnml1.py
lxml module not found. Falling back to minidom
Loaded OKreal    0m22.984s
user    0m21.997s
sys 0m0.868sLicenseThe code license is GPLv3+
Package: libcodebusters
libcodebusterslibcodebustersis my attempt at programming a variety of cipher encode and decode methods!Here's what it can do:EncryptDecryptAffineAffineAristocratAtbashAtbashCaesarBaconianHillCaesarRail FenceHillVigenerePatristocratRail FenceVigenereI used thenumpyandsympylibraries to createlibcodebusters.I'm always trying to add new features! If you have a cipher that you'd like to see me include, let me know and I'll give it a shot.
In addition, I'm aware that these methods may not be very efficient - if you have an idea for improving the performance of this code, tell me about it.
Package: libcommon
Python BoilerplatePython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://python-boilerplate.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-09)First release on PyPI.
Package: libcommons
Python BoilerplatePython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://python-boilerplate.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-09)First release on PyPI.
Package: libcoveoc4ids
Command lineCalllibcoveoc4idsand pass the filename of some JSON data.libcoveoc4ids tests/fixtures/api/basic_1.jsonCode for use by external usersThe only code that should be used directly by users is thelibcoveoc4ids.configandlibcoveoc4ids.apimodules.Other code (inlib, etc.) should not be used by external users of this library directly, as the structure and use of these may change more frequently.
Package: libcreator
Lib CreatorA small library to help you create new librariesInstallationpip install libcreatorGet startedHow to use it?importlibcreatornew_lib=libcreator.Library()new_lib.get_information()# this guides you throu the creation.new_lib.fill_in_information()# this formats the gathered informatinnew_lib.create_library()# this writes the new library directory# here you need to fill the .py file with the name of you library with your code.new_lib.compile_library()# this compiles teh directory to and .whlor just runpython-mlibcreator
Package: libcredit.py
libcredit aims to simplify extracting attribution information for
creative works from RDF metadata and formatting at as human-readable
credit line in various contexts.RDF metadataAttribution is retrieved from RDF data by looking for predefined core
properties in the graph. The properties include a subset of Dublin Core,
Creative Commons, XHTML vocabularies and other site-specific properties
(Open Graph, Flickr, etc.).The process used to extract a credit line from the metadata is
documented here (and you are welcome to contribute thoughts there, as
well as code to this library):https://github.com/commonsmachinery/credit-metadata-best-practicesSome things described in that process have not yet been implemented,
as indicated by open issues:https://github.com/commonsmachinery/libcredit/issues?state=open### CopyRDF addon for FirefoxCopyRDF firefox addon developed by converts RDFa metadata found in various
media hosting platforms to RDF. See the addon’s README for a list of tested
websites and usage instructions:https://github.com/commonsmachinery/copyrdf-addon/blob/master/README.mdImplementation and usagelibcredit is currently written for Python and JavaScript. See
README.language.md files for instructions and usage examples for the
libcredit implementations in these languages.The language-specific implementations are distributed as individual
files, but all are maintained in single repository at github:https://github.com/commonsmachinery/libcreditLicenseCopyright 2013 Commons Machineryhttp://commonsmachinery.se/Distributed under an GPLv2 license, please see LICENSE in the top dir.Contact:dev@commonsmachinery.se
Package: libcryptomarket
# libcryptomarket: Powerful cryptocurrency market analysis toolkit## Objective* Support API calls of top cryptocurrency exchanges* Support trading and analysis tools for cryptocurrency marketThe project aims to answer the following two questions:1. How to get historical data, especially a long period, in a single query?2. How to send exchange API query in an elegent fashion?## PrerequisitePython 3.5+## InstallationYou can install it via pip for static version```pip install libcryptomarket```or development version```pip install git+https://github.com/libcryptomarket/libcryptomarket.git```## API UsageThis library is to extend the library [ccxt](https://github.com/ccxt/ccxt) onmore powerful functions. So the supported exchanges are same as ccxt whilea few exchanges are extended with the following features. You just need toimport the exchange from libcryptomarket.### Candles```from datetime import datetimeimport libcryptomarketpoloniex = libcryptomarket.poloniex()candles = libcryptomarket.fetch_candles(symbol="ETH/BTC",start_time=datetime(2018, 1, 1),end_time=datetime(2018, 1, 30),frequency="30m")```### Latest candles```from datetime import datetimeimport libcryptomarketpoloniex = libcryptomarket.poloniex()candles = libcryptomarket.fetch_latest_candles(symbols=["ETH/BTC", "LTC/BTC"],frequency="30m",frequency_count=5)```### Supported exchanges| Exchange | candles | latest_candles ||---|---|---|| Poloniex | v | v || Bitfinex | v | v || GDAX | v | v |## Console UsageConsole usage is for exporting historical data.### Request candles```request-candles --exchange poloniex --symbols ETH/BTC LTC/BTC --frequency 30m --start-time 2018-01-01 --end-time 2018-01-31 --output test.csv```## ContributionThe project is targeting as a core but generic toolkit to query cryptocurrencymarket, so we are happy if you join to contribute and make it better. Pleasedo not hesitate to contact us (gavincyi at gmail dot com).=======History=======0.1.0 (2017-11-07)------------------* First release on PyPI.
Package: libcsce
OverviewPure Python library and set of scripts to extract and parse configurations (configs) fromCobalt Strike Beacons.
The library,libcsce, contains classes for building tools to work with Beacon configs.
There are also two CLI scripts included that use the library to parse Beacon config data:csce: Parses all known Beacon config settings to JSON,
mimicing theMalleable C2 profilestructure.list-cs-settings: Attempts to find by brute-force the associated Cobalt Strike version, and all settings/their types, of a Beacon config.
This script is useful for conducting research on Beacon samples.InstallationInstall from Pypi (preferred method)>pipinstalllibcsceInstall from GitHub with Pip>pipinstallgit+ssh://git@github.com/strozfriedberg/cobaltstrike-config-extractor.git#egg=libcsceInstall from Cloned Repo>gitclonessh://git@github.com/strozfriedberg/cobaltstrike-config-extractor.git>cdlibcsce>pipinstall.DependenciesThe only external non-development dependency ispefile,
which is required to decrypt Beacon configs from the.datasection of PE files.
RequiresPython 3.6+.Development dependencies include those specified inpyproject.tomlas well as:PoetryMakeGetting StartedcsceBoth of the CLI scripts support extracting Beacon configs from PE files (DLLs/EXEs) and memory dumps where a Beacon was running.
To parse a Beacon PE file to JSON, usecsce:>csce--pretty<path/to/file.{exe,dll,bin,dmp}>By default, the script will try to parse the Beacon as version3and, if that fails, try version4.
You can specify a version manually via the-vflag to save cycles if you know the Beacon is version4(using-v3doesn’t technically save cycles because the script tries that version first by default).list-cs-settingsTo discover new settings and while conducting research, sometimes it’s useful to extract possible all settings and their types from a Beacon sample.
Uselist-cs-settingsto detect by brute-force the Cobalt Strike version and all settings/types:>list-cs-settings<path/to/file.{exe,dll,bin,dmp}>This script produces JSON where the top-level key is the Cobalt Strike version number,
which points to a mapping from setting number to information about that setting, including:length (in bytes)offset from the beginning of the config sectionfundamental type (short, int, str)ContributingStroz Friedberg wants to work with the security community to make these open source tools the most comprehensive
available for working with Cobalt Strike Beacons. If you encounter a bug, have research to share on Beacons,
spot a typo in the documentation, want to request new functionality, etc. please submit an issue! If you want to contribute code
or documentation to the project, please submit a PR and we will review it!  All contributions will be subject to the license included in the repo.
Package: lib-curso-python-pro
libpythonproMódulo exemplo do curso PyToolsLink do cursoPython ProSuportada versão 3 de PythonPara instalar:python3 -m venv venvsource venv/bin/activatepip install -r requirements-dev.txtPara conferir qualidade do código:flake8Tópicos a serem abordados:GitVirtualenvPip
Package: lib-curso-python-pro-avellar
libpythonproMódulo para exemplificar construção de projetos Python no curso PyToolsNesse curso é ensinado como contribuir com projetos de código abertoLink para o cursoPython ProSuportada versão 3 de PythonPara instalar:pip install pipenvpipenv install --devPara conferir qualidade de código:pipenv run flake8Tópicos a serem abordados:GitVirtualenvPipMockPipenv
Package: libcv
# lib4cv
useful library for computer vision## commio_utils: read image, save image, preprocess image## DeomoFaceMorph## detection
face detection based on SFD, DLIB, and [RetinaFace][1], and [FaceBoxes][2]Uages:from libcv import facedetect## pytorch## example[1]:https://github.com/JPlin/face-detection[2]:https://github.com/cleardusk/3DDFA_V2/tree/master/FaceBoxes
Package: libcx
CX contact tracinglibcxprovides a Python abstraction for the data formats and
operations defined by theCX contact tracing
architecture.importlibcx# Construct a Preseed Value and Preseed Key Pairpreseed=libcx.Preseed.value(libcx.CX_GEN_AES_128_CTR_2048)key=libcx.Preseed.key()# Construct a Seed Calculatorseedcalc=libcx.SeedCalculator(libcx.CX_GEN_AES_128_CTR_2048,preseed,key)# Construct a Generatorgen=seedcalc.generator# Construct a list of Contact Identifiersids=list(gen)
Package: libdct
libdct: A library for audio processing by Discrete Cosine Transform (DCT)The library is to facilitate audio processing with  Discrete Cosine Transform.DCT are the kind of transforms that avoid doing signal process in complex Fourier space.
Since most deep networks are difficult to capture relations in complext space, DCT are good choices for extacting audio features or generating audio signal using deep learningThe wav graph of LJ001-0025.wav:The dct_spectrogram:installgit clonehttps://github.com/ranchlai/libdct.gitcd libdct && python setup.py installorpip install libdct --upgradeReference:[1] Method and device for conducting noise suppression on image, WO2015135208A1
Package: libddog
Datadog library and command line toolslibddog lets you define your metrics and dashboards in code and get the full benefit of a programming language to automate your monitoring setup.First you write the query:query=(Query("aws.elb.request_count").filter(region="us-east-1").agg("sum").by("availability-zone").as_count().rollup("sum",5*60))# produces:#   sum:aws.elb.request_count{region:us-east-1}#    by {availability-zone}.as_count().rollup(sum, 300)The query language closely resembles the Datadog syntax, but because it's Python code and not just a string it is validated and known to be well formed at definition time.Then you define what the graph looks like:Timeseries(title="ELB: total requests by AZ every 5min",requests=[Request(queries=[query],display_type=DisplayType.BARS,),],size=Size(height=3,width=5),)This gives you the widget you want, with all the parameters supported by the Datadog UI.Learn more in theUser guide.The state of the projectlibddog is a young project and currently supports a small but useful subset of dashboard functionality. See theFeature supportpage for details.We plan to support more dashboard features over time. We also plan to support monitors.Want to know what's new in the project? Read theCHANGELOG.Want to contribute? Start by reading theMaintainer guide.
Package: libdeprecation
deprecationThedeprecationlibrary provides adeprecateddecorator and afail_if_not_removeddecorator for your tests. Together, the two
enable the automation of several things:The docstring of a deprecated method gets the deprecation details
appended to the end of it. If you generate your API docs direct
from your source, you don’t need to worry about writing your own
notification. You also don’t need to worry about forgetting to
write it. It’s done for you.Rather than having code live on forever because you only deprecated
it but never actually moved on from it, you can have your tests
tell you when it’s time to remove the code. The@deprecateddecorator can be told when it’s time to entirely remove the code,
which causes@fail_if_not_removedto raise anAssertionError,
causing either your unittest or py.test tests to fail.Seehttp://deprecation.readthedocs.io/for the full documentation.Installationpip install libdeprecationUsageimport deprecation

@deprecation.deprecated(deprecated_in="1.0", removed_in="2.0",
                        current_version=__version__,
                        details="Use the bar function instead")
def foo():
    """Do some stuff"""
    return 1…but doesn’t Python ignoreDeprecationWarning?Yes, by default since 2.7—and for good reason[1]—and this works fine
with that.It often makes sense for you to run your tests with a-Wflag or
thePYTHONWARNINGSenvironment variable so you catch warnings
in development and handle them appropriately. The warnings raised by
this library show up there, as they’re subclasses of the built-inDeprecationWarning. See theCommand LineandEnvironment Variabledocumentation for more details.Even if you don’t enable those things, the behavior of this library
remains the same. The docstrings will still be updated and the tests
will still fail when they need to. You’ll get the benefits regardless
of what Python cares aboutDeprecationWarning.[1]Exposing application users toDeprecationWarnings that are
emitted by lower-level code needlessly involves end-users in
“how things are done.” It often leads to users raising issues
about warnings they’re presented, which on one hand is done
rightfully so, as it’s been presented to them as some sort of
issue to resolve. However, at the same time, the warning could
be well known and planned for. From either side, loudDeprecationWarnings can be seen as noise that isn’t
necessary outside of development.
Package: libdep-service-python
-*- rst -*-=======================libdep-service-python=======================libdep-service-python is a client for libdep-service, the canonical instanceof which you can find at <http://libdep-service.ubuntu.com>.Licensing=========All files are Copyright (C) 2012  Canonical Ltd.This program is free software: you can redistribute it and/or modifyit under the terms of the GNU Affero General Public License as published bythe Free Software Foundation, version 3 of the License.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public Licensealong with this program.  If not, see <http://www.gnu.org/licenses/>.Running=======At the moment, there is no way to run libdep-service-python.Getting help============If you'd like help with libdep-service-python, you can find the developers onFreenode in #pkgme.  Alternatively, join the mailing list and send an email toit.
Package: libdescriptor
LibdescriptorSupported Python versions: 3.8, 3.9, 3.10Libdescriptor is a high performance descriptor library for providing access to fully differentiable descriptor functions.
Whilelibdescriptoris a general purpose descriptor library, it's API compatible with KIM models and associated projects.
This will also provide uniform access to various selected descriptors for KLIFF using Pybind11 ports.
For gradient calculations, Libdescriptor relies onEnzyme AD, which provides it with capability to trivially generate near analytical performance gradient functions.
Use of Enzyme AD enables Libdescriptor to not only provide gradients against coordinates, but against hyperparameters as well, thus opening way for better optimized descriptors.
This should enable rapid development, extension and deployment of various descriptors.InstallationFor AMD/Intel based Linux systems, we provide a precompiled binary package for libdescriptor. It can be installed usingpipinstalllibdescriptorGithub Source:libdescriptor
Package: libdev
LibDevDevelopment library — Set of standard functions for developmentGitHub|PyPISubmodulesSubmoduleDescriptionlibdev.cfgConfiguration gettinglibdev.numNumeric conversions & handlerslibdev.timeTime processinglibdev.langNatural language formatterslibdev.genCode & token generatorslibdev.codesCiphers: langs & flags / networks / user statuseslibdev.devDevelopment toolslibdev.finFinancial codes and toolslibdev.checkChecking functionslibdev.docDocuments handlerslibdev.s3S3 file server functions
Package: libdevpro
libdevproMódulo para exemplificar a construção de projetos Python no curso PyToolsLink para o cursoDevProSuportada versão 3 do PythonPara instalar:python3 -m venv .venvsource .venv/bin/activatepip install -r requirements-dev.txtPara conferir qualidade de código:flake8Tópicos a serem abordados:GitVirtualenvPipIntegração contínua com GitHub Actions
Package: libdeye
libdeyeA Python library to connect toDeye 德业Cloud and control Deye dehumidifier devices.Supported devices:DYD-612SDYD-6158EB/6160ADYD-B12A3DYD-D50A3DYD-D50B3DYD-E12A3DYD-G25A3DYD-N20A3DYD-RLS48A3DYD-T22A3DYD-TM208DYD-U20A3DYD-V58A3DYD-W20A3DYD-W20A3-JDDYD-X20A3DYD-Z12A3DYD-Z20B3DYD-Z20B3-QMXDYD-890CDYD-6138ADYD-8138CDYD-S12A3DYD-620SDYD-F20C3DYD-JD121ECDYD-JD201FCFor devices not in the above list, consideradding your own definitions here.Example Usageimportasyncioimportaiohttpfromlibdeye.cloud_apiimportDeyeCloudApifromlibdeye.device_state_commandimportDeyeDeviceStatefromlibdeye.mqtt_clientimportDeyeMqttClientasyncdefmain():asyncwithaiohttp.ClientSession()asclient:cloud_api=DeyeCloudApi(client,"your-login-phone-number-here","your-password-here")awaitcloud_api.authenticate()devices=awaitcloud_api.get_device_list()mqtt_info=awaitcloud_api.get_mqtt_info()mqtt=DeyeMqttClient(mqtt_info["mqtthost"],mqtt_info["sslport"],mqtt_info["loginname"],mqtt_info["password"],mqtt_info["endpoint"],)mqtt.connect()product_id=devices[0]["product_id"]device_id=devices[0]["device_id"]defon_deye_device_state_update(state:DeyeDeviceState)->None:print(f"Device state updated. Current humidity:{state.environment_humidity}")ifstate.environment_humidity<60:state.power_switch=False# Turn off the power switchmqtt.publish_command(product_id,device_id,state.to_command().bytes())mqtt.subscribe_state_change(product_id,device_id,on_deye_device_state_update,)loop=asyncio.get_event_loop()loop.create_task(main())loop.run_forever()
Package: libdgus
python-dgusA python library to control DGUS based displays.This library is currently under development so API may change from time to time.The public API can be considered as stable, as soon the v1.0.0 is reached.Build Prepartionscreate python virtual environmentpython -m venv venvinstall dependeciespip install -r requirements.txtBuild librarypython setup.py bdist_wheelContributeIf you want to contribute to this project please make your changes and create a Pull Request.LicenseThis library is licensed under theGPLv3
Package: libdiferentepypi
libpythonproMÃ³dulo para exemplificar a construÃ§Ã£o de projetos Python no curso Pytools.
Nesse caso Ã© ensinado como contribuir com projetos de cÃ³digo aberto.LINK DO CURSO:Python ProPara instalar:
'''python 3 -m venv .venv
source .ven/bin/activate
pip install -r requirements-dev.txt'''Para conferir qualidade do cÃ³digo:
'''flake8'''
Package: libdnb
LibDNBThis project isheavilyinspired bycalibre-dnbAboutI needed a way to fetch basic book metadata from the German National Libraries "API", I foundcalibre-dnb, but it is not suitable for my usage case, so I modified it.
You can visit the portal here:portal.dnb.de.Get startedObtain TokenYou need to apply for an API-Key atschnittstellen-service@dnb.dein order to get access to the catalogue. This library uses theSRU-API, you need aSRU Access Token.Installationpip install libdnbUsageCode Example:importlibdnbdnbclient=libdnb.LibDNB("Your-SRU-Access-Token-Here")result=dnbclient.lookup("9783346111098")# ISDN, Title, or any other metadata to search for hereifresult:# Result might be None if nothing was foundprint(result["title"])FieldsKeyDatatypetitleStringauthorsStringauthor_sortListlanguagesListpubdatedatetime.datetimepublisher_locationStringpublisher_nameStringsubtitleStringtagsListcommentsStringisbnStringurnStringidnStringddcStringNote that some fields might be empty, you have to figure out on which fields you want to rely upon.
Package: libdnf5-shim
libdnf5-shimlibdnf5 shim module for usage in virtualenvs.Inspired byhttps://github.com/packit/rpm-shim.Linkslibdnf5-shim project hublibdnf5-shim git.sr.ht repolibdnf5-shim trackerlibdnf5-shim mailing list(~gotmax/libdnf5-shim@lists.sr.ht)ContributingSeeCONTRIBUTING.md.LicenseThis repository is licensed underSPDX-License-Identifer: MIT