Saravanan666/pypi-org huggingface dataset:
Package: siphash24
This module provides a C-based implementation ofSipHashwith an
interface compatible with the hash functions provided by thehashlibstandard library module.  SipHash-1-3 and SipHash-2-4
variants are currently implemented.  The moduledocumentationprovides a detailed description of the API.This module differs from other similar modules by providing a
streaming-capable implementation and an interface compatible to the
hash functions provided by thehashlibstandard library module and
by providing binary wheels for all supported Python releases on the
most common platforms.  More platforms can be added to the build job
as needed.Following thehashlibinterface, the return value of thedigest()method is abytesobject.  SipHash values are
customarily stored as 64-bit integers.  This module extends thehashlibinterface with an additionalintdigest()method that
returns the hash values as a 64-bit signed int object.This module is implemented as a thinCython-based wrapper around a
C language SipHash implementation copied, with minimal modifications
to allow compilation with MSCV, from thec-siphash libraryby
David Rheinsberg and co-authors.  The c-siphash library is based on
the SipHashreference implementationby Jean-Philippe Aumasson and
Daniel J. Bernstein released to the Public Domain.  This module is
distributed with the same license as the c-siphash library:Apache-2.0orLGPL-2.1-or-later.
Package: siphashc
Weblate is libre software web-based continuous localization system,
used by over 2500 libre projects and companies in more than 165 countries.siphashc is a Python module (in c) for siphash-2-4InstallationInstall using pip:pipinstallsiphashcSources are available at <https://github.com/WeblateOrg/siphashc>.Introductionsiphashc is a python c-module forsiphash, based onfloodberry’s
version.It was merged from two versions of the module:https://github.com/cactus/siphashchttps://github.com/carlopires/siphashc3Usage>>>fromsiphashcimportsiphash>>>siphash("sixteencharstrng","i need a hash of this")10796923698683394048LicenseReleased under theISC
license. SeeLICENSE.mdfile for details.ContributingContributions are welcome! Seedocumentationfor more information.
Package: siphashc3
python c-module forsiphash, based onfloodberry’s version.UsagePython 2>>>fromsiphashcimportsiphash>>>siphash('sixteencharstrng','i need a hash of this')10796923698683394048LPython 3>>>fromsiphashcimportsiphash>>>siphash('sixteencharstrng','i need a hash of this')10796923698683394048
Package: siphash-cffi
SipHash CFFISipHashis a family of pseudorandom
functions (i.e. keyed hash functions) optimized for speed on short
messages, designed byJean-Philippe AumassonandDaniel J. Bernstein.This package provides tested, performantPython 3CFFI bindings to
theSipHash 2-4 reference
implementationbyJean-Philippe
Aumasson(including support for
double-output-size and half-word variants) along with extensions to
support tweakable numbers of compression and finalization rounds.InstallationYou can install this package usingpipor the includedsetup.pyscript:# Using pip
pip install siphash-cffi

# Using setup.py
python setup.py installUsagefromsiphashimport*# Demonstration key and datakey=b"\0"*16data=b"\0"*64# SipHash-2-4 working with 64-bit words and a 64-bit output lengthoutput=siphash_64(key,data)# SipHash-2-4 working with 64-bit words and a 128-bit output lengthoutput=siphash_128(key,data)# SipHash-2-4 working with 32-bit words and a 32-bit output lengthoutput=half_siphash_32(key,data)# SipHash-2-4 working with 32-bit words and a 64-bit output lengthoutput=half_siphash_64(key,data)# SipHash-4-8 working with 64-bit words and a 64-bit output lengthoutput=siphash_64(key,data,4,8)# SipHash-4-8 working with 64-bit words and a 128-bit output lengthoutput=siphash_128(key,data,4,8)# SipHash-4-8 working with 32-bit words and a 32-bit output lengthoutput=half_siphash_32(key,data,4,8)# SipHash-4-8 working with 32-bit words and a 64-bit output lengthoutput=half_siphash_64(key,data,4,8)LicenseBSD 3-Clause License

Copyright (c) 2018, Phil Demetriou
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 the name of the copyright holder 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 COPYRIGHT HOLDER 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.
Package: sipher
SipherTo encrypt and decrypt message.Morse, RSA and Base64 encryption/decryption is supported.Installationpip install -U sipherUsageusage: sipher [options]

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show version number and exit.

to encrypt/decrypt message:
  data           data to encrypt/decrypt
  -a, --alg      algorithm to use
  -e, --encrypt  to encrypt message
  -d, --decrypt  to decrypt message
  -c, --copy     to copy encrypted/decrypted message to clipboard (default : False)
  -s, --store    to store encrypted/decrypted message as text file (default : False)
  -p, --path     path to store encrypted/decrypted messagePython ScriptTo encrypt/decrypt message using rsa.fromsipherimportrsarsa.gen_keys()privatekey,publickey=rsa.load_keys()message='sipher'signature=rsa.sign(message,privatekey)citext=rsa.encrypt(message,publickey)decrypted_message=rsa.decrypt(citext,privatekey)rsa.verify(decrypted_message,signature,publickey)Command LineTo encrypt a text and copy it to clipboard.$ sipher data --encrypt --copy --alg base64
Encrypted message copied to clipboard.To decrypt a cipher and store it as text file.$ sipher "-.. .- - .- " --decrypt --store --alg morse
Decrypted message stored in 'path'.Issues:If you encounter any problems, please file anissuealong with a detailed description.
Package: sipian-test-package-1
Real Python Feed ReaderThe Real Python Feed Reader is a basicweb feedreader that can download the latest Real Python tutorials from theReal Python feed.For more information see the tutorialHow to Publish an Open-Source Python Package to PyPIon Real Python.InstallationYou can install the Real Python Feed Reader fromPyPI:pip install realpython-readerThe reader is supported on Python 2.7, as well as Python 3.4 and above.How to useThe Real Python Feed Reader is a command line application, namedrealpython. To see a list of thelatest Real Python tutorialssimply call the program:$ realpython
The latest tutorials from Real Python (https://realpython.com/)
 0 How to Publish an Open-Source Python Package to PyPI
 1 Python "while" Loops (Indefinite Iteration)
 2 Writing Comments in Python (Guide)
 3 Setting Up Python for Machine Learning on Windows
 4 Python Community Interview With Michael Kennedy
 5 Practical Text Classification With Python and Keras
 6 Getting Started With Testing in Python
 7 Python, Boto3, and AWS S3: Demystified
 8 Python's range() Function (Guide)
 9 Python Community Interview With Mike Grouchy
10 How to Round Numbers in Python
11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
12 Splitting, Concatenating, and Joining Strings in Python
13 Image Segmentation Using Color Spaces in OpenCV + Python
14 Python Community Interview With Mahdi Yusuf
15 Absolute vs Relative Imports in Python
16 Top 10 Must-Watch PyCon Talks
17 Logging in Python
18 The Best Python Books
19 Conditional Statements in PythonTo read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:$ realpython 0
# How to Publish an Open-Source Python Package to PyPI

Python is famous for coming with batteries included. Sophisticated
capabilities are available in the standard library. You can find modules for
working with sockets, parsing CSV, JSON, and XML files, and working with
files and file paths.

However great the packages included with Python are, there are many
fantastic projects available outside the standard library. These are most
often hosted at the Python Packaging Index (PyPI), historically known as the
Cheese Shop. At PyPI, you can find everything from Hello World to advanced
deep learning libraries.

[... The full text of the article ...]You can also call the Real Python Feed Reader in your own Python code, by importing from thereaderpackage:>>> from reader import feed
>>> feed.get_titles()
['How to Publish an Open-Source Python Package to PyPI', ...]
Package: sipiiiii
sipiiiii是一款面向小微企业和个人开发者的应用托管平台。其主要目的是满足chatgpt插件系统的托管需求。产品定位sipiiiii定位为简单易用的云应用托管平台:小微企业:可以便捷部署业务应用,降低 IT 成本个人开发者:可以快速部署个人开发的应用,实现想法chatgpt插件开发者:专为chatgpt插件系统提供托管服务,降低开发难度产品优势简单易用:通过命令行工具,可以极简操作完成应用的部署、管理等低成本:积分制度,可以零成本体验所有功能应用生成:支持根据模版一键生成应用框架chatgpt插件专属:深度整合chatgpt插件系统,提供专属托管解决方案主要功能应用部署:支持本地部署与远程部署,可一键部署应用应用管理:可启动、停止、重启应用等应用生成:可根据yaml模版或者AI自动生成应用框架账号管理:支持注册、登录、邮件激活等积分系统:通过各功能消耗积分,可零成本使用chatgpt插件支持:提供chatgpt插件托管解决方案未来计划增加更多语言支持:如Ruby、Rust、Go等添加更多应用模版添加应用监控和报警功能支持应用自动部署与回滚sipiiiii是一款专注于应用托管的产品,通过简单易用的命令行工具,为小微企业和个人开发者提供低成本的云应用托管服务。同时,也深度整合了chatgpt插件系统,专门为其提供托管解决方案。
未来,sipiiiii会不断丰富功能,增强产品性能与稳定性,为用户提供更加稳定可靠与高性能的应用托管服务sipiiiii 命令行工具账号管理登录账号sipiiiii -L 或 --login登录后,token有效期为3天注册账号sipiiiii -R 或 --register邮箱激活账号sipiiiii -A 或 --activate
激活后的账号赠送10积分查看积分余额sipiiiii -t 或 --tally应用部署运行应用(非部署)在应用目录下直接运行:sipiiiii -d 或 --dev本地化部署应用消耗5积分,同一个应用只扣一次:sipiiiii -LD 或 --localdepl
根据当前目录名获取应用名部署应用消耗20积分,同一个应用只扣一次:sipiiiii -D 或 --deployed
根据当前目录名获取应用名应用生成根据 yaml 模版和选项创建一个应用框架,目前有三种方式创建应用根据自己提供的yaml文件创建应用使用aiapi的模版创建应用使用向导模式创建应用sipiiiii -n <test.yaml> 或 --new <test.yaml>
如果没有 <test.yaml> 参数则根据模板或者向导创建应用应用管理列出应用列表sipiiiii -l 或 --list查看应用详情sipiiiii -i  或 --info 
如果没有  参数则根据当前目录名获取应用名停止应用(非本地部署)sipiiiii -s  或 --stop 
如果没有  参数则根据当前目录名获取应用名重启应用(非本地部署)sipiiiii -r  或 --restart如果没有  参数则根据当前目录名获取应用名示例sipiiiii -L
sipiiiii -n
sipiiiii -D
sipiiiii -l
sipiiiii -i your-app-name
Package: sipmarray
sipmarrayRicardo Peres, 2023This pakacge provides a quick and easy way to get the goemetry of circular SiPM arrays. It was developed to know how many SiPM would be required to fully instrument aDARWIN- orXLZD-size detector.More SiPM unit options coming soon!Instalationgitclonegit@github.com:ricmperes/sipmarray.gitcdsipmarraypipinstall.For instal in editable source:pipinstall-e.UsageIn a jupyter notebook simplyimport sipmarray. Take a look at thedocsand example notebook (really, the package is pretty simple and self-explanatory).The package can be used from the terminal (from anywhere woop woop!) to quickly get a plot or coordinate geometry of a sipmarray or sipmunit. Check the `sipmarray/Do the following for more info:sipmarray --helpsipmunit --help
Package: sipper
🗿 Jeff the SipperThe infamous brother of John the Ripper. The man we all
need but don't deserve. Father to murdered son, husband
to a murdered wife. And he will have his vengeance, in
this life or the next.I'm not sure how well this will turn out, but the package
is intended to be the FFMPEG analog for proprietary
data file formats for highly specialized software systems,
especially those on MS Windows which commit an extraordinary
amount of sacrilege against the UNIX philosophy.ContributingI would love for anyone to contribute their implementation of
a proprietary data file parser to enable users the option of
using standardized, powerful data processing tools which,
more likely than not, may overshadow the proprietary
counterpart completely. If you feel inclined, fork the
repository, implement it, and submit a pull request.If you would like to implement the data parser in a
different programming language, that is completely fine,
but it would be best to integrate it into Python if at all
possible.AVANTES AvaSoft 8 AVS84My attempt to reverse engineer the AVS84 (i.e ".raw8" or RAW
8) file format generated by the AVANTES AvaSoft 8
spectrometer analyzer.My internet searches yielded quite literally nothing
regarding the structure of the AVS84 file, so the format is
hypothesized through the analysis of several such files
against their renditions into Excel, CSV, and plaintext
through AvaSoft itself. The sole resource found regarding
this format was by another GitHub user @padmer who also
extracted only the parts they cared about.FormatAs of this commit, the format currently known is as follows:HEADERaddresstypedescriptionsize (bytes)0x0000ascii-string"AVS84"50x0005block?90x000eascii-stringspectrometer serial ID90x0017block?10x0018ascii-stringspectrometer serial ID90x0021blocknull padding?30x0024block?292SERIESaddresstypedescriptionsize (bytes)0x0148f32 []X axis13600 ?0x3668f32 []Y axis13600 ?0x6b88f32 []Z axis ?13600 ?FOOTERaddresstypedescriptionsize (bytes)0xa0a8blocknull padding?13612 ?0xd5d4f32constant1.0f?40xd5d8blocknull padding?50xd5ddblockconstant10.0farray?18840xdd39blocknull padding?1883ObservationsData is stored in little endian (LE) format with allegiance
to the IEEE-754 floating point standard.Per @padmer's implementation, the size of the data series is
clearly arbitrary, but my attempts of finding the address
related to the series size has been unsuccessful. My
presumption is that this size must be of an Int32 type
located somewhere in the HEADER.Most MYSTERY chunks are consistent accross different data
files, but the 6-byte MYSTERY chunk in the HEADER appears to
change with each file. My presumption is that it is either
a hash of the data series, or a timestamp in some encoding.
My observations noted that this MYSTERY chunk appears to
be 6 bytes in length, which is rather peculiar.
Package: sipprverse
[![Build Status](https://travis-ci.org/OLC-Bioinformatics/sipprverse.svg?branch=master)](https://travis-ci.org/OLC-Bioinformatics/sipprverse)# sipprverse#### [Read the Docs](http://olc-bioinformatics.github.io/sipprverse/)### IntroductionThis pipeline searches for gene targets in FASTQ files. These files may be previously generated, or created from BCL
files from a run of an Illumina MiSeq as part of the pipeline. The latter functionality is to allow for the creation
of FASTQ files from an in progress MiSeq run.
Package: sippy
Sippy B2BUASippy B2BUA is aRFC3261-compliant
Session Initiation Protocol (SIP) stack andBack-to-back user agent(B2BUA).The Sippy B2BUA is a SIP call controlling component. Unlike a SIP proxy server,
which only maintains transaction state, the Sippy B2BUA maintains complete call
state and participates in all call requests. For this reason it can perform
number of functions that are not possible to implement using SIP proxy, such as
for example accurate call accounting, pre-paid rating and billing, fail over
call routing etc. Unlike PBX-type solutions such as Asterisk for example, the
Sippy B2BUA doesn't perform any media relaying or processing, therefore it
doesn't introduce any additional packet loss, delay or jitter into the media
path.Features5,000-10,000 simultaneous sessions per server150-400 call setups/tear-downs per secondReal-time calls control and call data records (CDRs) generationOptional ability to useSippy RTPproxyfor media relayingOptional ability to perform Cisco-compatible RADIUS AAA (Authentication,
Authorization and Accounting)RFC3261 complianceSeamless compatibility with majority of popular SIP software and hardware on
the market todayRobustness and ResilienceSimple and clean, yet flexible, internal design making implementing new
features and services easySippy B2BUA could be easily combined with other Open Source software, such as
SIP Express Router / OpenSIPS to build complete softswitch solutionInstallationInstall libelperiodic (if not installed)pip install ElPeriodicInstall B2BUApip install git+https://github.com/sippy/b2buaRunningTo get started, you can use the b2bua_simple implementation. The following
example will cause the b2bua run in the foreground so you can see the SIP
messaging. If you make a call to the IP address of your host machine, the b2bua
will recieve the call on its UAC side, and it will send a new call leg out its
UAS side to the IP address 192.168.1.1. It is expected that 192.168.1.1 is some
sort of SIP switch or termination gateway.b2bua_simple -f -n 192.168.1.1DocumentationSeedocumentation/documentation.mdSupport us on Patreon!Sippy B2BUA is available for use at the most liberal Open Source license
there is and we promise to keep it this way. If you like our software,
find it useful and want to support us moving it forward consider
becoming a patron hereSippy Labs Patreon Page.
In turn, we would give a priority to bugs and feature requests from our
Patrons.
Package: sippycup
Python Adaptor for Serving WSGI Applications with AWS Lambda and API GatewaySippy Cup is anextremelyminimalisticPythonadaptor that allowsWSGIapplications to be served using usingAWS API GatewayandAWS Lambdaproxy integration.Sippy Cup converts the input format sent to an AWS Lambda function by API
Gateway into aWSGIenvironment that is used to run a the application.
The application’s response is then converted to a format that can be understood
by API Gateway.When the WSGI environment is created, some additional values from the event
sent to AWS Lambda from API Gateway are also added. See the demo app below
for how to access these.apigateway:Trueapigateway.stageVariables:API Gateway stage variablesapigateway.requestContext:The event request contextGetting startedInstallationBecause you will eventually need tocreate a deployment package, it
is highly recommended that you use avirtualenvwhen using Sippy Cup.pip install sippycupCreate a simple applicationlambda_function.py provides a demo application# lambda_function.pyfromflaskimportFlask,Response,request,jsonifyfromsippycupimportsippycupapp=Flask(__name__)@app.route('/hello/',methods=['GET','POST'])@app.route('/hello/<string:name>',methods=['GET','POST'])defhello_world(name='World'):returnResponse('Hello,{0}!'.format(name),mimetype='text/plain')@app.route('/')defindex():# return the additional WSGI environment variables that SippyCup# providesreturnjsonify({'requestContext':request.environ['apigateway.requestContext'],'stageVariables':request.environ['apigateway.stageVariables']})deflambda_handler(event,context):returnsippycup(app,event,context)if__name__=='__main__':app.run()You will need tocreate a deployment packageand use that to create a new
AWS Lambda function.Finally,set up an API Gateway proxy resource with the lambda proxy
integration. It is recommended to create resources on both ‘/’ and
‘/SOMEPREFIX’ unless you don’t need the ‘/’ route.A note about URL generation and redirectionIn order to properly execute things like URL generation and redirection,
WSGI applications use an environment variable called SCRIPT_NAME. By default,
this works as one might expect. However, if your API ismapped to a custom domain using base path mapping, you need to tell
the application about this. This is a common problem with more traditional
setups as well (e.g. applications behind a reverse proxy).The solution in Sippy Cup is toset a stage variablecalled
SIPPYCUP_SCRIPT_NAME_BASE, which will be used by Sippy Cup to properly construct
SCRIPT_NAME so that things work as expected.e.g. If you are mapping your ‘production’ stage to api.mydomain.com using the default
configuration in ApiGateway, you should set the ‘SIPPYCUP_SCRIPT_NAME_BASE’ stage
variable for that stage to ‘/’.
Package: sipro
Nothing to see here......just a very simple python profilerExamplesWith context managerCode# Use default profilerfromsiproimportdefault_profilerasprofiler# Create your own profilerfromsiproimportProfilermy_profiler=Profiler()withprofiler('my loop'):foriinrange(1000):passwithprofiler('nested parent'):foriinrange(50):passwithprofiler('nested child 1'):foriinrange(50):passwithprofiler('nested child 2'):foriinrange(50):passprint(profiler)Output100.0% (100.0%)
my loop:       37.4% (37.4%)
nested parent: 17.6% (17.6%)
  nested child 1: 14.5% (2.5%)
  nested child 2: 11.3% (2.0%)
  ...:            74.2% (13.0%)
...:           45.0% (45.0%)With functionsCodefromsiproimportdefault_profilerasprofiler@profiler.wrapdefinherit_name():foriinrange(1000):passfromfunctoolsimportpartial@partial(profiler.wrap,name='custom_name')defdont_use_fn_name():foriinrange(1000):pass# Functions also nest properlyinherit_name()dont_use_fn_name()print(profiler)Output100.0% (100.0%)
custom_name: 71.4% (71.4%)
  inherit_name: 42.2% (30.1%)
  ...:          57.8% (41.3%)
...:         28.6% (28.6%)OutputThere are two ways of getting the output:Cast to stringstr(profiler)- Output same as aboveGetdict, byprofiler.dict()- Structure:{
    'sum': <time in seconds, float>,
    'children': {
        '<child_name>': {
            ...child values
        }
    }
}
Package: sips
sips 0.14.2setup:installnavigate to dirlocal pip installgitclonehttps://github.com/anandijain/sips.gitcdsips
pipinstall-e.[--user]USAGEget datafromsips.linesimportlineslines.Lines()# orfromsips.lines.bovimportbovbov.lines(['nba'])train LSTM predictor on dataplacelines.pyoutput CSVs insips/data/linesgo tosips/ml/andpython ml_pred.pyCHANGELOG / ROADMAPthe sports-reference api has been largely revampedpreparing for pypi releasepost will be moved to separate repo and have sips as dependencypremature update of master to 0.14.20.14.2 fixes some relative import problems, could be lingering instability
Package: sipster
Toying around with using aiosip for agent/scenario testing similar to
how SIPp works. Lost of stuff to do, but looking very, very promising.Currently almost non-functional, part of a fast answer scenario is
implemented, and that requires a customized aiosip install which I
haven’t published yet - its stuff I want to get upstreamed.To run it:Examplepython-msipster.scenarios.fastanswerTODOUpstream API changes where makes senseIntegrate RTP and DTMF support from aiortppytest integration via pluginProvide a set of useful general SIP compliance tests