Saravanan666/pypi-org huggingface dataset:
Package: seven-api-sdk
SEVEN API endpoint packageThis package was meant to help the end users to utilise the API endpoints of Seven.
In the current verison you can use the following endpoints:Store FieldsStore DataProcess FieldsProcess DataCostsReportsEach of these categories are represented by a class. You can initiate a class instance and use the .call_api() method to get a response.InstallationYou can use your package manager to install from PyPI.If you are using pip:python3 -m pip install seven-api-sdkExamplesimport seven_api_sdk
import json

password = "YOUR_SECRET_PASSWORD"
username = "YOUR_USERNAME"
client_id = "YOUR_CLIENT_ID"
client_name = "YOUR_TENANT_NAME"


handler = seven_api_sdk.StoreFields(username=username,password=password,client_id=client_id,client_name=client_name)
data = handler.call_api()

print (json.dumps(data,indent=4))

#You can specify parameters for certain endpoints
handler = seven_api_sdk.ProcessData(username=username,password=password,client_id=client_id,client_name=client_name,parameter="proc_by_storeID")
data = handler.call_api()
print (json.dumps(data,indent=4))
Package: sevenbridges-cwl
SevenBridges CWLTable of contentsOverviewInstallDocsRun testsExamplesRun workflow on a SevenBridges platformOverviewSevenBridges CWLpackage provides python bindings forCommon Workflow Language. It is intended for developers who want to use
python code to generate CWL documents. If creating a document through the GUI
is preferable, then look at theRabix Composer.InstallOfficial releasesOfficial releases are available viapip install sevenbridges-cwl(This is thepypi entryfor this project)Development versionsTo obtain unreleased versions:git clonethis repositorycd sevenbridges-cwl && pip install .Themasterbranch is for more stable code whiledevelopis for cutting edge features being currently worked onDocsComplete documentation can be foundhere.If you are interested in reviewing this documentation locally, clone this
repository, position yourself in thedocsdirectory and after installingrequirements-dev.txt, invoke:make htmlRun TestsIn order to run tests clone this repository, position yourself in the root of
the cloned project and, after installingrequirements-dev.txt, invoke:pytestExamplesThe following code will give a brief overview of what this package can offer through
simple examples.A Complete list of all examples can be foundhere.Run workflow on a SevenBridges platformfromsbgimportcwl# First node@cwl.to_tool(inputs=dict(x=cwl.String()),outputs=dict(out=cwl.Float(required=True)),docker='images.sbgenomics.com/filip_tubic/ubuntu1604py')defto_float(x):returndict(out=float(x))# Second node@cwl.to_tool(inputs=dict(x=cwl.Float(),n=cwl.Int()),outputs=dict(out=cwl.Float()),docker='images.sbgenomics.com/filip_tubic/ubuntu1604py')deftimes_n(x,n=10):returndict(out=x*n)wf=cwl.Workflow()# create toolst1=to_float()t2=times_n()# stepswf.add_step(t1,expose=['x'])wf.add_step(t2,expose=['n','out'])# add connectionswf.add_connection(f'{t1.id}.out',f'{t2.id}.x')# Session on a SBG platformsession=cwl.Session(profile='<your_profile>')session.run('<your_project>',wf,inputs={'x':'10.2'})
Package: seven-cloudapp-ppmt
seven_cloudapp_ppmt天志互联Python淘宝云应用框架库(潮玩盲盒)1.0.34 更新内容千牛端导入订单修改1.0.33 更新内容机台表新增字段machine_bg_pic1.0.32.17 更新内容新版本1.0.19 更新内容修改抽奖报错1.0.18 更新内容去掉monitor监控UserListHandler改成全部字段输出1.0.16 更新内容购买订单并发优化1.0.15 更新内容增加分享新用户上报1.0.13 更新内容潮玩盲盒v2.0整合1.0.2 更新内容框架内容添加
Package: seven-cmstar-platform
天志互联，厘米星球平台1.0.2.15 更新内容积分修改bug1.0.2.13 更新内容错误提示修改1.0.2.12 更新内容获取用户积分接口修改1.0.2.11 更新内容获取用户积分接口1.0.2.10 更新内容变更用户积分接口日志调整1.0.2.9 更新内容新增变更用户积分接口1.0.2.8 更新内容新增百度AI内容审核接口1.0.2.7 更新内容iOS和Android设备不能同时登录1.0.2.6 更新内容字典表，搜索关键词统计1.0.2.5 更新内容未登录时token处理修改1.0.2.4 更新内容未登录时获取token信息bug修改1.0.2.3 更新内容缓存bug修改手机验证码修改1.0.2.2 更新内容数据统计相关统计用户停留时间通知小红点数量1.0.2.1 更新内容获取关注的用户平台ID列表1.0.2 更新内容用户关注相关1.0.1 更新内容初始版本
Package: sevencow
Yet another qiniu cloud storeage Python SDKVery Easy for use!from sevencow import Cow
c = Cow(<ACCESS-KEY>, <SECRET-KEY>)
b = c.get_bucket(<BUCKET-NAME>)b.put(‘a’)              # put from file
b.put(‘a’, data=data)   # put from buffer
b.stat(‘a’)
b.copy(‘a’, ‘b’)
b.move(‘a’, ‘c’)
b.delete(‘a’)github:https://github.com/yueyoum/seven-cow
Package: seven_jd
# seven_jd## 天志互联Python京东sdk库### 1.0.1 更新内容
* 京东sdk库初始工程### 1.0.2 更新内容
* 增加MiniappMixUserInfoRequest(jingdong.miniapp.mixUserInfo)### 1.0.3 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-10-10### 1.0.5 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-10-16### 1.0.6 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-10-18### 1.0.7 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-11-13### 1.0.8 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-11-14### 1.0.9 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-12-04### 1.0.10 更新内容
* 更新版本到jos-python3-open-api-sdk-2.0-2023-12-06### 1.0.11 更新内容
* 问题修复
Package: seven-studio
seven_studio天志互联Python公共基础后台管理平台1.5.2 更新内容限制弱密码输入1.5.0 更新内容修改登录过滤器login_filter1.4.0 更新内容优化配置文件修改json_dumps1.3.2 更新内容登录问题修改1.2.0 更新内容GetUserInfoHandler增加字段返回1.1.9 更新内容基础配置更新用户登录过期处理1.1.8 更新内容用户登录过期1.1.6 更新内容复制黏贴栏目修复过滤器、快速添加按钮修复1.1.4 更新内容跨域允许PATCH访问1.1.3 更新内容修复aws S3 bug1.1.2 更新内容修复aws S3 bug1.1.1 更新内容http多支持PUT、DELETE1.1.0 更新内容redis支持ssl1.0.15 更新内容挂载栏目权限问题修复1.0.14 更新内容添加百度云存储1.0.13 更新内容调整用户登录,去掉平台登录错误的提示1.0.12 更新内容添加顶部菜单栏,服务端调整1.0.11 更新内容栏目删除优化1.0.10 更新内容优化行为日志1.0.9 更新内容增加行为日志1.0.8 更新内容增加腾讯云存储1.0.6 更新内容注释格式修改monitor迁移至内容管理平台基础框架1.0.5 更新内容增加oss2上传配置1.0.3 更新内容项目整理1.0.2 更新内容项目整理1.0.1 更新内容bug修复1.0.0 更新内容项目创建
Package: sevent
seventThe highest performance event loop.ExamplesSimple Http Clientimportseventdefon_data(s,data):print(data.decode("utf-8"))s=sevent.tcp.Socket()s.on_data(on_data)s.on_close(lambdas:sevent.current().stop())s.connect(('www.google.com',80))s.write(b'GET / HTTP/1.1\r\nHost: www.google.com\r\nConnection: Close\r\nUser-Agent: curl/7.58.0\r\nAccept: */*\r\n\r\n')sevent.instance().start()importseventasyncdefhttp_test():s=sevent.tcp.Socket()awaits.connectof(('www.google.com',80))awaits.send(b'GET / HTTP/1.1\r\nHost: www.google.com\r\nConnection: Close\r\nUser-Agent: curl/7.58.0\r\nAccept: */*\r\n\r\n')data=b''whileTrue:try:data+=(awaits.recv()).read()exceptsevent.tcp.SocketClosed:breakprint(data.decode("utf-8"))awaits.closeof()sevent.run(http_test)Simple TCP Port Forwardimportsysimportseventdefon_connection(server,conn):pconn=sevent.tcp.Socket()pconn.connect((sys.argv[2],int(sys.argv[3])))conn.link(pconn)server=sevent.tcp.Server()server.on_connection(on_connection)server.listen(("0.0.0.0",int(sys.argv[1])))sevent.instance().start()importsysimportseventasyncdeftcp_port_forward_server():server=sevent.tcp.Server()server.listen(("0.0.0.0",int(sys.argv[1])))whileTrue:conn=awaitserver.accept()pconn=sevent.tcp.Socket()pconn.connect((sys.argv[2],int(sys.argv[3])))conn.link(pconn)sevent.run(tcp_port_forward_server)Licensesevent uses the MIT license, see LICENSE file for the details.
Package: seventeenlands
mtga-log-clientSimple client for passing relevant events from MTG Arena logs to the 17Lands REST endpoint.UsageTo run, simply enterseventeenlandsin your terminal. On first run, you will be prompted for your user token.NotesLicensed under GNU GPL v3.0 (see included LICENSE).This MTGA log follower is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC. Seehttps://company.wizards.com/fancontentpolicyfor more details.
Package: seventeentrack
📦 seventeentrack: A Simple Python API for 17track.netseventeentrackis a simple Python library to track packages in17track.netaccounts.This project was built off ofpy17track.V1 APIYou can register an account first here:https://features.17track.net/en/apiEach account will have 100 free tracking quota for testing.
Once logged in, you can find the API token/Access key under Settings -> Security -> Access KeyPython Versionsseventeentrackis currently supported on:Python 3.7Python 3.8Python 3.9Python 3.10InstallationpipinstallseventeentrackUsageimportasynciofromaiohttpimportClientSessionfromseventeentrackimportClientasyncdefmain()->None:"""Run!"""client=Client()# Login with API token:client.profile.login("<TOKEN>")# Get a summary of the user's packages:summary=awaitclient.profile.summary()# >>> {'In Transit': 3, 'Expired': 3, ... }# Get all packages associated with a user's account:packages=awaitclient.profile.packages()# >>> [seventeentrack.package.Package(..), ...]# Add new packages by tracking numberawaitclient.profile.add_package('<TRACKING NUMBER>','<FRIENDLY NAME>')loop=asyncio.get_event_loop()loop.run_until_complete(main())By default, the library creates a new connection to 17track with each coroutine. If you
are calling a large number of coroutines (or merely want to squeeze out every second of
runtime savings possible), anaiohttpClientSessioncan be used for connection
pooling:importasynciofromaiohttpimportClientSessionfromseventeentrackimportClientasyncdefmain()->None:"""Run!"""asyncwithClientSession()assession:client=Client(session=session)# ...loop=asyncio.get_event_loop()loop.run_until_complete(main())EachPackageobject has the following info:destination_country: the country the package was shipped tofriendly_name: the human-friendly name of the packageinfo: a text description of the latest statuslocation: the current location (if known)timestamp: the timestamp of the latest eventorigin_country: the country the package was shipped frompackage_type: the type of package (if known)status: the overall package status ("In Transit", "Delivered", etc.)tracking_info_language: the language of the tracking infotracking_number: the all-important tracking numbercarrier: the logistics company transporting the packageContributingCheck for open features/bugsorinitiate a discussion on one.Fork the repository.(optional, but highly recommended) Create a virtual environment:python3 -m venv .venv(optional, but highly recommended) Enter the virtual environment:source ./.venv/bin/activateInstall the dev environment:script/setupCode your new feature or bug fix.Write tests that cover your new functionality.Run tests and ensure 100% code coverage:script/testUpdateREADME.mdwith any new documentation.Add yourself toAUTHORS.md.Submit a pull request!Updating Carrier and Country JSONIf the carrier or country lists need to be updated to support new ones, simply download the updated JSON from 17track.https://res.17track.net/asset/carrier/info/carrier.all.jsonhttps://res.17track.net/asset/carrier/info/country.all.json
Package: seventv
An asynchronous Python API-wrapper for 7tv.app.
It makes use of the 7tv API (v3) to make it possible to get emotes, details about them, and soon some more things the API supports.
To get emotes by search query, the wrapper uses the GraphQL endpointhttps://7tv.io/v3/gqlbecause it seems to currently be the only working one for searching emotes.
Package: severgdocs
Jerrybuilt data exchange through Google Docs - serverTested against Windows 10 / Python 3.10 / Anacondapip install severgdocsUpdatesthetextcontentinaGoogleDocsdocumentusingSeleniumandencryptsthenewtext.ThisfunctionautomatestheprocessofupdatingthecontentofaGoogleDocsdocument.ItusesSeleniumtointeractwiththedocument,includingnavigatingthroughiframesandupdatingthetextcontent.Theupdatedtextisencryptedusingtheprovidedpassword.Args:text(str):Thenewtextcontenttobeaddedorupdated.password(str):Thepasswordusedforencryption.doclink(str):TheURLoftheGoogleDocsdocument.**kwargs:AdditionalkeywordargumentsforconfiguringtheChromeWebDriver.Returns:str:TheupdatedandencryptedtextcontentoftheGoogleDocsdocument.Raises:AnyexceptionsraisedduringtheSeleniuminteractionwiththedocument.Example:# this modulefromsevergdocsimportupdate_textnt=update_text(text="babudada",password="bibidudu",doclink="https://docs.google.com/document/d/xxxx/edit",)print(nt)# client modulefromclientgdocsimportget_text_from_google_docsdoclink="https://docs.google.com/document/d/xxxx/edit"password="bibidudu"text=get_text_from_google_docs(doclink,password,timeout=30)print(text)
Package: severus
SeverusSeverus –/seˈweː.rus/– is a Python internationalization engine designed with simplicity in mind.In a nutshellit.json{"Hello world!":"Ciao mondo!"}translate.pyfromseverusimportSeverus,languageT=Severus()withlanguage("it"):print(T("Hello world!"))DocumentationThe documentation is available under thedocs folder.LicenseSeverus is released under the BSD License.
Package: sevq
SEVQ: Simple Evolving Vector QuantizationFree software: MIT licenseDocumentation:https://sevq.readthedocs.io.InstallationTo install sevq, run this command in your terminal:pip install sevqUsageTraining and prediction one sample at a timefromsevq.algorithmimportSEVQc=SEVQ()c.partial_fit([-2,-2],2)c.partial_fit([-1,-1],1)c.partial_fit([1,1],1)c.partial_fit([2,2],2)print(c.predict([0,0]))# 1print(c.predict([3,3]))# 2print(c.predict([-3,-3]))# 2Training and prediction on multiple samplesfromsevq.algorithmimportSEVQc=SEVQ()c.fit([[-2,-2],[-1,-1],[1,1],[2,2]],[2,1,1,2],epochs=1,permute=False)print(c.predict([[0,0],[3,3],[-3,-3]]))# [1, 2, 2]
Package: sewan-drf-tus
A Tus (tus.io) library for Django Rest FrameworkDocumentationThe full documentation is athttps://drf-tus.readthedocs.io.QuickstartInstall drf-tus:pip install drf-tusAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'rest_framework_tus',...)Add the middleware toMIDDLEWARE(orMIDDLEWARE_CLASSESfor Django < 1.10)MIDDLEWARE=(...'rest_framework_tus.middleware.TusMiddleware',...)Add drf-tus’s URL patterns:urlpatterns=[...url(r'^',include('rest_framework_tus.urls',namespace='rest_framework_tus')),...]FeaturesThis library implements the following TUS API v1.0.0 protocols:Core Protocol (http://tus.io/protocols/resumable-upload.html#core-protocol)Creation Protocol (http://tus.io/protocols/resumable-upload.html#creation)Expiration Protocol (http://tus.io/protocols/resumable-upload.html#expiration)Checksum Protocol (http://tus.io/protocols/resumable-upload.html#checksum)Termination Protocol (http://tus.io/protocols/resumable-upload.html#termination)Running TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackagedrf-tus_History1.1 (2017-08-28)
1.2 (2018-01-04)
+++++++++++++++++Forked from drf-tusSupport for Django 1.11Bugfix for incomplete uploaded chunks
Package: sewar
SewarSewar is a python package for image quality assessment using different metrics. You can check documentationhere.Implemented metricsMean Squared Error (MSE)Root Mean Squared Error (RMSE)Peak Signal-to-Noise Ratio (PSNR)[1]Structural Similarity Index (SSIM)[1]Universal Quality Image Index (UQI)[2]Multi-scale Structural Similarity Index (MS-SSIM)[3]Erreur Relative Globale Adimensionnelle de Synthèse (ERGAS)[4]Spatial Correlation Coefficient (SCC)[5]Relative Average Spectral Error (RASE)[6]Spectral Angle Mapper (SAM)[7]Spectral Distortion Index (D_lambda)[8]Spatial Distortion Index (D_S)[8]Quality with No Reference (QNR)[8]Visual Information Fidelity (VIF)[9]Block Sensitive - Peak Signal-to-Noise Ratio (PSNR-B)[10]TodoAdd command-line support for No-reference metricsInstallationJust as simple aspip install sewarExample usagea simple example to use UQI>>>fromsewar.full_refimportuqi>>>uqi(img1,img2)0.9586952304831419Example usage for command line interfacesewar [metric] [GT path] [P path] (any extra parameters)An example to use SSIMfoo@bar:~$sewarssimimages/ground_truth.tifimages/deformed.tif-ws13ssim:0.8947009811410856Available metrics listmse, rmse, psnr, rmse_sw, uqi, ssim, ergas, scc, rase, sam, msssim, vifp, psnrbContributorsSpecial thanks to @sachinpuranik99 and @sunwj.References[1] "Image quality assessment: from error visibility to structural similarity." 2004)[2] "A universal image quality index." (2002)[3] "Multiscale structural similarity for image quality assessment." (2003)[4] "Quality of high resolution synthesised images: Is there a simple criterion?." (2000)[5] "A wavelet transform method to merge Landsat TM and SPOT panchromatic data." (1998)[6] "Fusion of multispectral and panchromatic images using improved IHS and PCA mergers based on wavelet decomposition." (2004)[7] "Discrimination among semi-arid landscape endmembers using the spectral angle mapper (SAM) algorithm." (1992)[8] "Multispectral and panchromatic data fusion assessment without reference." (2008)[9] "Image information and visual quality." (2006)[10] "Quality Assessment of Deblocked Images" (2011)
Package: sewer
SewerSewer is a Let's Encrypt(ACME) client.It's name is derived from Kenyan hip hop artiste, Kitu Sewer.The stable release is0.8.4.More history in theCHANGELOG.PYTHON compatibility: 3.5 is nominally still supported, and with assistance
from Github's multi-version Python linting I've repaired some issues.  Even
with the GH multi-version testing, there are parts of the drivers,
especially, which I simply can't test (with 3.5) because the actual service
provider interaction has to be mocked.  Such issues will be fixed on a
best-effort basis when reported for the life of 0.8.I (maintainer @mmaney) loiter in channel ##sewer (on irc.freenode.net) for
those who remember IRC.  Don't ask to ask, but waiting is.FeaturesObtain or renew SSL/TLS certificates fromLet's EncryptSupports acme version 2 (current RFC including post-as-get).Support for SAN certificates.Supportswildcard certificates.Bundling certificates.Support for both RSA and ECDSA for account and certificate keys.SupportsDNS and HTTPchallengesList of currently supportedDNS services and BYO-service notesHTTP challenges are a new feature, no operational drivers in the tree
yet.See usage and BYO-service notessewer is both acommand-line programand aPython libraryfor custom useWell written(if I have to say so myself):Good test coveragePassing continuous integrationHigh grade statically analyzed codetype hinting to support mypy verification is a recently begun WIPInstallationpip3installsewer# with All DNS Provider support, include aliyun, Hurricane Electric, Aurora, ACME ...# pip3 install sewer[alldns]# with Cloudflare support# pip3 install sewer[cloudflare]# with Aliyun support# pip3 install sewer[aliyun]# with HE DNS(Hurricane Electric DNS) support# pip3 install sewer[hurricane]# with Aurora DNS Support# pip3 install sewer[aurora]# with ACME DNS Support# pip3 install sewer[acmedns]# with Rackspace DNS Support# pip3 install sewer[rackspace]# with DNSPod DNS Support# pip3 install sewer[dnspod]# with DuckDNS DNS Support# pip3 install sewer[duckdns]# with ClouDNS DNS Support# pip3 install sewer[cloudns]# with AWS Route 53 DNS Support# pip3 install sewer[route53]# with PowerDNS DNS Support# pip3 install sewer[powerdns]sewer(since version 0.5.0) is now python3 only.  To install the (now
unsupported) python2 version:pipinstallsewer==0.3.0Sewer is in active development and it's API will change in backward incompatible ways.https://pypi.python.org/pypi/sewerDevelopment setupSee the how to contributedocumentationFAQWhy another ACME client?I wanted an ACME client that I could use to programmatically(as a library) acquire/get certificates. However I could not
find anything satisfactory for use in Python code.Why is it called Sewer?
I really like the Kenyan hip hop artiste going by the name of Kitu Sewer.
Package: sewergraph
sewergraphv0.1.4Building upon Networkx, this package provides tools for analysis and manipulation
of sewer network data.GoalsProvide graph functions to tackle analytical problems typical in sewer
collections systems:traverse sewer networks up/downstreamaccumulation calculationsdownstream choke-point analysisdata gap handling (within reason, folks)design capacity analysisInstallationInspired byosmnx, sewergraph depends onNetworkxandPandas. For most use cases, installation is easy:$pipinstallsewergraphAdditional functionality is provided that makes use ofGeoPandas,
scipy and Shapely. It's recommended to install GeoPandas with conda first, then install
sewergraph via pip:$condainstallgeopandas
$pipinstallsewergraphIf you have ArcMap installed, be sure that the GeoPandas installation doesn't conflict witharcpy. To avoid risks, install sewergraph in acondaenvironment:$condacreate--namemyenv
$activatemyenv#enter the new environment$condainstallgeopandas
$pipinstallsewergraphExamplesCreate a Networkx DiGraph with a shapefile of a sewer network.importsewergraphassg#read shapefile into DiGraphshapefile_path=r'path/to/sewers.shp'G=sg.graph_from_shp(shapefile_path)Attributes of each sewer segment are stored as edge data. Geometry is parse and stored in thegeometryattribute along with whatever other fields exist in the shapefile.#sewer connecting node 0 to node 1print(G[0][1]){'OBJECTID':115081,'STREET':'ADAINVILLE DR','ShpName':'sample_sewer_network_1','diameter':8,'facilityid':'BCE7B25E','geometry':<shapely.geometry.linestring.LineStringat0x12a6caf0>,'height':0,'length':164.758,'local_area':39449.474,'material':'VCP','pipeshape':'CIR','slope':0.01,'width':0}Calculate the total drainage area at each sewer by accumulatinglocal_areafrom the top to bottom of the network (i.e. sewershed).#accumulate drainage areaG=sg.accumulate_downstream(G,'local_area','total_area')#convert to GeoDataFrame and sort the sewers by total_areasewers=sg.gdf_from_graph(G)sewers=sewers.sort_values(by='total_area',ascending=False)sewers.head()total_areaOBJECTIDfacilityidpipeshapediameterheightwidthlengthslopematerialSTREETlocal_areageometry194,233,504112545A58064DFBOX01216327.2793700.0075RCPNone119043.524941LINESTRING (6558821.45028765 2032961.24586616,...184,114,4611125465890D18FBOX01216318.0814020.0100RCPNone171961.403740LINESTRING (6558826.08945222 2032643.19829701,...243,942,49911256312FF7372BOX01216131.3525340.0100RCPNone16557.605522LINESTRING (6558821.78250872 2032511.9163921, ...More functions are provided for calculating basic hydraulic capacity, outfall loading, flow splits, travel time, and identifying downstream constrictions from every point of the network.#perform basic sewer capacity calculations (full flow Mannings capacity)G=hhcalcs_on_network(G)#id flow split sewers and calculate split fractionsG=analyze_flow_splits(G)#accumulating travel timesG=accumulate_travel_time(G)Running TestsTest are located in the sewergraph > tests directory and are run withpytest.
Package: sexpdata
sexpdatais a simple S-expression parser/serializer.  It has
simpleloadanddumpfunctions likepickle,jsonorPyYAMLmodule.>>> from sexpdata import loads, dumps
>>> loads('("a" "b")')
['a', 'b']
>>> print(dumps(['a', 'b']))
("a" "b")You can installsexpdatafromPyPI:pip install sexpdataLinks:Documentation (at Read the Docs)Repository (at GitHub)Issue tracker (at GitHub)PyPITravis CIMaking a release1.python -m build1.twine check dist/*1.git tag v1.0.x1.twine upload dist/*Licensesexpdatais licensed under the terms of the BSD 2-Clause License.
See the source code for more information.
Package: sexpy
Created just in order to have some se^Wfun.A little code snippet so that you can get the overall idea:(class (Hello)
    (def (__init__ self message)
        (= self.message message))
    (def (hello self)
        (print self.message)))

(= hello (Hello "Hello world!"))
(hello.hello)This version requires Python 3. Useversion 0.1if you need Python 2 support.Documentation:http://packages.python.org/sexpyMercurial repository:https://bitbucket.org/ero-sennin/sexpy