Saravanan666/pypi-org huggingface dataset:
Package: pysm4
pysm4SM4算法国密SM4(无线局域网SMS4)算法， 一个分组算法， 分组长度为128bit， 密钥长度为128bit，
算法具体内容参照SM4算法。pysm4pysm4是国密SM4算法的Python实现， 提供了encrypt、decrypt、encrypt_ecb、decrypt_ecb、encrypt_cbc、decrypt_cbc等函数用于加密解密， 用法如下：1.encrypt和decrypt>>>frompysm4importencrypt,decrypt# 明文>>>clear_num=0x0123456789abcdeffedcba9876543210# 密钥>>>mk=0x0123456789abcdeffedcba9876543210# 加密>>>cipher_num=encrypt(clear_num,mk)>>>hex(cipher_num)[2:].replace('L','')'681edf34d206965e86b3e94f536e4246'# 解密>>>clear_num==decrypt(cipher_num,mk)True2.encrypt_ecb和decrypt_ecb>>>frompysm4importencrypt_ecb,decrypt_ecb# 明文>>>plain_text='pysm4是国密SM4算法的Python实现'# 密钥>>>key='hello, world!'# 密钥长度小于等于16字节# 加密>>>cipher_text=encrypt_ecb(plain_text,key)>>>cipher_text'ng3L4ldgvsZciAgx3LhplDvIzrd0+GXiNqNmd1VW0YOlwo+ojtpownOCbnxbq/3y'# 解密>>>plain_text==decrypt_ecb(cipher_text,key)True3.encrypt_cbc和decrypt_cbc>>>frompysm4importencrypt_cbc,decrypt_cbc# 明文>>>plain_text='pysm4是国密SM4算法的Python实现'# 密钥>>>key='hello, world!'# 密钥 长度小于等于16字节# 初始化向量>>>iv='11111111'# 初始化向量  长度小于等于16字节# 加密>>>cipher_text=encrypt_cbc(plain_text,key,iv)'cTsdKRSH2FqIJf22NHMjX5ZFHghR4ZtJ10wbNwj2//bJSElBXVeMtFycjdlVKP15'# 解密>>>plain_text==decrypt_cbc(cipher_text,key,iv)Truepysm4实现了分组密码工作模式中的ECB(电子密码本)和CBC(密码块链接)模式， 具体内容请参考维基百科的分组密码工作模式。安装GitHub$pythonsetup.pyinstallPyPI$pipinstallpysm4兼容pysm4支持Python2.7和Python3.3以上版本，其他版本没有测试。性能验证SM4算法中的实例二：实例二： 利用相同加密密钥对一组明文反复加密1000000次
明文： 01 23 45 67 89 ab cd ef fe dc ba 98 76 54 32 10
密钥： 01 23 45 67 89 ab cd ef fe dc ba 98 76 54 32 10 
密文： 59 52 98 c7 c6 fd 27 1f 04 02 f8 04 c3 3d 3f 66使用pysm4在我个人电脑验证实例二时，耗时600多秒。性能比使用JAVA或C/C++实现版本差了很多。
Package: pysma
pysma librarySMA Webconnect library for Python 3. The library was created
to integrate SMA inverters with HomeAssistantSeehttp://www.sma-solar.comfor more information on the SMA solar
invertersOther SMA interfaces includeSBFspotand a
PythonadaptationExample usageSeeexample.pyfor a basic usage and testsHome AssistantThe Home Assistant sma sensor documentation can be foundhereThis library uses Webconnect.Modbusis not supportedIf you can access your SMA via your browser, this might work for you.If you access your SMA WebConnect viahttps://you should set bothssl: trueandverify_ssl: false.Daily usage is not always available from the SMA WebConnect interface.
It is possible to get around this by using autility meteror more recently from the Energy management feature in Home AssistantHow to debug this addonEnsure you can access your SMA from your browserTo enable detailed logging in Home Assistant, you can add the following to your configurationlogger:default:infologs:homeassistant.components.sma:debugpysma:debugEnergy MeterThis library can read the second version of the emnergy meter, there is a seperate Home Assistant OS Addon that could also read older Energy Meters directly. SeeEnergy Meter
Package: pysmac
Simple python wrapper toSMAC, a versatile
tool for optimizing algorithm parameters.fmin(objective, x0, xmin, xmax, x0_int, xmin_int, xmax_int, xcategorical, params)
   min_x f(x) s.t. xmin < x < xmax

 objective: The objective function that should be optimized.InstallationPippip install pysmacManualpython setup.py installExample usageLet’s take for example the Branin function. (Note that the branin
function is not the ideal use case for SMAC, which is designed to be a
global optimization tool for costly functions. That said, it’ll serve
the purpose of checking that everything is working.)importnumpyasnpdefbranin(x):b=(5.1/(4.*np.pi**2))c=(5./np.pi)t=(1./(8.*np.pi))return1.*(x[1]-b*x[0]**2+c*x[0]-6.)**2+10.*(1-t)*np.cos(x[0])+10.For x1 ∈ [-5, 10], x2 ∈ [0, 15] the function reaches a minimum value of:0.397887.Note: fmin accepts any function that has a parameter calledx(the
input array) and returns an objective value.frompysmac.optimizeimportfminxmin,fval=fmin(branin,x0=(0,0),xmin=(-5,0),xmax=(10,15),max_evaluations=5000)As soon as the evaluations are finished, we can check the output:>>>xmin{'x':array([3.14305644,2.27827543])}>>>fval0.397917Let’s run the objective function with the found parameters:>>>branin(**xmin)0.397917LicenseSMAC is free for academic & non-commercial usage. Please contactFrank
Hutterto discuss obtaining a
license for commercial purposes.AdvancedCustom arguments to the objective function:Note: make sure there is no naming collission with the parameter names
and the custom arguments.defminfunc(x,custom_arg1,custom_arg2):print"custom_arg1:",custom_arg1print"custom_arg2:",custom_arg2return1xmin,fval=fmin(minfunc,x0=(0,0),xmin=(-5,0),xmax=(10,15),max_evaluations=5000,custom_args={"custom_arg1":"test","custom_arg2":123})Integer parametersInteger parameters can be encoded as follows:defminfunc(x,x_int):print"x: ",xprint"x_int: ",x_intreturn1.xmin,fval=fmin(minfunc,x0=(0,0),xmin=(-5,0),xmax=(10,15),x0_int=(0,0),xmin_int=(-5,0),xmax_int=(10,15),max_evaluations=5000)Categorical parametersCategorical parameters can be specified as a dictionary of lists of
values they can take on, e.g.:categorical_params={"param1":[1,2,3,4,5,6,7],"param2":["string1","string2","string3"]}defminfunc(x_categorical):print"param1: ",x_categorical["param1"]print"param2: ",x_categorical["param2"]return1.xmin,fval=fmin(minfunc,x_categorical=categorical_params,max_evaluations=5000)
Package: pysmappee
Official Smappee Python LibraryPython Library for the Smappee dev API (v3) and MQTT interface. Used as a wrapper dependency in theHome Assistant integration.Version0.2.29InstallationThe recommended way to install is viapip$ pip3 install pysmappeeChangelog0.0.1Initial commit0.0.2Rename smappee directory0.0.3Sync dev API0.0.{4, 5, 6}Actuator connection statePlatform optionMeasurement index checkLocation details source change0.0.{7, 8, 9}Support comfort plug state changeAdd locations without active deviceDisable IO modulesAlign connection state values0.1.{0, 1}Refactor api to work with implicit account linkingOnly keep farm variable in API class0.1.{2, 3}Only use local MQTT for 20- and 50-series11-series do have solar production0.1.4Extend service location class with voltage and reactive boolsExtend model mapping0.1.5Catch expired token as an HTTPError0.2.{0, .., 9}Implement standalone local APIOnly create objects if the serialnumber is knownReview local API exception handling0.2.10Phase 2 Local API (support Smappee Pro/Plus)Local API improvements (Switch current status, cache load)0.2.11Activate IO modules0.2.{12, 13}Move requirements to setup.py file0.2.14Exclude test package0.2.{15, 16, 17}Review consumption and production indices for solar seriesFix caching for local polling0.2.{18, ..., 25}Prepare local Smappee Genius support (local mqtt)Remove smart device support0.2.{26, 27}Review tracking schedule0.2.{28, 29}Review MQTT connectionSupportIf you find a bug, have any questions about how to use PySmappee or have suggestions for improvements then feel free to
file an issue on the GitHub project pagehttps://github.com/smappee/pysmappee.License(MIT License)
Package: pysmartcache
pysmartcachePySmartCache is amemoizerimplementation with lasers.Idea is quite simple: you just need to decorate your function/method with@cache(), andpysmartcachewill take care of the rest (caching based on arguments, cache invalidation, helpers for cache purge, cache refresh and cache invalidation, and so on).For instance, change this:defcalculate_universe_mass(some_parameter,another_parameter,whatever):return42to this:frompysmartcacheimportcache@cache()defcalculate_universe_mass(some_parameter,another_parameter,whatever):return42Seriously. That's it. =PFor more dense details please refer tothe docs.Development:Run linter:pipinstall-rrequirements_dev.txt
isort-rc.
tox-elintRun tests viatox:pipinstall-rrequirements_dev.txt
toxRelease a new major/minor/patch version:pipinstall-rrequirements_dev.txt
bump2version<PART># <PART> can be either 'patch' or 'minor' or 'major'Upload to PyPI:pipinstall-rrequirements_dev.txt
pythonsetup.pysdistbdist_wheel
python-mtwineuploaddist/*Contributing:Pleaseopen issuesif you see one, orcreate a pull requestwhen possible.
In case of a pull request, please consider the following:Respect the line length (132 characters)Write automated testsRuntoxlocally so you can see if everything is green (including linter and other python versions)
Package: pysmartclient
A smartClient wrapper=====================to use (with caution), suppose that you are using bottle and beaker::from smartClient import SessionManager@app.route('/')def root():# get the client sessionclientSession = request.environ.get('beaker.session')# get the session managersm = SessionManager(clientSession, clientInfo=clientInfo)# get the HTML pagepage = sm.getPage()# clear sessionpage.clearSession()# build the pagepage.addComponent(getLoginPage(page))# build the response bodyresponse.body = page.getMainPage()# update the client sesssionpage.updateSession()clientSession.save()return responsefrom smartClient import VerticalLayout, HorizontalLayout, KeyboardManager, ReplyClick, ActionUrl, Validatorfrom smartClient import Label, DateField, EditField, CheckBox, RadioGroup, SelectField, PasswordField, Button, Linkfrom smartClient import TextArea, Header, Spacer, RichEditor, ListGrid, DataSource, FileUpload, Window, ViewLoaderfrom smartClient import SectionStack, MainMenu, MenuLink, HTMLPane, Canvasdef getLoginPage(page):login = Label()login.setProperty('contents','login')login.setProperty('height',40)user = EditField()user.setProperty('title','user','fields')user.setProperty('value','','fields')user.setProperty('autoFocus','true')user.setProperty('autoFocus','true','fields')user.transformValue = 'function(form, item, value, oldValue) {return value.toUpperCase()}'password = PasswordField()password.setProperty('title','password','fields')password.setProperty('value','','fields')v = Validator()v.setCondition("return value == 'xxx';")password.addValidator(v)spacer = Spacer()spacer.setProperty('width', '*')spacer0 = Spacer()spacer0.setProperty('width', '*')spacer1 = Spacer()spacer1.setProperty('width', '5%')spacer2 = Spacer()spacer2.setProperty('height', '5%')actionURL = ActionUrl()actionURL.setEvent('click')actionURL.setOperation('verifyPassword')strObj = '{"object":"User"}'actionURL.setObject(strObj)actionURL.setParams('{"user":%s.getValue("%s"),"password":%s.getValue("%s")}', user, user, password, password)check = Button(actionUrl=actionURL)check.setProperty('title', 'login')check.setProperty('width', 100)check.setProperty('height', 40)#check.setProperty('saveOnEnter', 'true')keyboardManager = page.keyboardManagerkeyboardManager.addEventList2Component(check, ['%s.setFocus(true);', '%s.click();'])v1 = VerticalLayout()h0 = HorizontalLayout()h1 = HorizontalLayout()v1.setProperty('width', 400)v1.setProperty('membersMargin', 5)v1.setProperty('layoutMargin', 20)v1.addComponent(spacer2)v1.addComponent(login)v1.addComponent(user)v1.addComponent(password)#v1.addComponent(spacer2)v1.addComponent(h1)h1.addComponent(spacer)h1.addComponent(check)h0.addComponent(spacer0)h0.addComponent(v1)h0.addComponent(spacer1)return h0
Package: pysmartcocoon
SmartCocoon Python APIThis Python library allows you to controlSmartCocoon fans.StatusThis is not an official API from SmartCocoon and is in the the very early stages of developement.This API is built for the main purpose of integrating into Home Assistant but can be used independently.Supported devicesSmartCocoon Smart VentsFeaturesThe following feature are supported:Connect to the SmartCocoon cloud serviceObtain configuration data as it has been set up through the SmartCocoon mobile appAbility to control fansTurn on/offSet speedSet Auto modeSet Eco modeExamplesYou can refer to the tests/test_integration.py to see an example of integration with the
SmartCocoon APIWork to doThe fans are using MQTT but this is not being leveraged yetDiscovery has not been implemented, not sure if this is possibleFan status will currently require polling if the fan is changed directly in the app
Package: pySmartDL
Python Smart Download Manager – pySmartDLpySmartDLstrives to be a full-fledged smart download manager for Python. Main features:Built-in download acceleration (with themultipart downloading technique).Mirrors support.Pause/Unpause feature.Speed limiting feature.Hash checking.Non-blocking, shows progress bar, download speed and eta.Full support for custom headers and methods.Python 3 SupportProject LinksDownloads:http://pypi.python.org/pypi/pySmartDL/Documentation:http://itaybb.github.io/pySmartDL/Project page:https://github.com/iTaybb/pySmartDL/Bugs and Issues:https://github.com/iTaybb/pySmartDL/issuesInstallationUsing pip (recommended way)Make sure python-pip is installed on you system. If you are using virtualenv, then pip is alredy installed into environments created by virtualenv. Run pip to install pySmartDL:pip install pySmartDLFrom SourceThe pySmartDL package is installed from source using distutils in the usual way.  Download thesource distributionfirst.  Unpack the source zip and run the following to install the package site-wide:python setup.py installUsageDownload is as simple as creating an instance and starting it:from pySmartDL import SmartDLurl = “https://github.com/iTaybb/pySmartDL/raw/master/test/7za920.zip”
dest = “C:\Downloads" # or ‘~/Downloads/’ on linuxobj = SmartDL(url, dest)
obj.start()
# [*] 0.23 Mb / 0.37 Mb @ 88.00Kb/s [##########——–] [60%, 2s left]path = obj.get_dest()RequirementsPython 3.4 or greater.Copyright (C) 2014-2020 Itay Brandes.
Package: pysmartdl2
pysmartdl2This software is a fork of thepySmartDLorPython Smart Download Managerby iTaybb which appears to not be maintained anymore. I (1) went through its codebase to check if things work as expected in modern (Python 3.8-12+) versions of Python, (2) did some modernizing fixes here and there, (3) fixed broken test suites, (4) implemented automated testing workflows, and (4) restructured the package to modern standards (e.g.,pyproject.toml). I plan some feature additions, but original APIwillbe retained, so that you can treat it as adrop-in replacement. Enjoy!Test suites go over all popular Python versions (Python 3.8 - 3.13) on all four platforms enabled by GitHub Action Runners: Linux (Ubuntu), MacOS (Intel CPU), MacOS (M1 CPU), and Windows. Live status is shown below.Per the original README,pysmartdlstrives to be a full-fledged smart download manager for Python. Main features:Built-in download acceleration (with themultipart downloading technique).Mirrors support.Pause/Unpause feature.Speed limiting feature.Hash checking.Non-blocking, shows the progress bar, download speed and ETA.Full support for custom headers and methods.InstallationYou can installpysmartdl2from PyPI throughpip, with a simple:pip install pysmartdl2Or you can install from the source ineditablemode, by cloning this repository and:pip install -e .UsageDownloading with it is as simple as creating an instance and starting it:frompysmartdl2importSmartDLurl="https://raw.githubusercontent.com/amkrajewski/pysmartdl2/master/test/7za920.zip"dest="."# <-- To download to current directory# or '~/Downloads/' for Downloads directory on Linux# or "C:\\Downloads\\" for Downloads directory on Windowsobj=SmartDL(url,dest)obj.start()# [*] 0.23 Mb / 0.37 Mb @ 88.00Kb/s [##########--------] [60%, 2s left]path=obj.get_dest()Copyright (C) 2023-2024 Adam M. KrajewskiCopyright (C) 2014-2020 Itay Brandes.
Package: pySMART-exporter
pySMART-exporterCopyright (C) 2021 Naudit HPCN S.L.PySMART-exporter is a simple Python prometheus exporter built on top ofPySMART library.UsageServer modeTo Use the exporter in server mode you can simply run aspysmart_exporter -l 0.0.0.0:9099And configure your prometheus to access it.File modeIf you whish to generate just a metric sample, you can run this:pysmart_exporter -f out.txt -1It may generate a file with a similar content as:# HELP pysmart_info PySMART metric info
# TYPE pysmart_info gauge
pysmart_info{device="nvme0",firmware="ADHA0101",interface="nvme",model="KBG30ZMV256G TOSHIBA",rotation="None",serial="*********12P",size="256000000000",size_raw="256 GB",smart_capable="True",smart_enabled="True",ssd="True"} 1.0
# HELP pysmart_assessment PySMART metric assessment
# TYPE pysmart_assessment gauge
pysmart_assessment{device="nvme0",interface="nvme",pysmart_assessment="PASS"} 1.0
# HELP pysmart_temperature PySMART metric temperature
# TYPE pysmart_temperature gauge
pysmart_temperature{device="nvme0",interface="nvme"} 44.0
# HELP pysmart_size PySMART metric size
# TYPE pysmart_size gauge
pysmart_size{device="nvme0",interface="nvme"} 2.56e+011
# HELP pysmart_test_capabilities PySMART metric test_capabilities
# TYPE pysmart_test_capabilities gauge
pysmart_test_capabilities{device="nvme0",interface="nvme",pysmart_test_capabilities="conveyance"} 0.0
pysmart_test_capabilities{device="nvme0",interface="nvme",pysmart_test_capabilities="long"} 0.0
pysmart_test_capabilities{device="nvme0",interface="nvme",pysmart_test_capabilities="offline"} 0.0
pysmart_test_capabilities{device="nvme0",interface="nvme",pysmart_test_capabilities="selective"} 0.0
pysmart_test_capabilities{device="nvme0",interface="nvme",pysmart_test_capabilities="short"} 0.0You can also set an interval with-iinstead of-1to keep flushing data every n secondsInstallationpySMART-exporteris available on PyPI and installable viapip::python -m pip install pySMART-exporterThe only external (non-python) dependency is thesmartctlcomponent of the smartmontools package.  This should be pre-installed in most Linux distributions, or it can be obtained through your package manager.  Likely one of the following::apt-get install smartmontools
    or
yum install smartmontools
Package: pySMART.smartx
pySMART.smartxIt's a fork of pySMART with lots of bug fix and enhances.You can follow theoriginal-readmeto read the doc and checkout the way to use it.More doc about our fixes and enhance may be add if we have more free time.Pull request is very welcome!FeaturePython2/Python3 compatible.Bug fixes.More device-type supports.Output parse intel ssdSome seagate hdd's self_test supportHealth status API.Support for MacOSQuick startjust runpip install pysmart.smartxto install this package.ChangeLog2019-05-31: Add temperature attribute onDeviceobject2018-03-01: Upload a new version with stdout-encoding fix by DPSB
Package: pysmaz2
✨ pysmaz2 ✨The python binding forsmaz2installpipinstallpysmaz2Usagedefcompress(inp:bytes,bufsize:int)->bytes:...defcompress_into(inp:bytes,out:bytearray)->int:...defdecompress(inp:bytes,bufsize:int)->bytes:...defdecompress_into(inp:bytes,out:bytearray)->int:...
Package: pysmbc
This is a set of Python bindings for the libsmbclient library
from the samba project.>>> # Directory listing example:
>>> import smbc
>>> ctx = smbc.Context (auth_fn=my_auth_callback_fn)
>>> entries = ctx.opendir ("smb://SERVER").getdents ()
>>> for entry in entries:
...     print entry
<smbc.Dirent object "music" (File share) at 0x7fbd7c42b3a0>
<smbc.Dirent object "IPC$" (IPC share) at 0x7fbd7c42b148>
<smbc.Dirent object "Charlie" (Printer share) at 0x7fbd7c42b3c8>
>>> d = ctx.open ("smb://SERVER/music")>>> # Write file example:
>>> import smbc
>>> import os
>>> ctx = smbc.Context (auth_fn=my_auth_callback_fn)
>>> file = ctx.open ("smb://SERVER/music/file.txt", os.O_CREAT | os.O_WRONLY)
>>> file.write ("hello")>>> # Read file example:
>>> import smbc
>>> ctx = smbc.Context (auth_fn=my_auth_callback_fn)
>>> file = ctx.open ("smb://SERVER/music/file.txt")
>>> print file.read()
hello
Package: pysmbus
The pysmbus package is a pure Python reimplentation of the
[python-smbus](http://www.lm-sensors.org/browser/i2c-tools/trunk/py-smbus/)
package. This allows using the I2C SMBus protocol without having to compile C.It has the same module name,smbus, aspython-smbus, so that it can
be used as a direct replacement in projects that normally depend onpython-smbus.Currently it’s incomplete. The following methods are implemented:write_byte_dataread_byte_dataOther methods haven’t been implemented yet, since I don’t have any hardware
needing those methods. Patches or requests for other methods are welcome.This package has been comfirmed working with Python 2.7 and 3.4.Examplefrom smbus import SMBusbus = SMBus(1)  # Opens /dev/i2c-1
bus.write_byte_data(0x54, 0x13, 0xff)
Package: pysme-astro
PySME continues development here:https://github.com/MingjieJian/SMEPySMESpectroscopy Made Easy (SME) is a software tool that fits an observed
spectrum of a star with a model spectrum. Since its initial release in1996, SME has been a
suite of IDL routines that call a dynamically linked library, which is
compiled from C++ and fortran. This classic IDL version of SME is available
fordownload.In 2018, we began began reimplmenting the IDL part of SME in python 3,
adopting an object oriented paradigm and continuous itegration practices
(code repository, build automation, self-testing, frequent builds).InstallationA stable version is available on pippip install pysme-astroIf you are interested in the latest version you can do so by cloning this git.# Clone the git repositorygitclonehttps://github.com/AWehrhahn/SME.git# Move to the new directorycdSME# Install this folder (as an editable module)pipinstall-e.See also thedocumentationPosterA poster about PySME can be found here:PosterGUIA GUI for PySME is available in its own repositoryPySME-GUI.WindowsUnfortunately PySME is not supported in Windows right now. While there is a SME C libary for Windows, it is not compatible with the Python C Extension inteface on Windows as it was compiled with a different compiler. Therefore if you want to use PySME you would need to compile the SME library with the same compiler.
Package: pysmee
Command line client for Smee’s webhook payload delivery serviceThis CLI tool allows you to connect tohttps://smee.ioand see the messages that are coming through it, forward them to an URL, save them, and then replay them from a saved file intohttps://smee.ioor directly into an URL of your choosing.FeaturesShowing messagesForwarding messagesReplaying messagesLong live support: Unlike the npm smee client that stops working after 4 hoursExamplesForwarding messages to a local server:pysmee forwardhttps://smee.io/xIgtwP3rRcQWPs5ehttp://localhost:8010/change_hook/githubShowing messages and saving them for later:pysmee showhttps://smee.io/xIgtwP3rRcQWPs5e--saveoutput.txtSending saved messages back to smee.io:pysmee sendhttps://smee.io/xIgtwP3rRcQWPs5esaved.txtSending saved messages to a local server:pysmee sendhttp://localhost:8010/change_hook/githubsaved.txtHistory0.1.1 (2019-12-04)Support forwarding via reverse proxy0.1.0 (2019-07-22)First release on PyPI.
Package: pysmells
PysmellsPysmells is a tool that identifies when something doesn't 'smell right' in a python code, checking for programming errors, inconsistencies and programming style violations. It will then generate a report detailing the results of the analysis. Pysmells is based on the following Python Enhancement Proposals (PEPs): PEP 8, PEP 257 and PEP 20.InstallationYou can install pysmells using pip:pip install pysmellsClone this repository:bashgit clone https://github.com/pysmells/pysmells.gitUsageTo use pysmells, navigate to the directory containing the Python files you want to analyze and run the following command:Arguments:-p or --project: The project directory containing the subdirectories with Python files to analyze.
-s or --subdirs: The list of subdirectories in the project directory, each representing a software.
-csv or --csv_output: The path and file name for the CSV output report.python pysmells.py -p /.../test  -s  Program1 Program2 -csv /.../report.csvDependenciespysmells requires the following packages:tabulatepylintThese dependencies will be automatically installed when you install pysmells using pip.Licensepysmells is licensed under the MIT License. See theLICENSEfile for more information.
Package: pysmhasher
pysmhasher封装SMHasher中，更多的方法使用方法#从pip源安装
pip install pysmhasher

#调用方法
>>> import pysmhasher
>>> pysmhasher.murmurhash2('hello')
3848350155
>>> seed = 27
>>> pysmhasher.murmurhash2('hello', seed)
1143501851
>>> pysmhasher.cityhash64("DBE4CBA7-2ADC-4F32-8D54-D8F065FED9CC")
6587470800993669582

#下载代码并安装
git clone --recurse-submodules https://github.com/hungrybirder/pysmhasher.git
cd pysmhasher
python setup.py install