Saravanan666/pypi-org huggingface dataset:
Package: cdsodatacli
cdsodatacliodata client for Copernicus Data Space catalogVery first stepsstep 1: create a config filecreate a copy of the config.yml  called localconfig.yml wherecdsodatacliis installed in your python environement.cpconfig.ymllocalconfig.ymledit the localconfig.yml to set your own path for output directories and CDSE accountsvilocalconfig.ymlstep 2: do a query on CDSE Odata APIqueryCDS-h# orqueryCDS--collectionSENTINEL-1--startdate20230101T00:00:00--stopdate20230105T10:10:10--modeIW--productSLC--querymodeseq--geometry"POINT (-5.02 48.4)"or use the methodcdsodatacli.query.fetch_data()step 3: download a listing of productdownloadFromCDS-hInstallationpipinstall-Ucdsodatacli🛡 LicenseThis project is licensed under the terms of theMITlicense. SeeLICENSEfor more details.📃 Citation@misc{cdsodatacli,author={umr-lops},title={odata client for Copernicus Data Space catalog},year={2023},publisher={GitHub},journal={GitHub repository},howpublished={\url{https://github.com/umr-lops/cdsodatacli}}}CreditsThis project was generated withpython-package-template
Package: cdsr-pack
cdsr_packCDSR pack is a package to store common functions from CDSR project.Installation$ pip install cdsr-pack==<version>Look athereto see the available versions.Usage>>>fromcdsr_packimportbuild_collection,build_item,decode_path>>>image=('/TIFF/AMAZONIA1/2021_03/AMAZONIA_1_WFI_DRD_2021_03_03.12_57_40_CB11/''217_015_0/2_BC_LCC_WGS84/AMAZONIA_1_WFI_20210303_217_015_L2_BAND4.tif')>>>decoded_image=decode_path(image)>>>decoded_image{'satellite':'AMAZONIA1','sensor':'WFI','path':'217','row':'015','date':'2021-03-03','geo_processing':'2','radio_processing':'DN','antenna':'CB11'}>>>build_collection(decoded_image)'AMAZONIA1_WFI_L2_DN'>>>build_item(decoded_image)'AMAZONIA1_WFI_217015_20210303_CB11'DevelopmentInstall a specific Python version and create a virtualenv with it. For example:$ pyenv install 3.8.5 && \
    pyenv virtualenv 3.8.5 inpe_cdsr_cdsr_packActivate the virtualenv and install the dependencies inside it:$ pyenv activate inpe_cdsr_cdsr_pack && \
    pip install -r requirements.txtTestingActivate the virtualenv:$ pyenv activate inpe_cdsr_cdsr_packRun the test cases:$ python -m unittest discover tests "test_*.py" -vOr, run the test cases and get coverage report:$ coverage run -m unittest discover tests "test_*.py" -v &&
    coverage report -m &&
    coverage html
Package: cds-sorenson
CDS API to use Sorenson transcoding serverThis is an experimental developer preview release.Free software: GPLv2 licenseDocumentation:https://pythonhosted.org/cds-sorenson/ChangesVersion 0.1.8 (released 2020-01-14)Adding authentication parameters for get status in sorenson api.Version 0.1.7 (released 2020-01-10)Integrate new sorenson clusters.Adding authentication parameters for sorenson api.Version 0.1.6 (released 2018-06-12)Fixed issue with very low size videosVersion 0.1.5 (released 2018-03-05)Initial public release.
Package: cdstarcat
cdstarcatManage objects in a CDSTAR instance using a local catalog.InstallRunningpipinstallcdstarcatwill install thecdstarcatpackage as well as a commandline interfacecdstarcat.For developingcdstarcat, clone the repositoryclld/cdstarcatand runcdcdstarcat
pipinstall-rrequirements.txtCLIRuncdstarcat--helpto get a list of available subcommands, andcdstarcathelpSUBCOMMANDto get usage information for a particular subcommand.cdstarcat APITypically,cdstarcatwill be used programmatically, to implement recurring media file maintenance tasks
within projects - such asuploading media files for a new submission to Dictionaria.In the simplest case this could look as follows:importosfromcdstarcatimportCatalogdefupload(directory):withCatalog(os.environ['CDSTAR_CATALOG'],cdstar_url=os.environ['CDSTAR_URL'],cdstar_user=os.environ['CDSTAR_USER'],cdstar_pwd=os.environ['CDSTAR_PWD'])ascat:md={'collection':'PROJECT NAME','path':'%s'%directory,}forfname,created,objincat.create(directory,md):print('{0}->{1}'.format(fname,obj.id))
Package: cdstoolbox-remote
Experimental tool to run a workflow on the CDS Toolbox remotely.InstallInstall viapipwith:$ pip install cdstoolbox-remoteConfigureIf you are not already registered to the CDS, register here:https://cds.climate.copernicus.eu/user/registerthen log in the CDS and configure thecdsapilibrary following the instructions at:https://cds.climate.copernicus.eu/api-how-toUsageWrite a valid CDS Toolbox workflow to the filetest-wf.py:import cdstoolbox as ct

@ct.application(title='Hello World!')
@ct.output.figure()
@ct.output.download()
def application():

    data = ct.catalogue.retrieve(
        'seasonal-monthly-single-levels',
        {
            'originating_centre': 'ecmwf',
            'variable': '2m_temperature',
            'product_type': 'ensemble_mean',
            'year': '2018',
            'month': ['02'],
            'leadtime_month': ['1'],
        }
    )

    fig = ct.cdsplot.geomap(
        data, pcolormesh_kwargs={'cmap': 'RdBu_r'}, title='Mean {long_name}',
        projection=ct.cdsplot.crs.Robinson()
    )

    return fig, dataThen run the worflow remotely with:$ python test-wf.pyLicenseCopyright 2019 European Centre for Medium-Range Weather Forecasts (ECMWF)Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation nor
does it submit to any jurisdiction.
Package: cdstools
This package offers users simple tools designed for Credit Default Swap (CDS) data.
Included in this package is a hazard rate bootstrapping function which
implements the JP Morgan model for determining hazard rate curves, and spread calculators
for both vanilla and binary CDSs. All functions linearly interpolate/extrapolate yield
curve values wherever necessary.To be included in future releases will be a function that prices Credit Default
Swaptions (options on CDSs). Also, later editions of this package will offer the users
options for interpolating/extrapolating yield curve values.Bootstrapping Function:
This function implements the so-called JP Morgan model. This model makes the
assumptions that the interest rate process is independent of the default process
and that default leg pays at the end of each accrual period. Typically, regular
fee payments occur at the end of each period. To that end, this model assumes
that defaults occur midway buring each payment period. And finally, this model
assumes that the hazard rate is piecewise constant on the intervals that correspond
to the maturities of the CDS contracts.CDS pricing function:
This function calculates the “fair” spread of a vanilla CDS, i.e. the spread that
makes the value of the default/floating leg equal to the value of the payment/fixed
leg. This is accomplished by using a given yield curve and given credit curve.Binary CDS pricing function:
Similar to the previous function, this one calculates the “fair” spread of a binary CDS
by finding the spread that equates the value of the default/floating leg equal to
the value of the payment/fixed leg. This is also accomplished using a provided
yield curve and credit curveChange Log0.0.1 (10/08/2020)First Release0.0.2 (10/10/2020)CDS spread calculator added. Some typos corrected.0.0.3 (10/11/2020)Yield curve interpolation/extrapolation component was corrected.Binary CDS spread calculator added.Documentation updated
Package: cds-trytond-account-ca-gifi
A Canadian account chart module for the Tryton application platform.TO DO:
The module can generate english and french chart of accounts / taxes. The
english / french XML files can be generated from the same original XML file
thanks to the localize.xsl XSLT script. The script will produce the desired XML
file to STDOUT. The XSLT script could be launched with the following
command:xsltproc --stringparam lang <lang> localize.xsl <xml file>wherelangis eitherenorfr.NOTE THIS IS NOT IMPLEMENTED UNTIL NEXT RELEASE
French translation is still a TO DO item!InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need a custom account chart please contact Coalesco Digital Systems:https://coalesco.ca/LicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/For more information about this module please contact Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_account_ca_gifi
Package: cds-trytond-account-payment-beanstream
The account_payment_beanstream module of the Tryton application platform.This module adds a payment processing method to account_payment for processing
payment transactions through BeanStream’s gateway using client-side interface.
This module does NOT collect any payment card information; that is done by the
user’s web browser and sent driectly to BeanStream’s system, which responds
with a single-use token.  That token is used by this module to process the
pending transaction to determine if it is approved, declined or failed.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need support specific to this module contact
Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_account_payment_beanstreamLicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/
Package: cds-trytond-cms
A module that provides basic content management system (CMS) functions within
the tryton server. A flask app or other framework can be used to present the
content managed by this module.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need assistance with this module specifcally please contact
Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_cmsLicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/For more information about this module please contact Coalesco Digital Systems:https://coalesco.ca/
Package: cds-trytond-product-image
A module that extends the product to associate one or more images per
variant.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need a custom module please contact Coalesco Digital Systems:https://coalesco.ca/LicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/For more information about this module please contact Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_product_image
Package: cds-trytond-product-uri
A module that extends the product to add URI “slugs” to products and
their categories to support web applications.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need support specific to this module contact
Coalesco Digital Systems:https://coalesco.ca/LicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/For more information about this module please contact Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_product_uri
Package: cds-trytond-sale-tax-subdivision
A module that applies sales taxes based upon the subdivision in the
billing address. Only taxes that appear in both the product AND in the
provincial tax rules are applied to the sale.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonIf you need support specific to this module contact
Coalesco Digital Systems:https://src.coalesco.ca/tryton/modules/cds_trytond_sale_tax_subdivisionLicenseSee LICENSECopyrightSee COPYRIGHTFor more information about Tryton please visit the Tryton web site:http://www.tryton.org/
Package: cdtb
CommunityDragon ToolboxA toolbox to work with League of Legends game files and export files for CDragon.
It can be used as a library or a command-line tool.Most things are discussed on ourDiscord server. Feel free to join!Installpip3 install cdtbWindows users:if needed precompiled packages of binary dependencies can be foundhere.Updating hashesMost commands require hash lists which are updated frequently and and not bundled with this code.To download them locally fromraw.communitydragon.org, run:cdtb fetch-hashesThe command will print where they are downloaded.
By default, they will land in~/.local/share/cdragon(or%LOCALAPPDATA%/cdragonon Windows).
An alternate location can be configured using theCDTB_HASHES_DIRorCDRAGON_DATAenvironment variables.Hashes are versionned in theDatarepository.Command-line examplesThe CLI interface allows:download game files and list relations betweenlist and extract content of WAD filesexport game files to be served by CDragonHere are some examples, usecdtb -hfor details.# download and extract files for the latest patch to the directory `cdn`# (files from the new patcher will be used)cdtb-vdownload-scdnpatch=# download and extract files from the PBE to the directory `cdn`cdtb-vdownload-scdn--patchlinepbepatch=main# same, but don't download language-specific filescdtbdownload-scdn--no-langpatch=# list patch versions (using already downloaded data in `cdn/`)cdtbversions-scdnpatch# list game files for patch 9.9cdtbfiles-scdngame=9.9# extract a WAD filecdtbwad-extractpath/to/assets.wad# list content of a WAD filecdtbwad-listpath/to/assets.wad# export files from PBEcdtbexport-scdn--patchlinepbe--fullmain# export files of patch 7.23 into export/7.23 (deprecated)cdtbexport-oexport7.23WAD filesWADs are archives used by the clients. They contain assets, game data (e.g.
item description), files for the LCU interface and more.Paths of files in WAD files are hashed, they are not stored in clear in the
archive. A large number of these hashes have been guessed but there are still a
lot of unresolved hashes.An hash list is provided and regularly updated with new hashes as they are
discovered, especially after client updates.
Package: cdtec
Change detection in satellite imagesList of authorsBenjamin Pillotbenjamin.pillot@ird.frAntoine Pfeferpfeferantoine@gmail.comBertrand Ygorrabertrand.ygorra@inrae.frFrédéric Frappartfrederic.frappart@legos.obs-mip.frThibault Catrythibault.catry@ird.frDescription(coming soon)InstallationSeehere
Package: cdtray
CD Trayhttps://github.com/son-link/CD-TrayPlay your audio CDs directly from the system tray© 2012-2023 Alfonso Saavedra "Son Link"Under GPLv3 LicenseInstallFrom source code:Clone the repo, download the zip under Code -> Download ZIP or download the last release.Open a terminal and go to the project folder.Install the dependencies:From PIP(with administration permissions):pip install -r requirements.txtDebian/Ubuntu/Mint/MX Linux:apt:apt install python3 python3-pip python3-pyqt5 python3-gst-1.0 python3-psuti, python3-dbus.mainloop.pyqt5 python3-giIf you usePipewireinstall the packagegstreamer1.0-pipewireArch Linux/Manjaro:pacman:python-pip python-pyqt5 gstreamer gst-plugins-base python-psutil gst-pythonIf you usePipewireinstall the packagegst-plugin-pipewireCopy the icon and desktop file:All users:install -m 644 bin/io.sonlink.cdtray.desktop /usr/share/applicationsinstall -m 644 bin/io.sonlink.cdtray.svg /usr/share/icons/cdtray.svgCurrent user:cp bin/io.sonlink.cdtray.desktop ~/.local/share/applicationscp bin/io.sonlink.cdtray.svg ~/.icons/cdtray.svgFrom Pypi:pip install cdtrayCopy the icon and desktop file:All users:install -m 644 bin/io.sonlink.cdtray.desktop /usr/share/applicationsinstall -m 644 bin/io.sonlink.cdtray.svg /usr/share/icons/cdtray.svgCurrent user:cp bin/io.sonlink.cdtray.desktop ~/.local/share/applicationscp bin/io.sonlink.cdtray.svg ~/.icons/cdtray.svgAUR:If you use Arch Linux, Manjaro, or other Arch Linux base distributions, you can install the official package fromAURFor example:yay -S cdtrayExecutables:At the moment not availableCommand line options:-d | --device : set the device to read the CD from (usually /dev/sr0 or /dev/cdrom)-f | --force : if another cdtray instance is running, kill it and start a new one
Package: cdtw
##Dynamic Time Warping Project[Examples](http://nbviewer.ipython.org/github/honeyext/cdtw/blob/master/examples.ipynb)This module implements:Distance functions:* manhattan* euclidean* squared euclideanLocal constraints(step patterns, step functions):* [well known step patterns dp1, dp2, dp3][1]* [local constraints classified by Sakoe-Chiba][2]impoGlobal constraints(windows):* Itakura parallelogram* [Sakoe-chiba band, Palival adjustment window][3]```pythonimport numpy as npfrom cdtw import pydtwr = np.array([1,2,3,4])q = np.array([2,3,4,5])d = pydtw.dtw(r,q,pydtw.Settings(step = 'p0sym',     #Sakoe-Chiba symmetric step with slope constraint p = 0window = 'palival', #type of the windowparam = 2.0,        #window parameternorm = False,       #normalizationcompute_path = True))d.get_dist()#2.0d.get_cost()#array([[  1.,   3.,   6.,  inf],#       [  1.,   2.,   4.,   7.],#       [  2.,   1.,   2.,   4.],#       [ inf,   2.,   1.,   2.]])d.get_path()#[(0, 0), (1, 0), (2, 1), (3, 2), (3, 3)]```[1]: http://cyber.felk.cvut.cz/gerstner/teaching/zbd/dtw.pdf[2]: http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1163055&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D1163055[3]: https://maxwell.ict.griffith.edu.au/spl/publications/papers/sigpro82_kkp_dtw.pdf
Package: cdumay-env2cfgfile
A binary to dump environment into a file (Tested on python 2.7 & 3.5)QuickstartFirst, install cdumay-env2cfgfile usingpip:pip install -U cdumay-env2cfgfileExampleThe given example dump all environment QT variables in a json file:$ ./env2cfg --prefix '^QT_' json /tmp/myenv.json
$ cat /tmp/myenv.json
{
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "",
    "QT_LINUX_ACCESSIBILITY_ALWAYS_ON": "1",
    "QT_STYLE_OVERRIDE": "gtk"
}Noteprefix expression areregular expression.LicenseMIT License
Package: cdumay-error
cdumay-errorcdumay-error is a basic library used to standardize exception objects and to
serialize them into json usingmarshmallow.QuickstartFirst, install cdumay-error usingpip:pip install -U cdumay-errorProject LinksDocs:http://cdumay-error.readthedocs.io/PyPI:https://pypi.python.org/pypi/cdumay-errorIssues:https://github.com/cdumay/cdumay-error/issuesLicenseLicensed underBSD 3-Clause Licenseorhttps://opensource.org/licenses/BSD-3-Clause.
Package: cdumay-http-client
cdumay-http-clientThis library is a basic HTTP client for NON-REST api with exception formatting.QuickstartFirst, install cdumay-rest-client usingpip:$ pip install cdumay-http-clientNext, add aHttpClientinstance to your code:fromcdumay_http_client.clientimportHttpClientclient=HttpClient(server="http://warp.myhost.com/api/v0")print(client.do_request(method="POST",path="/exec",data=[...]))ExceptionYou can usemarshmallowto serialize exceptions:importjson,sysfromcdumay_http_client.clientimportHttpClientfromcdumay_http_client.exceptionsimportHTTPException,HTTPExceptionValidatortry:client=HttpClient(server="http://warp.myhost.com/api/v0")data=client.do_request(method="GET",path="/me")exceptHTTPExceptionasexc:data=HTTPExceptionValidator().dump(exc).datajson.dump(data,sys.stdout,sort_keys=True,indent=4,separators=(',',': '))Result:{"code":404,"extra":{},"message":"Not Found"}LicenseLicensed underBSD 3-Clause Licenseorhttps://opensource.org/licenses/BSD-3-Clause.
Package: cdumay-opentracing
cdumay-opentracingcdumay-opentracing is a python library to facilitate opentracing integration using class drivers.InstallInstall the lib usingpip:pip install -U cdumay-opentracingDocumentationFull documentation is available athttp://cdumay-opentracing.readthedocs.io/.Project LinksDocs:http://cdumay-opentracing.readthedocs.io/PyPI:https://pypi.python.org/pypi/cdumay-opentracingIssues:https://github.com/cdumay/cdumay-opentracing/issuesLicenseLicensed under MIT license (LICENSEorhttp://opensource.org/licenses/MIT)
Package: cdumay-rest-client
cdumay-rest-clientThis library is a basic REST client with exception formatting.QuickstartFirst, install cdumay-rest-client usingpip:$ pip install cdumay-rest-clientNext, add aRESTClientinstance to your code:importjson,sysfromcdumay_rest_client.clientimportRESTClientclient=RESTClient(server="http://jsonplaceholder.typicode.com")json.dump(client.do_request(method="GET",path="/posts/1"),sys.stdout,sort_keys=True,indent=4,separators=(',',': '))Result:{"body":"quia et suscipit\nsuscipit recusandae [...]","id":1,"title":"sunt aut facere repellat provident occaecati excepturi optio reprehenderit","userId":1}ExceptionYou can usemarshmallowto serialize exceptions:importjson,sysfromcdumay_rest_client.clientimportRESTClientfromcdumay_http_client.exceptionsimportHTTPException,HTTPExceptionValidatortry:client=RESTClient(server="http://jsonplaceholder.typicode.com")data=client.do_request(method="GET",path="/me")exceptHTTPExceptionasexc:data=HTTPExceptionValidator().dump(exc).datajson.dump(data,sys.stdout,sort_keys=True,indent=4,separators=(',',': '))Result:{"code":404,"extra":{},"message":"Not Found"}LicenseLicensed underApache License 2.0orhttps://opensource.org/licenses/Apache-2.0.