Saravanan666/pypi-org huggingface dataset:
Package: s01.core
This package provides the core component for the s01.worker server. They are
located in this package because you will need them in our s01.worker server
management application. Such a s01.worker managmement application can schedule
your spiders located at one or more s01.worker server and also knows what’s
to do with your scrapy items.Changes0.5.0 (2011-08-19)initial implementation
Package: s01.demo
This package provides a dummy scrapy spider for demonstrate the buildout based
spider development and deployment process using the s01.client and s01.worker
packages for deploy and scheduling scrapy spiders.CHANGES0.16.2 (2012-11-18)make it compatible with scrapy 0.16.20.5.1 (2011-09-10)bugfix: fix FEED_URI path setup, addedfile://prefix0.5.0 (2011-08-19)initial implementation
Package: s01.scrapy
This package provides some core component for buildout based scrapy spider
development. Such scrapy spider packages can get installed, scheduled and
processed with the mongodb based s01.worker daemon using the JSON-RPC proxy
located in the s01.client package. The package also provides some recipes
which allows to use external files as scrapy settings.CHANGES0.16.2 (2012-11-18)make it compatible with scrapy 0.16.2. Changed API, replace the missing
settings export with export the settings to s01.scrapy.util as settings
property. This is required because we reference the settings for setup
a global mongodb connnection for logging0.14.4.1 (2012-07-01)implemented support for hookup a custom logger by suporting a bootstrap
recipe section.0.14.4 (2012-06-30)make it compatible with scrapy 0.14.4, adjust cmdline0.12.4 (2011-09-10)bugfix: fix bad escape ifxis used in path on windows0.12.3 (2011-08-29)implemented httpConverter converter which onlyallows http and https urisimprove email and uriConverter, implement validate and return None if not
a valid format is used0.12.2 (2011-08-27)implemented new test recipe which is able to setup a zope.testrunner including
scrapy settings0.12.1 (2011-08-25)implemented development helper scripts which can dump log and tmp data
exported with our TestExporter0.12.0 (2011-08-19)nail scrapy release version to 0.12.0.2546removed unused dependencies and importsinitial release0.0.7 (2011-01-02)alpha version released for development and testing the tool chainwrite logging.Error to sys.stderr where we can read in subprocess0.0.6 (2010-12-31)alpha version released for development and testing the tool chainprint logging.ERROR to stdout which is required for error handling in
subprocess0.0.5 (2010-12-29)alpha version released for development and testing the tool chainimplemented a different scrapy item and field concept. Use a field property
and not a dict based item and field. Implemented ScrapyFieldProperty and a
ScrapyItemBase class. Added tests for show how the scrapy item and field
works including converter and serializer.implemented new extractor which can handle the new scrapy item and field
conceptimplemented different basic ScrapyFieldProperty converter methods0.0.4 (2010-12-22)alpha version released for development and testing the tool chainremove spider name from crawl recipe0.0.3 (2010-11-29)alpha version released for development and testing the tool chainfix hex data parts in settings contentuse s01.worker as default logging handler name0.0.2 (2010-11-29)alpha version released for development and testing the tool chainadded settings recipe0.0.1 (2010-11-21)alpha version released for development and testing the tool chain
Package: s01.worker
This package provides a daemon which is able to run buildout based scrapy
spider packages. (see s01.demo). The daemon processes pending crawl jobs stored
in mongodb. The daemon also provides a WSGI server providing a JSON-RPC 2.0 API.
The JSON-RPC proxy from the s01.client package can be used for install packages
and add new crawl jobs to the mongodb which is the queue.Changes0.5.0 (2012-11-18)initial implementation
Package: s11-classifier
ClassifierA scalable land cover classification tool for humansGo tothe documentationfor more
info on how to install and run Classifier!Note on performanceFor now, the multithreading of XGboost is not properly implemented. If you have
a lot of input files the XGBoost method is MUCH slower than e.g. scikit-learn's
random forest. With single input files (so not a lot of IO operations), the
difference in performance is small.issues and bugsIssues are tracked on theissue list of this
repo.DevelopmentPlease follow theSatelligence development guidelineswhen adding features or fixing bugs.(Fork) Clone this repo:gitclonegit@gitlab.com:satelligence/classifier.gitMake sure you are running the latest docker image.Run docker with a binding to the source files:dockerrun-v$(pwd):/app-t-iclassifier
Package: s17.taskmanager
Table of ContentsLife, the Universe, and EverythingFeaturesMostly HarmlessDon’t PanicInstallationUsageNot entirely unlikeShare and EnjoyChangelog1.0b2 (2014-04-28)1.0b1 (2012-09-28)1.0a3 (2012-06-08)1.0a2 (2012-05-21)1.0a1 (2012-05-21)Life, the Universe, and EverythingA package containing a Dexterity-based content type and behaviors to provide a simple structure for managing tasks.FeaturesTasks folder that contains tasksOne person responsible for managing the tasksDefine who can add tasks in the tasks folderOne person responsible for each taskAny user can watch the tasksMostly HarmlessGot an idea? Found a bug? Let us know byopening a support ticket.Don’t PanicInstallationTo enable this product on a buildout based installation:Edit your buildout.cfg and adds17.taskmanagerto the list of eggs to install:[buildout]
...
eggs =
    s17.taskmanager
zcml =
    s17.taskmanagerAfter updating the configuration you need to run the ‘’bin/buildout’’, which will take care of updating your system.Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.Check the box next tos17.taskmanagerand click the ‘Activate’ button.Choose the product (check its checkbox) and click the ‘Install’ button.UsageTBDNot entirely unlikePoiPoi is an issue tracker product for Plone.Share and Enjoys17.taskmanagerwould not have been possible without the contribution of the following people:Gustavo LepriHéctor VelardeThis package is based onPoiso we must pay tribute toall the people that made it possible.Development sponsored bySimples Consultoria.ChangelogThere’s a frood who really knows where his towel is.1.0b2 (2014-04-28)A bug that prevented edition of responses because of missing propertywysiwyg_editorwas fixed.
[ericof]Brazilian Portuguese translations were updated.
[hvelarde]Notification views were renamed tocreate-response,delete-response,edit-responseandsave-response.
[hvelarde]Task panel and task views were refactored; some bugs were fixed: information
displayed was reordered and markup was simplified.
[hvelarde]Fix content type information as previous rename was incomplete (an upgrade
step is available).
[hvelarde]Support for z3c.autoinclude plugin was removed.
[hvelarde]Package dependencies were updated; dependencies on plone.principalsource,
unittest2 and zope.app.container were removed. We now depend on plone.api.
[hvelarde]1.0b1 (2012-09-28)Test Plone 4.3 compatibility. [hvelarde]Deprecate use on Plone 4.1; we will support only Plone>=4.2. [lepri]Fix package i18n. [lepri]Rename content type from “s17.app.taskmanager.taskfolder” to “TaskPanel”.
[lepri]Rename content type from “s17.app.taskmanager.task” to “Task”. [lepri]Rename package from s17.app.taskmanager to s17.taskmanager. [lepri]Added the script rebuild_i18n.sh. [lepri]Improved the internationalization in the vocabularies and javascripts.
[lepri]Some adjusts in task view [lepri]1.0a3 (2012-06-08)Improved history for changes in the task. [lepri]Improved view for task. [lepri]Added icon for task content. [lepri]1.0a2 (2012-05-21)Fixed distribution. [hvelarde]1.0a1 (2012-05-21)Initial release.
Package: s1acker
Search and download images from stage1st.examples1acker"喵片"-o"temp"Usages1acker[-h][-nUNAME][-d][-oDIR][-v|-q][--version]SRCHTXT[SRCHTXT...]Sees1acker--helpfor details.Requirementss1ackeronly supportpython3, and is only tested underpython3.6.Installationpipinstalls1ackerNote thats1ackeris not available on pypi yet.Or, for development,gitclonehttps://github.com/quinoa42/s1acker.gitcds1ackerpipinstall-e.
Package: s1crets
s1crets is a thin Python wrapper to read secrets from cloud resources.
Wherever supported, it can be used to read/update non-encrypted values as well.You can find its documentation atreadthedocs.ioInstallingInstall and update usingpip:pip install -U s1cretsA Simple Example# Using AWS Parameter Storeimports1crets.providers.awsps=s1crets.providers.aws.ParameterStore()ps.get('/prod/databases/mysql/bigdb/root')ps.get_by_path('/prod/databases/mysql')ps.path_exists('/prod/databases/mysql')ps.update('/prod/databases/mysql/bigdb/root','S3cr3Tp4Ssw0Rd!^')# AWS Secrets Managersm=s1crets.providers.aws.SecretsManager()sm.get('prod/databases/mysql/bigdb/root')sm.path_exists('prod/databases/mysql')sm.update('prod/databases/mysql/bigdb/root','S3cr3Tp4Ssw0Rd!^')$ s1crets get secrets/json_test
{'level1': {'level2': 3}}
$ s1crets get secrets/json_test level1
{'level2': 3}
$ s1crets get secrets/json_test level1 level2
3Getting secrets from a different (than configured) region:imports1crets.providers.awssm=s1crets.providers.aws.SecretsManager(sts_args={"aws_region":"us-east-1"})sm.get("secret-from-us-east-1")This library is developed and used internally atSystem1
Package: s1db
S1 PythonA barebones key-value store that requires no setup besides a token. This is the Python Library for S1. Find more informationhereGetting A TokenHead over tos1.kognise.dev/tokento get a token. Don't share this with anyone as it's your key to accessing all your data on your S1 DB. You can store this as an environment variable.InstallationFirst, install S1 withpip:$pipinstalls1dbThen you can import it like so:froms1dbimportS1# Replace "your-token-here" with the token you got from the URL above.api=S1("your-token-here")UsageSetting Objects as Values:To set a Python object as a value use theS1.set()method.api.set('keyname',123)api.set('keyname0',[23])api.set('keyname1',{'foo':'bar'})The set method will automatically serialize your data for you into valid JSON to be stored on the S1 DB.Getting An Object:To get an object from your S1 DB use theS1.get()method.api.get('keyname')# Returns: 123 based on the set example from above.api.get('keyname0')# Returns: [23] as a list based on the set example from above.api.get('keyname1')# Returns: {'foo': 'bar'} as a Python dict based on the set example from above.Setting Raw Values:To set a raw string as a value use theS1.set_raw()method.api.set_raw('keyname-raw','12')api.set_raw('keyname-raw0, '{"foo":"bar"}')The set_raw method does not do any JSON serialization and raw items cannot be returned with theget()method.Getting Raw Values:To get a raw value from a key use theS1.get_raw()method.api.get_raw('keyname-raw')# Returns: 12 with no serializationapi.get_raw('ketname-raw0')# Returns: '{"foo": "bar"}' as stringDeleting Keys:To delete data use theS1.delete()method.api.delete('keyname')Getting All Keys:To get all your keys use theS1.get_keys()method.api.get_keys()# Returns: List of key names as Python object.
Package: s1-enumerator
S1-EnumeratorUsesasf-searchto enumerate Sentinel-1 A/B pairs for interferograms.Also provides functions to check if aS1-GUNWexists in the ASF DAAC.Installpip install s1-enumeratorRequiresasf_search,geopandas,rasterio,requests, andtqdm. See theenvironment.yml.UsageSeenotebooksfor examples.from s1_enumerator import distill_all_pairs, enumerate_ifgs

# Over Los Padres National Forest, CA
point = Point(-120.0048, 34.8923)
aoi = point.buffer(1)

# Get all data from ASF Search
ifg_pairs_tiles = enumerate_ifgs(aoi,
                                 min_reference_date=datetime.datetime(2021, 7, 9),
                                 enumeration_type='tile',
                                 min_days_backward = 364,
                                 num_neighbors_ref=3,
                                 num_neighbors_sec=1,
                                 temporal_window_days=60,
                                 min_ref_tile_overlap_perc=.2,
                                 min_tile_aoi_overlap_km2=1e3,
                                 minimum_path_intersection_km2=1e3,
                                 minimum_ifg_area_km2=3e4,
                                 entire_s1_catalog=False
                                 )
# Distill for Generating IFGs
df_pairs = distill_all_pairs(ifg_pairs_tiles)
Package: s1etad
AboutThes1etadPython package provides tools for easy access to
Sentinel-1 Extended Timing Annotation Datasets.The current version of the package is based on the Product Format
Specification Document (ETAD-DLR-PS-0014) Issue 1.5.Main features provided are:open and navigate all the S1-ETAD elements:product (Sentinel1Etadclass)swaths (Sentinel1EtadSwathclass)bursts (Sentinel1EtadBurstclass)inspect metadataperform queries on bursts (by time, swath name, product name or any
combination) using theSentinel1Etad.burst_catalogueeasy iterationread correctionsperform correction mosaic: de-bursting and swath stitching (a basic
algorithm is currently implemented)get footprintsgenerate simple KML files of the productintegration withJupyterenvironmentsProject linksdownload:https://pypi.org/project/s1etaddocumentation:latest,stablesources:https://github.com/s1tools/s1-etadissues:https://github.com/s1tools/s1-etad/issuesconda package:https://anaconda.org/avalentino/s1etadRequirementsPython>= 3.8numpyscipylxmlnetCDF4pandasshapelypymap3dsimplekmlGDALmatplotlibInstallationTo install thes1etadpackage simply run the following command:$ python3 -m pip install s1etad[kmz,cli]In conda environments:$ conda install -c avalentino -c conda-forge s1etadLicensecopyright:2020-2024 Nuno Mirada, Antonio ValentinoThe s1etad package is distributed under the terms of the MIT License.SeeLICENSE.txtfor mare details.
Package: s1flood
s1floodGoogle Earth Engine (GEE) flood algorithm as described in DeVries et al., Remote Sensing of Environment (2020).An account on the GEE is required to uses1flood. To sign up for an account, go tohttps://earthengine.google.com.1. On the GEE PlaygroundLoad the repository by including the following line in your script:vars1flood=require('users/bdv/s1flood');Specific scripts (functions) can be accessed as follows:varzscore=require('users/bdv/s1flood:zscore');varmapFloods=require('users/bdv/s1flood:mapFloods');ExamplesSummary stats demo:https://code.earthengine.google.com/fe91cf1ab5df51fe107dd9b07f84835aHouston (Hurricane Harvey), 2017-08-30:https://code.earthengine.google.com/5ff925dd39ac4a1994719bb4f7681940Beira, Mozambique (Cyclone Idai), 2018-03-23:https://code.earthengine.google.com/444cf654636f01877875721c9c402c7cThe Bahamas (Hurricane Dorian), 2019-09-04:https://code.earthengine.google.com/29e799edb05ab69e11dfa3bd14146e33Omaha, Nebraska, 2019-03-25:https://code.earthengine.google.com/5bdf08bae781e45564bc8c6b31d4067eCentral Greece, 2018-03-01:https://code.earthengine.google.com/3ee7b5408c7a7aa1ee13988afa6236c92. Python PackageTo install thes1floodpython package into a conda environment:condacreate-neepythonearthengine-api
condaactivateeeYou will need to authrorize use of your GEE account the first time you load and inialize theeemodule:python-c"import ee; ee.Initialize()"Follow the instructions after running this code.Finally, installs1floodusing pip.pipinstalls1floodUsing DSWEIn addition to using Sentinel-1 backscatter anomalies (Z-scores) to map floods, Landsat data are used to map historical inundation and permanent open water. Two options are avialable for the historical inundaiton and permanent open water mapping:Exclusive use of the JRC Global Surface Water (GSW) dataset. Two probability thresholds are applied: 90% for permanent open water and 25% for seasonal inundation.Combined use of the JRC-GSW and the Dynamic Surface Water Extent (DSWE). The two thresholds described in (1) are applied to both datasets to define permanent open water and seasonal inundation.Option (1) is used by default, and Option (2) is triggered by theuse_dsweargument in themapFloods()function. Use of this option requires installation of theeedswepackage, availablehere.mapFloods()will default to Option (1) with a warning ifeedsweis not installed anduse_dsweisTrue.ExamplesSome example notebooks are included in the "examples/" directory. To run these, you also need to installgeemap,matplotlib,pandasandjupyter:condainstallgeemapmatplotlibpandasjupyter
jupyternotebookReferenceDeVries, B., Huang, C-Q., Armston, J. Huang, W., Jones, J.W. and Lang M.W. 2020. Rapid and robust monitoring of floods using Sentinel-1 and Landsat data on the Google Earth Engine. Remote Sensing of Environment, 24:111664,doi:10.1016/j.rse.2020.111664.
Package: s1ncipher
s1ncipherA simple cipher keeps original order and can be search partly by encode 1 byte data to many bytes.Note: s1ncipher designed to be a partly searchable and sortable string encode method, but after many test, we find that it may returns more result while doing partly search. New applications should not use this package anymore. This is kept for old applications that already using this encode method. Usesrndcipherinstead.Installpipinstalls1ncipherInstalled Utilss1ncipher_encrypts1ncipher_decryptS1nCipherUsage examplesUse raw API s1ncipher_encrypt and s1ncipher_decrypt.In [1]: from s1ncipher import s1ncipher_encrypt

In [2]: from s1ncipher import s1ncipher_decrypt

In [3]: password = "test-password"

In [4]: data1 = b"plain text"

In [5]: data2 = s1ncipher_encrypt(data1, password)

In [6]: print(data2)
b's:n\xeceAm\x9eq \xadwX|k\xf6Iy\x0ewX|'

In [7]: data3 = s1ncipher_decrypt(data2, password)

In [8]: print(data3)
b'plain text'

In [9]: data1 == data3
Out[9]: True

In [10]:Plain data must be in bytes format.Encrypted data is also in bytes format.Use S1nCipher enveloped APIIn [14]: from s1ncipher import S1nCipher

In [15]: from zenutils import cipherutils

In [16]: password = "test-password"

In [17]: text1 = "plain text"

In [18]: cipher = S1nCipher(password=password, result_encoder=cipherutils.HexlifyEncoder(), force_text=True)

In [19]: text2 = cipher.encrypt(text1)

In [20]: print(text2)
733a6eec65416d9e7120ad77587c6bf649790e77587c

In [21]: text3 = cipher.decrypt(text2)

In [22]: print(text3)
plain text

In [23]: text1 == text3
Out[23]: TrueCreate a cipher instance to do encrypt and decrypt.With result_encoder=cipherutils.HexlifyEncoder(), encrypted data will be hexlified.With force_text decrypted data will be decoded from bytes to str.Test With Python2.73.23.33.43.53.63.73.83.93.103.11Releases0.3.0First release.0.3.1Deps on zenutils, instead of fastutils.Doc fix.
Package: s1-noisefloor
AboutThis library provides algorithms to remove noise floor intensity patterns that are prevelant in
Sentinel-1 cross-polarized images in EW mode, and to a lesser degree, IW mode.The algorithms in this library make use of convex optimization to construct noise floors that can be
subtracted to correct the image. Two main algorithms are implemented that make use of the
information provided in the Sentinel-1 xml files.A linear noise floor removal method that rescales the default noise floor
that is provided in each Sentinel-1 product. This is the application of the method in
P. Q. Lee, L. Xu, D. A. Clausi. 2020. Sentinel-1 additive noise removal from cross-polarization
extra-wide TOPSAR with dynamic least-squares. Remote Sensing of
Environment. 248.https://doi.org/10.1016/j.rse.2020.111982. Currently only available in GRD EW mode images.A non-linear noise floor removal method that computes the noise floor as a power function of
the antenna pattern. Parameters are estimated with linear programming. This is the application
of the method inhttp://www.eng.uwaterloo.ca/~pqjlee/lp_paper_aug14_2020.pdf. Can be applied to both EW and IW GRD mode images.For more info, seehttps://github.com/PeterQLee/sentinel1_denoise_rs.
Package: s2
S2-pyA light wrapper overs2sphereto mirrorH3-pyAPI calls.Installingpipinstalls2UsingImport Itfroms2imports2Get a s2 square given a pointlat,lon,res=12,-3,10s2_address=s2.geo_to_s2(lat,lon,res)Get the boundaries of a s2 squares2.s2_to_geo_boundary(s2_address)Get squares of a resolution within a polygons2.polyfill(geo_json,res)FeaturesTable of functions to be implemented in order of priorityh3 functionsimplemented?issuegeo_to_h3yesh3_to_geoyesh3_to_geo_boundaryyespolyfillyeshex_ringnok_ringnok_ring_distancesnoh3_set_to_multi_polygonnoh3_to_parentnoh3_to_childrennohex_rangenohex_areanoedge_lengthnonum_hexagonsnoh3_indexes_are_neighborsnoh3_distancenoh3_line_sizenoCreditsFree software: MIT licenseThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.9 (2019-11-12)Add option to polyfill to return geometry ids.0.1.8 (2019-11-12)Add example tests.0.1.7 (2019-11-12)Basic Documenations.0.1.0 (2019-11-12)First release on PyPI.
Package: s22rgb
s22rgb mean sentinel 2 to rgb image.The technical route is as follows:Obtain the ZIP file listThe for loop runs iteratively and decompresses a single ZIPObtain the list of files in JP2 format, which corresponds to TIFF files of other remote sensing satellites4.GDAL reads jp2 file, numpy calculates linear transformation, here using 2% linear transformationRecombine it into a three-band matrix and save it as a common JPG format through OpencVcontact锛歽tkz11@163.com
Package: s27a-jbq
精班棋精班棋是一款自由度很高的棋类游戏这款游戏的最大特点就是地图的可自定义性以及对于扩展插件的高度支持运用这些，你可以在精班棋中还原出一些经典的棋类游戏目录精班棋目录安装使用方法许可证安装(返回目录)exe版本您可以在精班棋官网下载exe版本并获取对应的地图、扩展包安装模块若想通过模块的方式运行精班棋，您需要Python解释器使用以下命令来安装模块python.exe -m pip install s27a_jbq在安装s27a_jbq模块后，使用以下命令进入精班棋面板，并按照说明生成游戏文件夹python.exe -m s27a_jbq在生成游戏文件夹中，游戏运行方式有以下选择：code：代码模式（生成代码仅为示例）window：窗口模式在窗口模式游戏文件夹中有extensions文件夹，该文件夹用于存储扩展，扩展具体使用方法请看这里使用方法(返回目录)以下使用方法均针对窗口模式游戏过程在设置好地图及扩展（具体方法请参见下文）后，点击开始游戏即可游戏中，以红方为先手，双方依次移动棋子并尝试吃掉对方棋子，以先吃掉对方的首领棋子（任意1个即可）为胜利条件每个棋子上会有可移动方向标注，在己方回合单击棋子即可查看该棋子具体可移动格子，右键棋子可以查看该棋子详细信息一些棋子在不同的位置会有不同的可移动格子，每个棋子的具体可移动格子根据地图、扩展决定在对局结束后，如果在设置中设置了棋局记录路径，则会对棋局进行记录地图地图文件是.xlsx文件，其中包含至少3个表，分别对应棋子、棋盘与特殊规则地图文件中可能会有其他名称的表，这些表不会被程序读取，但内部可能会有该地图的说明信息您可以在这里获取地图，也可以自定义地图（查看帮助文档）扩展扩展是.py文件，是用Python语言按照一定规则编写的一段代码块，运用扩展可以实现一些独特的行走方法及游戏规则您可以在这里获取扩展，也可以自行编写扩展（查看帮助文档）在游戏设置中可以导入扩展，也可以手动将扩展文件添加到游戏文件夹下的extensions文件夹下。扩展默认为禁用状态，可以在游戏设置中启用或禁用扩展许可证(返回目录)MIT License
Package: s2aio
Program, control and monitor anArduinoboard using theScratchorSnap!visual programming languages without having to learn C++.Included with s2aio are programming blocksfor thefollowing languages:English (EN)Chinese (zh-CN)Chinese (zh-TW)Dutch (NL)French (FR)German (DE)Greek (GR)Korean (KO)Italian (IT)Portuguese (PT)Polish (PL)Spanish (ES)FeaturesWritten in Python using the new Python 3.5 asyncio library.Cross platform - works with Windows, Mac and Linux (including Debian Raspberry Pi).Easy to install.Easy to use.Want to learn more? Check out theWiki pages.This project was developed usingPycharm