Saravanan666/pypi-org huggingface dataset:
Package: py3odb
py3odbPython 3.6+ compatible interface to ECMWF’s ODB APIOverviewODB API was developed by theEuropean Centre for Medium-Range Weather
Forecastsfor “encoding and processing of observational data.” TheODB APIprovides an SQL-like interface called odbsql, along with a
Python 2 compatible API.This module was written to provide an interface to ODB API using Python
>=3.6. It requires access to libOdb provided by ODB API.Usagepy3odb follows thePython Database API Specification:import py3odb
connection = py3odb.connect('foo.db')
cursor = connection.cursor()
cursor.execute('SELECT * FROM "foo.db"')
for row in cursor:
    print(row)
connection.close()For single queries, there is a Reader context manager and <odb> tag:import py3odb
with py3odb.Reader('foo.db', 'SELECT * FROM <odb>') as odb_reader:
    for row in odb_reader:
        print(row)Known LimitationsThe intent of this library is to read odb2 files generated by theUnified Modelfor the purpose of observation monitoring. The
underlying odbql interface to the ODB API provided by ECMWF does not
support database operations in a traditional sense. For example: * as
of ODB API version 17.6, odbql only supports 8 character strings * only
the most recent INSERT command is accepted * you cannot open an
existing odb file and do an INSERTReferenceshttps://py3odb.readthedocs.iohttps://www.python.org/dev/peps/pep-0249https://confluence.ecmwf.int/display/ODBAPI
Package: py3office
py3office⏰ 提供python3版本的自动化办公常用处理方法使用首先需要进行安装：pip3 install py3office然后就可以使用了，下面列出所有可用内容：handler 基本辅助相关PDF文件相关操作版权MIT LicenseCopyright (c)zxl20070701走一步，再走一步
Package: py3o.renderclient
Overviewpy3o.renderclient is a client library that can be used to easily integrate with
the py3o.renderserver to transform LibreOffice/OpenOffice documents into PDF.http://bitbucket.org/faide/py3o.renderserverThis architecture was designed to avoid the pyuno dependency in the client program.
Depending on pyuno is really complicated on some plateforms.Using this client you can leverage a distant (or local) renderserver to transform
documents for you with nearly no code.ExampleHere is a sample minimalistic client that considers you have a renderserver running
on localhost:from py3o.renderclient import RenderClient

client = RenderClient('localhost', 8994)
client.login('toto', 'plouf')
client.render('py3o_example.odt', 'py3o_example.pdf', 'pdf')For the moment the login/password phase is not checked by the server, but we aim to
add an authentication layer in the future.StatusSince we are still in pre 1.0 releases we may change the API and add more functionnalities,
now is a good time to give feed-back and feature requests.
Package: py3o.renderers.pyuno
pyuno for py3opy3o.renderers.pyuno is a pyuno based driver for py3o to transform
an OpenOffice document into a PDF or other supported format.PrerequisitesYou will need an installed version of Open-/LibreOffice.This has been tested with LibreOffice 4.0 on Linux and LibreOffice 4.2 on
Mac OS X.Important NoteWindowsWindows is currently not supported by the pyuno driver (Patches are welcome!).
It is recommended to use the java based driver py3o.renderers.juno which is
really easier to deploy on Windows.Linux / Mac OS XIf you are under Linux or Mac OS X, this driver will work with your system
python as long as pyuno is correctly installed. It is not possible to call the
pyuno bride directly if python shipped with Open-/LibreOffice has not the same
version as the system python. To circumvent this problem the driver tries to
determine the paths to the python version of Open-/LibreOffice and spawns a
child proccess for the conversion which runs within this python environment.UsageExample with explicit output format:from py3o.renderers.pyuno import Convertor

c = Convertor()

c.convert("py3o_example.odt", "py3o_example.out", "pdf")Example with guessing the output format:from py3o.renderers.pyuno import Convertor

c = Convertor()

c.convert("py3o_example.odt", "py3o_example.pdf")Example with explicit host and port:from py3o.renderers.pyuno import Convertor

c = Convertor(host="127.0.0.1", port="8997")

c.convert("py3o_example.odt", "py3o_example.pdf")For more information please read the API documentation.LicenseThis software is licensed under the MIT LicenseChangelog0.5 2014-11-20Ignore errors of ended spawned office clients if the cause of the error was a
signal. Older versions of OpenOffice sometime fail with sigsev (11) after the
document conversion.0.4 2014-11-07Allow to specify search path for the office installationAllow to guess the output format from the output file extensionSupport the system python environment when running the conversionSupport for older Office-/Libreoffice versions which don’t understand –
parameters (e.g. OpenOffice 3.2)0.3 2014-10-14Support for Mac OS XUsing the new common package for format declarations py3o.formatsFixed problems with starting the OfficeSpawnedClient within the
Open/-LibreOffice python environmentContributors by alphabetic orderAide FlorentBjörn RicksIf anyone is missing to this list please let us know!
Package: py3o.renderserver
OverviewThis is a rendering server that will wrap an OpenOffice/LibreOffice server and provide
a pythonic API which is remotely callable.The main advantage is that your client code does not need to import pyuno… This
is a main plus because pyuno is a pain to get working on Windows and some flavors of
Linux, don’t even think of Mac :)Once you deploy a py3o.renderserver all you need in your python code is to use thepy3o.renderclientwhich is really straightforward…DeploymentWe recommend you use the dockerized versions from thedockerhubUsing this way you’ll get the latest tested version of LibreOffice and
py3o.renderserver without the hassle of building all the dependencies…If you want to have templating fusion & document convertion in one
single web service usable from any language with just HTTP/POST you can installpy3o.fusionserver. Which also exists as adocker imageManual InstallationRequirementsInstall the latest JDK for your plateform. Here is an example for
Ubuntu (13.04 or 14.04):apt-get install default-jdkThis will give you the necessary tools to compile the juno driver.You will need to install (and compile) thepy3o.renderers.junodriver.Follow the instructions from the driver’s documentation to install it and
then you’re ready to start your own RenderServerRunning the serverHere is how we start the server on a Linux host (Ubuntu 16.04):$ start-py3o-renderserver --java=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so --ure=/usr/lib/libreoffice --office=/usr/share --driver=juno --sofficeport=8997You MUST have a  running LibreOffice (OpenOffice) server somewhere. In our example it is running on localhost with port 8997. Here is how you can start such a server on Linux (Ubuntu 13.04 / LibreOffice 4.0.4):$ libreoffice --nologo --norestore --invisible --headless --nocrashreport --nofirststartwizard --nodefault --accept="socket,host=localhost,port=8997;urp;"As you can see it works with OpenJDK, LibreOffice and even on 64bit systems :)
Package: py3o.types
IntroductionThis module implements new, configurable data types that are intended to be
used along with Py3o templates.These data types should be used in the data source dictionary, as a
replacement to builtin (int, float…) and standard (date, time…) types.
Their rendering is based on a configuration that can be saved and loaded
as custom properties inside a ODF file.Full DocumentationWeprovide a documentationfor this package.Changelog0.1.1 May 25 2016Fixed Unicode configuration values in Python 20.1 Apr. 14 2016Py3o types for integer, float, date, time, datetimeImport/export configuration from the custom settings of a ODF fileJSON encoding and decoding
Package: py-3parencryptor
py-3parencryptor======================This package provides the user using HPE 3PAR Array as their storage on platforms like docker, k8s and openshift a functionality by whuch they can encrypt their passwords present in configurstion file (hpe.conf).hpe.conf is a configuration file for accessing 3PAR array.Downloading the package=======================Tis package can be downloaded from pip. Use below command for downloading the package::$pip install py-3parencryptorPre-requisite and Enviornment=====================================* Linux(CentOS, Ubuntu, Red Hat, etcd)* Docker installed* etcd container running* hpe.conf configured properly on /etc/hpedockerplugin/hpe.conf* etcd parameters propelry mentioned in hpe.conf### UsageWhen py-3parencryptor is installed on machine. It can be used with the help of hpe3parencryptor command like below.You have to  use the same passphrase to encrypt all the passwords for a backend.There can be 4 possible password:1. hpe3par_password2. san_password3. hpe3par_password for replication array4. san_password for replication array.After generating the password replace the password with encrypted one.````#hpe3parencryptor -a <passphrase> <password>Example:#hpe3parencryptor -a "@123#" "password"SUCCESSFUL: Encrypted password: +CB1E8Je1j8=````#### Add the encrypted password in /etc/hpedockerplugin/hpe.confUse the encrypted password generated by utility as hpe3par_password in hpe.confenable the plugin now#### Running the utility with -d optionIf user wants to remove the current encrypted password and replace it with plain text or new encrypted password,user need to delete the current password by using -d option in the utility.````# hpe3parencryptor -dKey Successfully deleted````## For Multiple backend#### Encrypting a specific backend- When multiple backend present in the configuration file(hpe.conf). User can use the utility to encrypt the password on backend basis.- With --backend option user can provide the backend for which backend they want to encrypt the passwords.````#hpe3parencryptor -a <passphrase> <password> --backend <backend_name>````#### Removing encrypted password from a specific backendUsers can remove the encrypted password of a specific backend. Users can use the utility to delete that.There is an additional optional argument with -d, --backend.````# hpe3parencryptor -d --backend <backend_name>````#### Note :````If --backend is not used, in both the case (-a and -d), package will take the default backend for performing the operations.````
Package: py3-pilo
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.Description: README.rst
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 4 - Beta
Classifier: Natural Language :: English
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Provides-Extra: tests
Package: py3-progressbar
Text progress bar library for Python.A text progress bar is typically used to display the progress of a longrunning operation, providing a visual cue that processing is underway.The ProgressBar class manages the current progress, and the format of the lineis given by a number of widgets. A widget is an object that may displaydifferently depending on the state of the progress bar. There are three typesof widgets:- a string, which always shows itself- a ProgressBarWidget, which may return a different value every time itsupdate method is called- a ProgressBarWidgetHFill, which is like ProgressBarWidget, except itexpands to fill the remaining width of the line.The progressbar module is very easy to use, yet very powerful. It will alsoautomatically enable features like auto-resizing when the system supports it.
Package: py3-PyHue
Python3 Module for controlling Philips Hue lights.Quick Start Guide:Installation:without VirtualENV:python3 -m pip install py3-PyHuewith VirtualENV:Windows:.\<envname>\Scripts\python.exe -m pip install py3-PyHueLinux:./<envname>/bin/python3-mpipinstallpy3-PyHueSetup:Here you have 2 options: Either the Auto-Discovery or the manual setting!Auto-Discovery:fromPyHueimport*bridge=Bridge()Manual:fromPyHueimport*bridge=Bridge(ip='<your ip address>')Now a new instance of the Hue class is created. If you already used this package, you will notice, that the package will automagicaly connect to the Hue bridge. To restart the discovery process, stop the Python3 script and delete the file '.cached_ip_important' from the root directory (i.e. There, where the main script is located).After a bridge was discovered, the authentication process will start. You will have to press the button on the front of the Bridge. After that, press the enter key to proceed. After this process you will have a new file '.cached_username_important' in the root directory.Now you can start coding!Usage:All of the available methods are described in the documentation! (It's linked above! You should really check it out!)To list all lights, you can use this!:fromPyHueimport*bridge=Bridge()print(bridge.get_all_lights())But for example, to toggle the light with the id '1', you can use the following code:fromPyHueimport*bridge=Bridge()light=Lights(bridge,1)light.toggle_power()To turn the light on, use this: (In this case using light-id '1' again)fromPyHueimport*bridge=Bridge()light=Lights(bridge,1)light.power=True# or to turn it off:light.power=FalseFinally, if you want to make custom API-Requests, you should use this:fromPyHueimport*bridge=Bridge()print(bridge.api_request('<METHOD>','<ENDPOINT>',<body(dict)>))Happy Coding!More information is in the Docs linked above!
Package: py3qterm
Py3QTermWidgetUnlike the older pyqonsole this console widget works with PyQt5/PySide2 and let's you
embed a shell into your application.Seedocs/usage.rstif you want to know how to use this widget. To test
the widget you can executedemo.py.Or browse the generated HTML documentation athttp://pyqtermwidget.rtfd.org/The vt100 terminal emulation code is based on AjaxTerm and WebShell.
All code is distributed under the General Public License 3.
Package: py3rcon
py3rconRCON API for Python3Built and tested for Quake3, but will work with most RCON systems.Installation:$ pip install py3rconExamples:Send RCON commands without waiting for a response:frompy3rconimportRCONrcon=RCON("127.0.0.1","secret_password")rcon.send_command("say Hello, world!",response=False)Send RCON commands and get their response:frompy3rconimportRCONrcon=RCON("127.0.0.1","secret_password",port=27960)#port is optionalstatus=rcon.send_command("status")print(status)
Package: py3repl
py3replA tool to mimic the python REPLInstallationpipinstallpy3replUsageLinux# call pyrepl from command-linepyreplWindows# call pyrepl from command linepyrepl# if this failes, trypython-mpy3repl.pyrepl# this should workDemoI haven't tested a lot. So chances of bugs are very high. Please do report or make a pull request. All contributions are welcome.
Package: py3rijndael
Rijndael algorithm library for Python3.Rijndael is the key algorithm ofAES,
and there is some of implementations already exist:pycrypto: Very old and not written in python.pycryptodome: In road ofpycryptobut alive.python-cryptoplus:
Tested and works fine. but, not in Python 3, also depend onpycrypto.RijndaelPbkdf:
Tested and works fine. but, old PyPi release and not active (i have no time to wait for maintainer).https://gist.github.com/jeetsukumaran/1291836: The gist i borrowed initial source.Installationpipinstallpy3rijndaelUsageFollow the tests.
Package: py3rosmsgs
py3rosmsgsPython 3.0 port of ROS MSGS obtained from genpy-generated ros_msgs in ROS 1.0 MelodicRequirementsgccpython >=3.7Installationpip install py3rosmsgsSeehttp://wiki.ros.org/rosmsgon how to use ros messages in python.Maintainer: Rahul BhadaniMaintainer Email:rahulbhadani@email.arizona.edu
Package: py3s3
UpdatesWork on this package has ceased. Development efforts have been moved to openS3.https://pypi.python.org/pypi/openS3InstallationTo install the latest stable version of py3s3:$ pip install py3s3To install the latest development version:$ git clone git@github.com:logston/py3s3.git
$ cd py3s3
$ python setup.py installUsage>>> file_name = '/testdir/test.txt'
>>> file = S3ContentFile("My file's content", file_name, mimetype='')
>>> storage = S3Storage('file/name/prefix', 'my_bucket', AWS_ACCESS_KEY, AWS_SECRET_KEY)
>>> storage._save(file_name, file)
>>>
>>> new_file = storage._open(file_name)
>>> print(new_file.content)
My file's contentTestingBefore you can run the test suite, you will need to set the following
environment variables:export AWS_S3_BUCKET='<bucket name>'
export AWS_S3_ACCESS_KEY='<access key>'
export AWS_S3_SECRET_KEY='<secret key>'Once the environment variables have been set, the test suite can be run with:python setup.py test
Package: py3-sg
py3_sgDescriptionThis is a small Python extension which sends arbitrary commands to SCSI devices,
via the Linux SCSI Generic driver, which provides the SG_IO ioctl for this purpose.Basically, the module includes two methods, read and write, which
allow you to issue commands to SCSI devices and read and write
accompanying data. If an OS error occurs, theOSErrorexception will
be raised, while if a SCSI error occurs, thepy_sg.SCSIErrorexception
will be raised.PyPI installsudopython3-mpipinstallpy3_sgManual installInstall dependencies:sudoaptinstallpython3-devClone this repoEnter the folderTry to compile:python3setup.pybuildIf .so library is compiled, install:sudopython3-mpipinstall<path/to/setup.py>You are donePrecompiled packagehttps://pypi.org/project/py3-sg/
Package: py3shark
pyshark=======Python wrapper for tshark, allowing python packet parsing using wireshark dissectors.There are quite a few python packet parsing modules, this one is different because it doesn't actually parse any packets, it simply uses tshark's (wireshark command-line utility) ability to export XMLs to use its parsing.This package allows parsing from a capture file or a live capture, using all wireshark dissectors you have installed.Tested on windows/linux.Usage=====Reading from a capture file:----------------------------::import pysharkcap = pyshark.FileCapture('/tmp/mycapture.cap')cap>>> <FileCapture /tmp/mycapture.cap (589 packets)>print cap[0]Packet (Length: 698)Layer ETH:Destination: BLANKEDSource: BLANKEDType: IP (0x0800)Layer IP:Version: 4Header Length: 20 bytesDifferentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))Total Length: 684sIdentification: 0x254f (9551)Flags: 0x00Fragment offset: 0Time to live: 1Protocol: UDP (17)Header checksum: 0xe148 [correct]Source: BLANKEDDestination: BLANKED...Reading from a live interface:------------------------------::capture = pyshark.LiveCapture(interface='eth0')capture.sniff(timeout=50)capture>>> <LiveCapture (5 packets)>capture[3]<UDP/HTTP Packet>for packet in capture.sniff_continuously(packet_count=5):print 'Just arrived:', packetInfinite reading from a live interface with capture filter:------------------------------::def packet_captured(packet):print 'Just arrived:', packetcapture = pyshark.LiveCapture(interface='eth0', capture_filter='tcp')capture.apply_on_packets(packet_captured)Accessing packet data:----------------------Data can be accessed in multiple ways.Packets are divided into layers, first you have to reach the appropriate layer and then you can select your field.All of the following work::packet['ip'].dst>>> 192.168.0.1packet.ip.src>>> 192.168.0.100packet[2].src>>> 192.168.0.100
Package: py3shorturl
# shorturl
Python 3 Flask web application to generate short URLs.### RequirementsRedis serverPython 3requirements.txt:`Flask==0.10.1itsdangerous==0.24Jinja2==2.8MarkupSafe==0.23redis==2.10.5Werkzeug==0.11.3`### InstallationClone this repository into the document root for your virtual host.Start the script manually or configure your favorite application and web servers to proxy to it.### ConfigurationSimply modify the following values at the top of the script to point to the appropriate location.` REDISHOST = 'localhost' REDISPORT = '6379' REDISDB = 0 REDISPASSWD = '' SITEURL ='http://example.com'KEYLENGTH = 8 `
Package: py3Solr
# pySolr
[Solr](http://lucene.apache.org/solr/) Client for Python3.## Features
+ Basic operations: eg. selecting, updating & deleting.
+ Index optimization.
+ Timeout support.
+ SolrCloud.## Support
The author have tested the functions of this tools on these solr version:
+ solr 7.7.1## Requirements
+ Python 3.3+
+ Requests 2.9.1 +
+ [kazoo](https://github.com/python-zk/kazoo) for SolrCloud(Zookeeper)## Install`bash pip install py3Solr `or:`bash python setup.py install `## Quick Start
[test/test.py](test/test.py)## TODO
+ global log
Package: py3sort
py3sortpy3sort is a Python package providing a comprehensive suite of efficient sorting algorithms. Designed to offer developers a wide array of sorting techniques, py3sort simplifies the process of organizing data structures with its collection of well-implemented algorithms.InstallationYou can install py3sort via pip:pipinstallpy3sortUsageTo utilize py3sort in your Python scripts, simply import the desired sorting algorithms:frompy3sortimportbubble_sort,insertion_sort,merge_sort,selection_sort,heap_sort,quick_sortunsorted_list=[5,2,9,1,5,6]# Sort using Bubble Sortsorted_list=bubble_sort(unsorted_list)print("Sorted using Bubble Sort:",sorted_list)# Sort using Insertion Sortsorted_list=insertion_sort(unsorted_list)print("Sorted using Insertion Sort:",sorted_list)# Use other sorting algorithms similarlyIncluded Sorting Algorithmspy3sort includes the following sorting algorithms:Bubble Sort:Iteratively sorts elements by comparing adjacent elements and swapping them if they are in the wrong order.Insertion Sort:Builds the final sorted array one item at a time, inserting each element into its correct position.Merge Sort:Employs the divide-and-conquer strategy to recursively divide the list into smaller parts, sorts them, and merges them back in order.Selection Sort:Repeatedly selects the minimum element from the unsorted part and places it at the beginning.Heap Sort:Utilizes a binary heap data structure to sort elements by constructing a heap and successively removing the maximum element.Quick Sort:Divides the list into smaller sublists based on a pivot element, and recursively sorts sublists around the chosen pivot.ContributionContributions to py3sort are welcome! If you have ideas for enhancements or find any issues, feel free to open an issue or create a pull request on theGitHub repository.AcknowledgmentsThe py3sort project draws inspiration from various sources and contributors in the field of sorting algorithms. A big thank you to all those who have shared their knowledge and insights!This README.md now refers to the package aspy3sortthroughout the document.