Saravanan666/pypi-org huggingface dataset:
Package: libsshfp
Python-libsshfpThis is a tiny python library to handle and validate SSHFP DNS records.It validates SSHFP records against permitted values from RFC 4255, RFC 6594, RFC 7479 and RFC 8709.InstallationUse pip to install the package:pip install libsshfp.UsageFirst, find a text-based SSHFP DNS record, i.e. from gnu.org:$> dig SSHFP gnu.org +short
1 1 A2B0FA94793B921FC7A835A313CE8557F8D989E1Then import the library and let it do its magic:>>> from libsshfp import SSHFP
>>> sshfp = SSHFP.from_string("1 1 A2B0FA94793B921FC7A835A313CE8557F8D989E1".lower()) 
>>> sshfp.algo_stringified()
'RSA'
>>> sshfp.type_stringified()
'SHA1'
>>> sshfp.fingerprint
'a2b0fa94793b921fc7a835a313ce8557f8d989e1'

>>> sshfp.to_dict()
{'algo': 'RSA', 'type': 'SHA1', 'fingerprint': 'a2b0fa94793b921fc7a835a313ce8557f8d989e1', 'domain': None, 'timestamp': None}
>>> sshfp.to_json()
'{"algo": "RSA", "type": "SHA1", "fingerprint": "a2b0fa94793b921fc7a835a313ce8557f8d989e1", "domain": null, "timestamp": null}'TODOSContributions are welcome! Feel free to create a merge request :-)Create more documentationFurther improve the library (?)
Package: libs-shopee
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildUpload to pypitwine upload dist/*Referenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: libssp-py
libssp-pyA pure-Python implementation of theSimple Streaming Protocol(SSP), used by ImagineVision on their "Z CAM" cameras and accessories.StatusThis Python implementation is mainly intended to ease further development and research into this protocol. While some care has been taken to make it perform well, lag is entirely expected. Once enough is known about the protocol, my plan is to re-write the library in Rust - that library will be intended for production use, while this one will remain for testing.Is has only been tested with theZ CAM IPMAN S, as I don't have any other Z CAM devices. If anyone can get this working with other devices, please let me know.LegalThis project is not affiliated with ImagineVision and does not use the officiallibssp. It was developed from scratch, primarily by analyzing the network traffic of the official SSP library and Z CAM mobile apps.It is licensed under the LGPL v3, meaning you are free to use it in both open-source and proprietary applications, however, any changes you make to the library itself must be published (preferably in a fork of this repository).
Package: libstempo
libstempolibstempois a Python wrapper around thetempo2pulsar timing package.Installationconda Installlibstempois installed most simply viacondaas thetempodependency
is bundled in the conda recipe. Simply usecondainstall-cconda-forgelibstempopip InstallTo uselibstempowith pip (or from source), tempo2 must be installed as a prerequisite. Currently there are two recommended methods to do this.Install via script.curl-sSLhttps://raw.githubusercontent.com/vallis/libstempo/master/install_tempo2.sh|shThis will install the tempo2 library in a local directory ($HOME/.local). This method is recommended if you do not need to use tempo2 directly but just need the installation forlibstempo. You can also set the path to the install location. For example, to install in/usr/local, you could run:# need sudo if installing in a restricted locationcurl-sSLhttps://raw.githubusercontent.com/vallis/libstempo/master/install_tempo2.sh|sudosh-s/usr/localInstall via theinstructionson the tempo2 homepage. If this method is used, theTEMPO2environment variable will need to be set to uselibstempo.In either case, it is best practice to set theTEMPO2environment
variable so that it can be easily discovered bylibstempo.Thelibstempopackage can be installed viapip:pipinstalllibstempoTo useastropyfor units:pipinstalllibstempo[astropy]If you have installedtempo2in a location that is not in your path or not the default frominstall_tempo2.sh, you will need to installlibstempowith an environment variable (e.g. iftempo2is in/opt/local/bin)TEMPO2_PREFIX=/opt/localpipinstalllibstempoorexportTEMPO2_PREFIX=/opt/local
pipinstalllibstempoUsageSeeDemo Notebook 1for basic usage andDemo Notebook 2for simulation usage.
Package: libstorages
.. CloudStore documentation master file, created bysphinx-quickstart on Thu Dec 13 12:34:06 2012.You can adapt this file completely to your liking, but it should at leastcontain the root `toctree` directive.====================================CloudStore: 提供统一的存储云访问接口====================================.. image:: https://travis-ci.org/bukaopu/cloudstore.png为各种云提供统一的访问接口，一是方便切换存储云，二让多点冗余更加方便，几行简单的代码就能搞定。这个项目的完成度还非常的低，希望加入一起加速这个产品的同学可以联系我，或者直接Pull & Request给我。列表Bucket----------:doc:`对象参考 <ref/domains>`>>> import os>>> from cloudstore import Store, OSSConfig>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )>>> store.get_all_buckets ( )[<Bucket: source1 created at 2012-05-24T09:52:16.000Z>, <Bucket: bukaopu created at 2012-11-30T14:48:31.000Z>]列出对象----------:doc:`Store参考 <ref/store>`>>> import os>>> from cloudstore import Store, OSSConfig>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )>>> store.get_all_objects ( "bukaopu", delimiter = "/" )[<CommonPrefix: "avatar/">, <CommonPrefix: "css/">, <CommonPrefix: "highlight/">, <CommonPrefix: "icons/">, <CommonPrefix: "img/">, <CommonPrefix: "js/">, <Object: .gitignore>, <Object: rubygems-1.3.6.tgz>]创建对象-------->>> import os>>> from cloudstore import Store, OSSConfig>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )>>> string_data = "hello, world !!!"Contents:.. toctree:::maxdepth: 2Indices and tables==================* :ref:`genindex`* :ref:`modindex`* :ref:`search`
Package: libstored
(py)libstored -- Store generator and Embedded Debugger clientlibstoredis a generator for a C++ class
(store) with your application's variables, and a tool set to synchronize
updates between processes (including FPGA), and debug it remotely. Refer to thedocumentationfor details and
examples.This Python package contains:The generator itself.The client implementation of the Embedded Debugger protocol (version 2), and
a few helper classes and modules to debug your application.The synchronization protocol of libstored is not available in python (yet?).GeneratorIn short, to generate the store, runpython3 -m libstored.cmake, which
produces aFindLibstored.cmakefor you. Then, callfind_package(Libstored)in yourCMakeLists.txt. Afterwards, the CMake functionlibstored_generate()can be used to create the store (C++ header/source files, VHDL package,
documentation) for you and build it as a static library.This library includes the Debugger, which provides the server side of the
Debugging client below.Debugging clientExecute these modules likepython3 -m libstored.gui, optionally with-hargument to get some more help:libstored.gui: a GUI that connects to a debug target.  The GUI has by
default high DPI support. If the scaling is not satisfactory, try setting theQT_SCALE_FACTORenvironment variable before starting the GUI, or use
Ctrl+Scroll wheel to dynamically resize the fonts.libstored.cli: a command line interface that connects to a debug target.libstored.wrapper.stdio: a stdin/stdout wrapper, which is a bridge between
Embedded Debugger messages within the stdin/stdout streams of the application
to a ZeroMQ socket interface, which in turn can be used to connectlibstored.guiorlibstored.clito.libstored.wrapper.serial: likelibstored.wrapper.stdio, but usingpyserialinstead of stdin/stdout.libstored.log: command line tool that connects to a debug target and logs
samples to CSV.  It is equivalent to passing-ftolibstored.gui, but
this tool allows easier automation of a specific set of samples.Interesting classesThe following classes are particularly interesting:libstored.ZmqClientlibstored.ZmqServerlibstored.Stdio2Zmqlibstored.Serial2Zmq
Package: libsumo
Eclipse SUMO - Simulation of Urban MObilityWhat is SUMO"Simulation of Urban MObility" (SUMO)is an open source,
highly portable, microscopic traffic simulation package designed to handle
large road networks and different modes of transport.It is mainly developed by employees of theInstitute of Transportation Systems
at the German Aerospace Center.Where to get itYou can download SUMO via ourdownloads site.As the program is still under development and is extended continuously, we advice you to
use the latest sources from our GitHub repository. Using a command line client
the following command should work:git clone --recursive https://github.com/eclipse-sumo/sumoContactTo stay informed, we have a mailing list for SUMO, whichyou can subscribeto.
Messages to the list can be sent tosumo-user@eclipse.org.
SUMO announcements will be made through thesumo-announce@eclipse.orglist;you can subscribeto it as well.
For further contact information, have a look atthis page.Build and InstallationFor Windows we provide pre-compiled binaries and CMake files to generate Visual Studio projects.
If you want to develop under Windows, please also clone the dependent libraries usinggit clone --recursive https://github.com/DLR-TS/SUMOLibrariesIf you're using Linux, you should have a look whether your distribution already contains sumo.
There is also appa for ubuntu usersand anopen build service instance.
If you want to build sumo yourself, the steps for ubuntu are:sudo apt-get install cmake python g++ libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgl2ps-dev swig
cd <SUMO_DIR> # please insert the correct directory name here
export SUMO_HOME="$PWD"
mkdir build/cmake-build && cd build/cmake-build
cmake ../..
make -j$(nproc)Fordetailed build instructions, have a look at our Documentation.Getting startedTo get started with SUMO, take a look at the docs/tutorial and examples directories,
which contain some example networks with routing data and configuration files.
There is also user documentation provided in the docs/ directory and on the
homepage.DocumentationThe main documentation is atsumo.dlr.de/docs. Note, that this tracks thedevelopment version.A mirror of the main documentation is atsumo.sourceforge.net/docs.An offline version of the documentation is part of every release and can be accessed viadocs/userdoc/index.html.Improving SUMOPlease use theGitHub bug tracking toolfor bugs and requests,
or file them to the listsumo-user@eclipse.org. Before
filing a bug, please consider to check with a current repository checkout
whether the problem has already been fixed.We welcome patches, pull requests and other contributions! For details seeour contribution guidelines.We useWeblate for translating SUMO. If you
want to add translation strings or a language, seeour contribution guidelines.LicenseSUMO is licensed under theEclipse Public License Version 2.
For the licenses of the different libraries and supplementary code information is in the
subdirectories and theDocumentation.
Package: libsv
Welcome to LibSV!Click here to go to LibSV’s
documentation.LibSV is an open source, parameterized SystemVerilog digital hardware IP library.
While similar libraries may already exist, LibSV is unique in that it takes advantage
of open-source, state-of-the-art development best practices and tools from across the
software and digital design community, including:Trivial installation.LibSV is hosted on PyPIand can easily be installed usingpipor whichever Python package manager of your choice.Easy-to-use. Simply add`include"libsv/<path>/<to>/<module>.sv"to where you want to use a LibSV module and then add thesite-packages/folder, where LibSV was installed, to the include path when building your project.Automated testbenches, written in Python, that usepytestto runCocotb+Verilatorunder the hood for
simple and fast logic simulationAll testbenches output waveform files in FST format for viewing withGTKWaveExtensive documentionusingSphinxAutomated formatting and lint checks usingVeribleContinuous integration (CI) workflowsintegrated withDockerLibSV Docker imagespublished toDocker HubGetting StartedLibSV is very easy to use. First, install thelibsvpackage from PyPI:pipinstalllibsvWe recommend using a Python virtual environment so that the installation is project-specific and
isolated from the rest of your system.Then add thesite-packages/folder, where LibSV was just installed, to your include path when building your
project so that your design tools can find LibSV.Finally, at the top of your design file where you want to use LibSV modules, for each module you want to use, add:`include"libsv/<path>/<to>/<module>.sv"Running TestbenchesRunning the LibSV testbenches requireCocotb,Verilator, and a number of other dependencies to be installed.
Instead of trying to install everything manually on your machine, the easier and recommended way to run the
LibSV testbenches is to use the pre-builtLibSV Docker images on Docker Hubthat have the
complete set of LibSV developer tools already installed.To use a LibSV Docker image, first you’ll need to installDocker,
if you don’t already have it.Next, pull the latest LibSV Docker image:dockerbuild--pull-fDockerfile.dev\--build-argUID=$(id-u)\--build-argGID=$(id-g)\-tlibsv.Then, start a new Docker container using the LibSV image and mount the project folder to the container:dockerrun--rm-it-v$(pwd):/codelibsvFinally, within the Docker container, runpytest:pytestThis will run all the LibSV testbenches for the entire library (Warning: This may take a while!).Instead, to list all the available LibSV testbenches, run:pytest--coThen, you can run an individual or subset of testbenches using the-kflag which will only run tests which
match the given substring expression:pytest-kEXPRESSIONEach testbench generates an associated.fstwaveform file that is written to thebuild/directory and can be
viewed usingGTKWave.Bugs/Feature RequestsPlease useLibSV’s GitHub issue trackerto submit bugs or request features.ContributingContributions are much welcomed and appreciated! Take a look at theContributingpage to get started.LicenseDistributed under the terms of theMITlicense, LibSV is free
and open source software.
Package: libsvm
LibSVMDescriptionPre-built LibSVM packages for Python.What is LibSVM?Crated by Chih-Chung Chang and Chih-Jen Lin, LIBSVM is an integrated
software for support vector classification, (C-SVC, nu-SVC), regression
(epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM). It
supports multi-class classification.Original LinksRepository:https://github.com/cjlin1/libsvmLibrary website:https://www.csie.ntu.edu.tw/~cjlin/libsvmPurpose of this packageThe idea behind this package is to use the same code as inhttps://github.com/cjlin1/libsvmusing the very convenient pip commandHow to installpip install libsvmExampleDownloadhttps://github.com/cjlin1/libsvm/blob/master/heart_scalefile.Run the following commands>>> from libsvm.svmutil import *
>>> y, x = svm_read_problem('path/to/heart_scale')
>>> m = svm_train(y[:200], x[:200], '-c 4')
*.*
optimization finished, #iter = 257
nu = 0.351161
obj = -225.628984, rho = 0.636110
nSV = 91, nBSV = 49
Total nSV = 91
>>> p_label, p_acc, p_val = svm_predict(y[200:], x[200:], m)
Accuracy = 84.2857% (59/70) (classification)WindowsThe package contains a pre-built Windows binary that is only compatible with 64 bits architecture; therefore,
32 bits architecture is not compatible.CygwinIn case that you want to install this package using Cygwin, you have to make sure that the
following packages are installed:gcc-g++ >= 7.0.0python38python38-develpython38-pipSome good tutorials to install Cygwin packages are the following:https://wiki.usask.ca/display/MESH/Running+Python+from+the+Cygwin+Terminalhttps://www.davidbaumgold.com/tutorials/set-up-python-windows/#installing-cygwinCopyrightCopyright (c) 2000-2018 Chih-Chung Chang and Chih-Jen Lin All rights
reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither name of copyright holders nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.MaintainerRicardo Ocampome@ocampor.ai
Package: libsvm2csv
libsvm2csvInstallationpip install libsvm2csvConvert LIBSVM format into CSVfrom libsvm2csv import convert
convert("libsvm-data.txt", "data.csv")libsvm-data.txt1 qid:1 2:0.14  4:0.97  5:0.45
0 qid:1 1:0.15  3:0.75  2:0.24  4:0.6
2 qid:1 1:0.71  2:0.36  3:0.58  5:0.12
0 qid:2 4:0.79  3:0.01  2:0.05  5:0.27
3 qid:2 1:0.42  2:0.79  3:0.30  4:0.76data.csvindex,target,qid,1,2,3,4,5
0,1,1,0,0.14,0,0.97,0.45
1,0,1,0.15,0.24,0.75,0.6,0
2,2,1,0.71,0.36,0.58,0,0.12
3,0,2,0,0.05,0.01,0.79,0.27
4,3,2,0.42,0.79,0.30,0.76,0
Package: libsvmdata
A python util to fetch datasets from the LIBSVM website.Getting design matrix and target variable is as easy as:from libsvmdata import fetch_libsvm
X, y = fetch_libsvm("news20.binary")Currently supported datasets are inlibsvmdata.supported.The datasets are saved in a subfolderlibsvminsidelibsvmdata.datasets.DATA_HOME, whose value is:the environment variable LIBSVMDATA_HOME if it exists,else, the environment variable XDG_DATA_HOME if it exists,else, $HOME/data.
Package: libsword
This is an extracted form of theSwordbindings.If you are building Sword from source, you can just define-DSWORD_PYTHON_3:BOOL=TRUEto your CMake bindings
and build this library directly from there. If you want to pull this package directly into a set of Python
dependencies, then you can point here. I will try my best to maintain keeping this up-to-date.
Package: libtable
Welcome to libtablePython library for cli tablesWork in ProgressMain featuresTODORoadmapTODOWelcome to libtableInstallationUsageBuildDependenciesAuthorIssuesLicenseInstallationTODOUsageTODOBuildTODODependenciesPython Librariespython-prompt-toolkitPython Development LibrariespoetryAuthorSébastien Guerri -github pageIssuesContributions, issues and feature requests are welcome!Feel free to checkissues page. You can also contact me.LicenseCopyright (C) 2022 Sebastien Guerrilibtable is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.libtable is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with libtable. If not, seehttps://www.gnu.org/licenses/.
Package: libtaipower
Taipower LibraryFeatureA Python library for retrieving Taipower data.Supported devicesTaipower AMI electric meter 臺電 AMI 電錶AMI info (quarter/hourly/daily/monthly) AMI 資訊 (十五分/每小時/每日/每月)AMI bill AMI 帳單AMI unbilled AMI 未出帳帳單Bill records 帳單紀錄Taipower electric meter 臺電一般電錶Bill records 帳單紀錄InstallationPython Librarypip install libtaipowerHome Assistant IntegrationSeetaipower-ha.DocumentationSeedocs.LicenseApache License 2.0