Saravanan666/pypi-org huggingface dataset:
Package: csp-cryspy
CrySPYCrySPY (pronounced as crispy) is a crystal structure prediction tool written in Python.Document:https://tomoki-yamashita.github.io/CrySPY_docQuestions and comments:https://github.com/Tomoki-YAMASHITA/CrySPY/discussionsLatest versionversion 1.2.3 (2023 October 21)News[2023 October 21] CrySPY 1.2.3 released.bug fix for MPI[2023 October 18] CrySPY 1.2.2 released.Enthalpy[2023 September 27] CrySPY 1.2.1 released.bug fix for ASE interface[2023 July 10] CrySPY 1.2.0 released. Version information/version 1.2.0Interface for ASEAdoption of loggingSee alsoVersion informationandCHANGELOG[2023 June 14] CrySPY 1.1.1 releasedbug fix[2023 May 16] CrySPY 1.1.0 releasedMPI parallelization (optional)New score of LAQASee alsoVersion informationandCHANGELOG[2023 March 16] CrySPY 1.0.0 releasedCrySPY is available in PyPI, so you can install by pip (project name is csp-cryspy).See alsoVersion informationandCHANGELOGSystem requirementsPythonPython >= 3.8PyXtal >= 0.5.3(optional)COMBO(required if algo is BO)mpi4pySeeCrySPY documentin detail.Structure optimizerAt least one optimizer is required.VASP(tested with version 5.4.4)QUANTUM ESPRESSO(tested with version 6.x, version 5.x does not work)OpenMXsoiap(tested with version 0.2.2)LAMMPSOthers(optional)cal-fingerprint: (required if algo is BO)find_wy: find_wy can randomly select a combination of Wyckoff positions for a given chemical composition and space group.Document (English/Japanese)CrySPY documentCrySPY UtilityCrySPY UtilityReferenceCrySPY (software)T. Yamashita, S. Kanehira, N. Sato, H. Kino, H. Sawahata, T. Sato, F. Utsuno, K. Tsuda, T. Miyake, and T. Oguchi, Sci. Technol. Adv. Mater. Meth.1, 87 (2021).https://www.tandfonline.com/doi/full/10.1080/27660400.2021.1943171Bayesian optimizationT. Yamashita, N. Sato, H. Kino, T. Miyake, K. Tsuda, and T. Oguchi, Phys. Rev. Mater.2, 013803 (2018).https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.2.013803N. Sato, T. Yamashita, T. Oguchi, K. Hukushima, and T. Miyake, Phys. Rev. Mater.4, 033801 (2020).https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.4.033801Baysian optimization and evolutionary algorithmT. Yamashita, H. Kino, K. Tsuda, T. Miyake, and T. Oguchi, Sci. Technol. Adv. Mater. Meth.2, 67 (2022).https://www.tandfonline.com/doi/full/10.1080/27660400.2022.2055987LAQAK.Terayama, T. Yamashita, T. Oguchi, and K. Tsuda, npj Comput. Mater.4, 32 (2018).https://www.nature.com/articles/s41524-018-0090-yT. Yamashita and H. Sekine, Sci. Technol. Adv. Mater. Meth.2, 84 (2022).https://www.tandfonline.com/doi/full/10.1080/27660400.2022.2059335LicenseCrySPY is distributed under the MIT License.Copyright (c) 2018 CrySPY Development Team
Package: cspdataset
图像处理工具包处理 COCO, VOC 格式的数据集包含数据集互转、切分、检查对coco格式数据进行评估（基于漏检率、错检率）数据集格式说明VOCVOC  
  |  
  |---------Annotations  
                |-------xxx.xml  
  |---------ImageSets  
                |  
                |-------Main    
                         |-------trainval.txt  
  |---------JPEGImages  
                |-------xxx.jpg
  |---------labels.txt
  
# ImageSets 非必须COCOCOCO
  |  
  |---------Annotations  
                |-------train.json
  |---------train  
                |-------xxx.jpg使用方法pip 安装pip install cspdatasetdatatools数据工具使用文档evatools评估工具使用文档使用方法pip 安装pip install cspdataset命令行式使用datatools COMMAND参数说明usage: datatools.py [-h] --form {coco,COCO,VOC,voc} --data_dir DATA_DIR[--split][--division_ratio DIVISION_RATIO [DIVISION_RATIO ...]][--transform]
[--output_transform OUTPUT_TRANSFORM][--check]
[--output_check OUTPUT_CHECK][--labelfile LABELFILE] [--eva EVA]tools for voc/coco datasetoptional arguments:-h, --help                             show this help message and exit--form {coco,COCO,VOC,voc}             the form of the dataset--data_dir DATA_DIR                    the dir of the dataset--split                                Set a switch to split--division_ratio DIVISION_RATIO [DIVISION_RATIO ...] data segmentation ratio--transform                            Set a switch to transform--output_transform OUTPUT_TRANSFORM    dir for output--check                                Set a switch to check--output_check OUTPUT_CHECK            dir for output--labelfile LABELFILE                  the labels.txt from the platform
Package: c_speech_features
This library is a complete port of python_speech_features (https://github.com/jameslyons/python_speech_features) to C.UsageClone this repository in your C/C++ project:git clone https://github.com/cwiiis/c_speech_featuresand add these files to your build:c_speech_features.c
kiss_fft130/kiss_fft.c
kiss_fft130/tools/kiss_fftr.cAlternatively, you can build shared and static libraries to use with your project instead of importing the files directly. Using cmake, from within a check-out:cmake -DCMAKE_C_FLAGS="-O2" -DCMAKE_INSTALL_PREFIX="/usr/local" -DENABLE_DOUBLE=OFF
makeThis will result in libc_speech_features.so and libc_speech_features_static.a being built (or platform equivalents), which you can link in your project. An install target is also provided, allowing system-wide use of the library, but this is not recommended.Refer to c_speech_features.h for documentation.BindingsPythonBuilding python bindings requires SWIG (http://www.swig.org/) and numpy (http://www.numpy.org/). Run:python setup.py installThis will build and install the statically linked c_speech_features module, which can then be used in any python script. Refer to python/test/test.py to see examples of its use. For the most part, it is a drop-in replacement for python_speech_features.Differences to python_speech_featuresc_speech_features only supports one datatype, which is defined at compile-time. Currently, this can be either 32-bit (float), or 64-bit (double). python_speech_features operates in 64-bit by default.Thewinfuncparameter is an array instead of a function, and is expected to be as wide as necessary depending on context.UsesIt is not recommended to replace python_speech_features with c_speech_features in a Python context. python_speech_features is safer and will output better error messages when fed with incorrect parameters. c_speech_features is most likely to crash in such situations. On the other hand, this module can be useful to debug issues when using c_speech_features in more appropriate contexts, or if you have very specific needs. c_speech_features is likely to perform faster when compiled with optimisation than python_speech_features. In 64-bit, the gains are minimal, except for particular functions, where as in 32-bit the gains can be substantial (at the cost of precision).
Package: cspell
C Code Spell CorrectionContext aware spelling check of comments and string literals in C/C++ source code files.
Operation is non-interactive to facilitate operations on an existing large code base.First pass to collect terms from source code and propose corrections to comments.$./cspell--out-dictcode.dic--out-correctionsfix.jsoncode.c...Edit candiate corrections in fix.json.Apply corrections$./cspell--add-dictcode.dic--correctionsfix.json--modifycode.c...The argument-f/--inputsreads a list of source files from a file.Operationcspellseparates string literals and C/C++ comments from code.
Tokens/terms found in code are automatically excluding from spell check.So in the following,myfunc(),thearg, andretvalwill not
be flagged as spelling errors./** Copyright 2021 Michael Davidsaver*  Who can't spelll rite*/#include<stdio.h>/** @brief special* @param thearg is the argument*/voidmyfunc(intthearg){// myfunc() is a functon on thearg and retvalintretval=thearg;if(thearg==42)printf("thearg is amagic value\n");/* another commment */returnretval;}
Package: cs.pfg.mipago
APloneFormGenaddon to make payments with Basque Government’s payment serviceFree software: GNU General Public License v2Documentation:https://cspfgmipago.readthedocs.ioFeaturesThis package allows to configure aPloneFormGenform to make payments in the
Basque Governments’s payment service usingpymipagoCreditsThe development of this package was funded byAMETX Erakunde AutonomoaChangelog1.0 (2020-01-28)Require tablib < 1.0.0.
[erral]1.0b21 (2019-01-08)Translate error message.
[erral]1.0b20 (2019-01-08)Extra error code checking.
[erral]1.0b19 (2019-01-08)Rework thanks page and confirmation email
[erral]t1.0b18 (2019-01-08)Get and save body and pre messages to avoid losing them.
[erral]1.0b17 (2019-01-07)Send error text in the mail confirmation if an error happens during the payment process.
[erral]1.0b16 (2019-01-07)Send confirmation email when receiving the payment confirmation notification.
[erral]1.0b15 (2018-06-13)Fix data export.1.0b14 (2018-06-04)Fix data export.
[erral]1.0b13 (2018-06-04)Do not save on the canonical object, but on the parent’s canonical Mi Pago child
[erral]1.0b12 (2018-06-04)Save payment data on the canonical objects to avoid duplicity
[erral]Fix status
[erral]1.0b11 (2018-06-01)Fix Syntax error
[erral]1.0b10 (2018-06-01)Handle payment confirmation messages
[erral]Disable CSRF protection for payment confirmation url
[erral]1.0b9 (2018-05-31)Fix value formatting
[erral]1.0b8 (2018-04-27)Document newest options.
[erral]Translations for schemata titles.
[erral]1.0b7 (2018-04-27)Add a default value for recipient name field.
[erral]1.0b6 (2018-04-27)Add options to send the PDF template
[erral]Add options to send logo urls
[erral]1.0b5 (2018-04-25)Add email sending ability.
[erral]1.0b4 (2018-04-25)Add an option to write a script to override the amount of the payment dynamically
[erral]Add fields to override values of the payment service texts
[erral]Add fields to send to the payment service the data of the citizen
[erral]Change date limit field to be a date field.
[erral]Translate action title.
[erral]1.0b3 (2018-04-20)Translations.
[erral]1.0b2 (2018-04-20)Export data in XLS format.
[erral]Save the form data in an annotation to show in the thanks page.
[erral]Use the test_environment from pymipago for testing in the test environment.
[erral]1.0b1 (2018-04-18)Initial implementation
[erral]
Package: cs.pfg.multifile
IntroductionThis product provides a new form field forPloneFormGenforms that allows
adding more than one files using thejquery.filerThe standard file field forPloneFormGenallows only adding one file. Adding
just a new file field with the optionmultiplecan solve the problem, but
we think that the usability of that option is not good. Is not obvious for
a lot of people to push Ctrl or Shift to add more than one files. So to
address this usability feature, we have added thejquery.filerfile
selection widget, that shows in a very nice interface the added files with an
option to delete them or adding new ones without much effort.InstallationAdd this product to your buildout file and rerun the buildout.Go to Site Setup -> Add ons and install itA new field will show in yourPloneFormGenforms called MultiFileField.Changelog1.0.1 (2016-07-07)documentation [Mikel Larreategi <mlarreategi@codesyntax.com>]fix field icon [Mikel Larreategi <mlarreategi@codesyntax.com>]rename readme [Mikel Larreategi <mlarreategi@codesyntax.com>][Mikel Larreategi <mlarreategi@codesyntax.com>][ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]1.0 (2016-07-06)fix manifest [Mikel Larreategi <mlarreategi@codesyntax.com>]metadata [Mikel Larreategi <mlarreategi@codesyntax.com>]add PFG as requirement [Mikel Larreategi <mlarreategi@codesyntax.com>]PFG field with jquery.filer for multiple file upload [Mikel Larreategi <mlarreategi@codesyntax.com>]initial package structure using ZopeSkel archetype template [Mikel Larreategi <mlarreategi@codesyntax.com>]initial package structure using ZopeSkel [Mikel Larreategi <mlarreategi@codesyntax.com>]
Package: cs.pipeline
Latest release 20191007.1:
Pipeline functionality extracted from cs.later: asynchronous pipelines mediated with a cs.later.Later.Function pipelines mediated by queues and a Later.ClassPipelineMRO:cs.resources.MultiOpenMixinA Pipeline encapsulates the chain of PushQueues created by
a call to Later.pipeline.MethodPipeline.__init__(self, name, L, actions, outQ)Initialise the Pipeline fromname, Later instanceL,
list of filter functionsactionsand output queueoutQ.Each action is either a 2-tuple of (sig, functor) or an
object with a .sig attribute and a .functor method returning
a callable.Functionpipeline(later, actions, inputs=None, outQ=None, name=None)Construct a function pipeline to be mediated by this Later queue.
Return:input, outputwhereinput`` is a closeable queue on which more data items can be put andoutput` is an iterable from which result can be collected.Parameters:actions: an iterable of filter functions accepting
single items from the iterableinputs, returning an
iterable output.inputs: the initial iterable inputs; this may be None.
If missing or None, it is expected that the caller will
be supplying input items viainput.put().outQ: the optional output queue; if None, an IterableQueue() will be
allocated.name: name for the PushQueue implementing this pipeline.Ifinputsis None oropenis true, the returnedinputrequires
a call toinput.close()when no further inputs are to be supplied.Example use with presupplied LaterL:input, output = L.pipeline(
        [
          ls,
          filter_ls,
          ( FUNC_MANY_TO_MANY, lambda items: sorted(list(items)) ),
        ],
        ('.', '..', '../..'),
       )
for item in output:
  print(item)Release LogRelease 20191007.1:
Pipeline functionality extracted from cs.later: asynchronous pipelines mediated with a cs.later.Later.
Package: csplitb
Command-line tool like unix csplit but which splits binary files based on content boundaries rather than index boundaries.This is particularly useful for salvaging jpegs from a corrupted disk image.Example usage:$ csplitb –prefix photo –suffix .jpg –number 4 ffd8ffe1 corrupted-disk-image.rawThis will split the disk image, keeping the header, into photo0000.jpg, photo0001.jpg, etc. Because a disk image represents a potentially fragmented file system, some (or all) of the jpeg files may be corrupted.The “ffd8ffe1” here is a jpeg header. I’m not an expert on the jpeg format, so it’s possible that you may need to use a different hex search term. Use a hex editor or viewer such as xxd to find what content you want to split on.Installationpip install csplitb
Package: cs.plone5.tinymcepatch
IntroductionThis product patches TinyMCE in Plone 5 to make the Upload action of
TinyMCE work when used when plone.app.multilingual is used.This patch fixeshttps://github.com/plone/Products.CMFPlone/issues/1513and
will be included in Plone 5.0.7.Changelog1.0.3 (2017-02-09)Brown bag [erral]1.0.2 (2017-02-09)Fix typo [erral].1.0.1 (2017-02-09)Change metadata [erral]1.0 (2017-02-09)Initial version [erral]
Package: cs.ploneformdemo
cs.ploneformdemoThis product is a demo product to check how a z3c.form based form is rendered in a Plone site. This is useful when designing the site, to check
all the special features that a form needs, such as required fields, error messages, etc.InstallationInstall cs.ploneformdemo by adding it to your buildout:[buildout]

...

eggs =
    cs.ploneformdemoand then runningbin/buildoutAfter installing the addon using the Plone Control Panel, you can go to these URLs to check the forms:Full form:http://plonesite.com/test-form-viewFull form with fieldsets:http://plonesite.com/test-form-fieldsets-viewContributeIssue Tracker:https://github.com/collective/cs.ploneformdemo/issuesSource Code:https://github.com/collective/cs.ploneformdemoSupportIf you are having issues, please let us know.
We have a mailing list located at:project@example.comLicenseThe project is licensed under the GPLv2.ContributorsMikel Larreategi,mlarreategi@codesyntax.comChangelog1.0 (2021-02-22)Initial release.
[erral]
Package: cs.plonepatches.resourceregistries
IntroductionResource Registriescreates a unique URL each time a CSS or JS file is modified providing a way create unique files without having to rename the original ones.It also has a feature to concatenate several CSS or JS files to less files to the user. But with the way this concatenation is done sometimes the files that can be safely concatenated are not, because the tool just tries to concatenate one file with the previous file. For example:We have 4 files registered in this order: a.css, b.css, c.css and d.css. If a.css, b.css and d.css are compatible to be concatenated but c.css is not,Resource Registrieswill create 3 files: ab.css, c.css and d.css.This product, patches the way those concatenated files are created to check all previously concatenated files and concatenate the file there. This way, in the previous example, the patch will create 2 files: abd.css and d.cssInstallingAdd this product to your buildout, re-run buildout and restart your instance, the patch will be applied automatically.To remove this feature, just remove the product from your buildout, re-run it and restart the instance.The product doesn’t create an install profile entry in the Products Control Panel and doesn’t save anything on the database.Changelog1.0 (2015-03-02)Initial implementation
[erral]
Package: csplookup
csplookupClient library for CSP Lookup API.Installpip install csplookupUsagefromcsplookupimportCSPClientfromcsplookup.errorsimportMaxLimitReachedclient=CSPClient(api_key="YOUR_API_KEY")res=client.lookup("4.2.2.4")# check for api errorstry:res.check_api_errors()exceptMaxLimitReached:print("max limit reached")exceptExceptionaserr:print("other errors")# NOTE: check errors file for more exceptions# get json data:json_data=res.get_json()print(json_data)# country code:print(json_data["Result"]["Country"]["IsoCode"])# orprint(res.get_country_code())MethodsSome helper methods that can help you get the data you need faster:# get country iso codeprint(res.get_country_code())# get country name (in english):print(res.get_country_en_name())# get city name (in english):print(res.get_city_en_name())LicenseMIT
Package: cs.plt.contentnegotiator
IntroductionThis module patches PloneLanguageTool’s getContentLanguage method
to work in a virtual hosting environment such as Plone served by Zope.
The original code uses the variable PATH_TRANSLATED from the request
but that variable has all the VirtualHostBase and domain keywords
used when virtualhosting your Plone site, so this small patch looks
at the request and if the application is run in a virtual hosted
environment, looks at VIRTUAL_URL_PARTS variable and if not at
PATH_TRANSLATED as usual.This error has been reported to plone-users but has no fix yet.You’ll need PloneLanguageTool 2.1 to have this patch working
Introduction
============Changelog1.3-Change name to cs.plt.contentnegotiator
[erral]1.2-Fix ConflictError import
[erral]1.1 -Remove path logging
[erral]Add zcml and initialize method
[erral]1.0 -Initial release
[erral]
Package: csp-next
cspis a high performance reactive stream processing library. The main engine is a C++ complex event graph processor, with bindings exposed into Python. Its key features include switchable simulation/realtime timesteps for both offline and online processing, custom input and output adapters for integration with static and streaming data sources and sinks, and extensible acceleration via customizeable C++ nodes for calculations.The high level goal ofcspis to make writing realtime code simple and performant. Write event driven code once, test it in simulation, then deploy as realtime without any code changes.Here is a very simple example of a smallcspprogram to calculate abid-ask spread. In this example, we use a constant bid and ask, but in the real world you might pipe these directly into your live streaming data source, or into your historical data source, without modifications to your core logic.importcspfromcspimporttsfromdatetimeimportdatetime@csp.nodedefspread(bid:ts[float],ask:ts[float])->ts[float]:ifcsp.valid(bid,ask):returnask-bid@csp.graphdefmy_graph():bid=csp.const(1.0)ask=csp.const(2.0)s=spread(bid,ask)csp.print('spread',s)csp.print('bid',bid)csp.print('ask',ask)if__name__=='__main__':csp.run(my_graph,starttime=datetime.utcnow())Running this, our output should look like (with some slight variations for current time):2024-02-07 04:37:13.446548 bid:1.0
2024-02-07 04:37:13.446548 ask:2.0
2024-02-07 04:37:13.446548 spread:1.0Getting StartedSeeour wiki!DevelopmentCheck out theDeveloper DocumentationAuthorscspwas developed at Point72 by the High Frequency Algo team, with contributions from users across the firm.LicenseThis software is licensed under the Apache 2.0 license. See theLICENSEfile for details.
Package: cs.portlet.aemet
IntroductionThis products creates a portlet to show weather information
as provided byAEMET.It parses an XML file and creates a data structure to create
a portlet based on a structure similar to the one provided by
the productMeteo. This product worked great, but due to
the constantly changing HTML of theAEMETsite, it failed easily.Now AEMET provides a fixed XML for each place, so you just have
to create a portlet and type the URL of the XML file you want
to show. The parsing results are cached in memory usingplone.memoize’s RAMCache.If you want to customize the look and feel of the portlet, usez3c.jbotand look at the internals of the dict created after
parsing the XML at aemetparser.py file.You can see examples of customization of this portlet at:http://www.aretxabaleta.eushttp://www.eibar.eushttp://www.deba.eusCompatibilityTested on Plone 4.0.x, 4.1, 4.2 and 4.3 Not tested on Plone 3.3.x but it should work.CreditsIdea:GMVforMeteoAEMET: for providing weather information freely available (always giving credit) in Spain.Parsing code and portlet implementation: Dani Reguera <dreguera@codesyntax.com>Plone goodies, doc and i18n: Mikel Larreategi <mlarreategi@codesyntax.com>Changelog1.4.1 (2018-02-01)fix url parsing
[erral]1.4 (2018-02-01)Remove lxml [libargutxi]1.3 (2013-11-04)Return empty dicts when the original XML has empty data
[erral]1.2 (2011-10-06)Some docs [erral]1.1 (2011-10-05)Added i18n [erral]1.0 (unreleased)Initial release [dani]
Package: cs.portlet.calendar
IntroductionA calendar portlet using fullcalendar.ioIt provides several options to customize, such as:Base path to search for eventsBase URL to generate links toView name to be appended to the base URL to generate links.This way you can do basic overriding of the calendar.It also provides a view that returns events in JSON, that way the fullcalendar
is more flexible and faster when rendering events.Changelog1.0 (2017-04-04)Initial release
Package: cs.portlet.icalendar
IntroductionThis product may contain traces of nuts.Changelog1.0 (2012/09/03)Fix start and end-date showing and show them always.
[erral]Move start and end dates to local timezone
[erral]Fix end-date discovery
[erral]Add eu and es translations
[erral]Rewrite of the caching mechanism, taking code
from collective.portlet.feedmixer
[erral]1.0b1 (2012/08/03)Initial release
[erral]
Package: cspot
🐊 Getting Started with CSPOTKindly note thatCSPOT is not a plug-and-play solution. It's a framework that requires significant upfront investment of time from potential users for training and validating deep learning models, which can then be utilized in a plug-and-play manner for processing large volumes of similar multiplexed imaging data.There are two ways to set it up based on how you would like to run the programUsing an interactive environment like Jupyter NotebooksUsing Command Line InterfaceBefore we set up CSPOT, we highly recommend using a environment manager like Conda. Using an environment manager like Conda allows you to create and manage isolated environments with specific package versions and dependencies.Download and Install the rightcondabased on the opertating system that you are usingCreate a new conda environment# use the terminal (mac/linux) and anaconda promt (windows) to run the following command
conda create --name cspot -y python=3.9
conda activate cspotInstallcspotwithin the conda environment.pip install cspotInteractive ModeUsing IDE or Jupyter notebookspipinstallnotebook# open the notebook and import CSPOTimportcspotascs# Go to the tutorial section to follow alongCommand Line Interfacewget https://github.com/nirmalLab/cspot/archive/main.zip
unzip main.zip 
cd cspot-main/cspot 
# Go to the tutorial section to follow alongDocker Containerdocker pull nirmallab/cspot:cspot
# Go to the tutorial section to follow along