Saravanan666/pypi-org huggingface dataset:
Package: ccfkotlin
Lab2 Code conventions fixer for KotlinAfter successful installation project can be used command:ccfkotlin (-v|-fx) -(p|d|f) <path>Command line optionsOptions:
  -v, --verify                    Verify files without editing.

  -fx, --fix                      Rewrite files

  -d, --directory TEXT            Absolute or relative path to directory with 
                                  files to be fixed.

  -p, --project TEXT              Absolute or relative path to project with 
                                  files to be fixed.

  -f, --file TEXT                 Absolute or relative path to file to be fixed.

  -h, --help                      Show this message and exit.`Note: any other input is equivalent to--help
Package: ccf-spark
CcfSpark version 0.3.1.1A little CCF implementation in a Spark context with networkx.InstallationUse the package managerpipto install.pipinstallccf_sparkUsageimportccf_sparksc=SparkContext()p=ccf_spark.CcfSpark(sc,secondary_sorting=True,)p.iterate_all()print(p.print())Or see example.pyAuthorsThéo ChennebaultLouis LedouxThéophile DanoContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: ccf-streamlines
# CCF streamlinesThis package supports projection of Allen Common Coordinate Framework (CCF)
mouse brain volumetric data and coordinate data on to 2D representations. It
also enables other operations that make use of the “streamlines” between
the top and bottom of the isocortex in the CCF.## Level of supportThis code is an important part of the internal Allen Institute code base and we are actively using and maintaining it. Issues are encouraged, but because this tool is so central to our mission pull requests might not be accepted if they conflict with our existing plans.
Package: ccg
CCG.CCG is a C/C++ code generation framework for python. It encapsulates the language syntax and grammar with python objects to be able to manipulate them more easily and generate code automatically, with a configurable style.This library will be the developer's friend for code generation applications. It can be the language abstraction layer for any code generation project for C/C++. It won't do anything that couldn't be done manipulating strings but the code written with it will be easier to write and understand and the style of the generated code won't be embedded in the application, leaving the option to the developer to pass all the style choices to the end user without any effort.Documentationhttps://ccg.readthedocs.io/Quick DemonstrationDeclare an C/C++ object, for instance, a function:f=CFunction(name="examplefun",return_type=Cuint32,static=True,arguments=[CFunction.Argument(name="first",c_type=Cuint32,doc=Doc("First argument")),CFunction.Argument(name="second",c_type=Cdouble,default=CLiteral(2),doc=Doc("Second Argument"))],doc=Doc("Awesome function","This function is awesome because it does marvellous things",ret="returns a lucky number"),content=CStatements([CVariable("local_var",Cint8).declare()]))Modify the default style and add your own choices:my_style=Style()my_style.function_bracket.new_line_open_before=FalsePrint the declaration:print(f.declare().render(my_style))/*** @brief Awesome function** This function is awesome because it does marvellous things* @param first First argument* @param second Second Argument* @return returns a lucky number*/staticuint32_texamplefun(uint32_tfirst,doublesecond=2);And print the definition:print(f.define().render(my_style))uint32_texamplefun(uint32_tfirst,doublesecond){int8_tlocal_var;};
Package: ccgenerator
Course Certificator Generator Python ClientGoalIt's common to have some events at the university for the "extra hours" stuff, which results in a certificate of presence. The problem is keeping track of everyone and sending all the certificates later on...Therefore, I built this project where you'll inform:The certificate template where the student name should be written toThe CSV file containing all the names and e-mailsSMTP credentials to send e-mailsCertificates will then be generated and sent to students.How to use it?Install the library.$ pip install ccgeneratorDeclare environment variables for SMTP authentication.$ export SMTP_PASSWORD='<password>'
$ export SMTP_EMAIL=<email>
$ export SMTP_SERVER=<smtp server>
$ export SMTP_PORT=<port>Code.import ccgenerator


if __name__ == '__main__':
    c = ccgenerator.CertificateGenerator('<email subject>',
                                         '<spreadsheet>.csv',
                                         '<certificate template>.png',
                                         <x position of the name>,
                                         <y position of the name>,
                                         '<font name>.ttf',
                                         <font size>)
    c.run()Exampleimport ccgenerator


if __name__ == '__main__':
    c = ccgenerator.CertificateGenerator('[WORKSHOP FEEVALE] - Certificado de Conclusão',
                                         'participantes.csv',
                                         'certificate.png',
                                         640,
                                         1000,
                                         'DejaVuSans.ttf',
                                         200)
    c.run()
Package: cc.gettext
ContentsCompiling gettext catalogs0.6.10.60.5.10.5Downloadcc.gettext provides recipe[s] for manipulating gettext message catalogs.Compiling gettext catalogsThe cc.gettext:msgfmt recipe can be used to compile gettext catalogs from
the .po source format to the binary .mo representation needed by Zope 3.
It supports two options:po_pathA file path (relative to the buildout base or absolute) which is scanned
recursively for .po files.  All .po files found are processed by the
recipe.mo_pathThe base file path (relative to the buildout base or absolute) where
compiled .mo files are written.  Compiled files are named using the
pattern <mo_path>/<locale>/LC_MESSAGES/<domain>.moIf the specified path does not exist, the recipe will attempt to create
it.0.6.1Fixed bug lying in wait (mis-named multiple assignment)Fixed handling of PO files with leading whitespace.0.6Use python-gettext instead of forking a process to run msgfmt.0.5.1Attempt to create the mo_path if it does not exist.0.5Initial public release.Download
Package: ccg-flask-tbe
Centreon Clapi Command GeneratorSite web développé en Python avec le framework Flask. Le design est principalement du bootstrap. Quelques fonctions en javascript ont été ajoutées.Permet d'afficher les commandes Clapi[^1], les copier dans le presse-papier.Pour les commandes en masse, permet de les enregistrer en plus dans un script python ou un csv.Documentation Centreon -CLAPI[!CAUTION]
Seuls les administrateurs peuvent utiliser CLAPI.[^1]: Centreon CLAPI a pour objectif d’offrir (presque) toutes les fonctionnalités disponibles sur l’interface utilisateur en termes de configuration.Les routesLe fichierflask_app.pycontient les définitions des différentes routes et est le fichier appelé pour lancer l'application.'/'Génère et affiche toutes les commandes.fonction:index()'/clapi/domaine/'Génère et Liste toutes les commandes pour un domaine.fonction:clapi_get_domaine(domaine)'/clapi/objet/'Lister toutes les commandes pour un objet.fonction:clapi_get_objet(objet)'/scriptaddhosts'Générer les commandes pour ajouter des hosts.fonction:scriptaddhosts()'/scriptaddservices'Générer les commandes pour ajouter des services.fonction:scriptaddservices()Les fichiers "configurations"centreon.yamlInformationLes arguments et paramètres centreon sont renseignés danscentreon.yaml[!NOTE]
Renseigne ton user et ton password d'admin centreon dans centreon.yamlInformation complémentaireL'argument -s est défini dans le fichier mais n'a pas été implémenté dans le code.ccg-conf.yamlInformationObjets et actions sont renseignés dansccg-conf.yaml[!IMPORTANT]
Les commandes sont nombreuses, seuls quelques objets / actions sont enregistrées dans ccg-conf.yamlInformation complémentaireLa syntaxe est celle du YAML.L'indentation doit être respectée et rigoureuse.Une action notée: nullsignifie que l'action n'a pas d'argument, ni de paramètre.Afin garder le formatage du texte multiligne pourinformation:utiliser la notation|domaine: 
  - ACL:
      # ACL
      - name: ACL
        command: ACL
        actions:
          - reload: null
          - lastreload:
              - args: -v
                parametres: "d-m-Y H:i:s"
                required: false
                information: |
                  d = Day ; m = Month ; Y = Year
                  H = Hour ; i = Minute ; s = Second[!NOTE]
La notion de domaine n'existe pas dans la documentation Centreon. Elle a été ajouté afin de regrouper les objets par thématiqueL'interfaceNavigationMENUMENUROUTEScript Add Hosts/scriptaddhostsScript Add Services/scriptaddservicesDOMAINEDOMAINEROUTE<domaine>/clapi/domaine/OBJETOBJETROUTE<objet>/clapi/objet/ACTIONSOBJETROUTE<actions>#ACCUEILSimple bouton qui renvoi vers '/'CONTENUContenu de la page
Package: cch
CCH - Cloud CLI for Humans.Very simple cloud CLI, specifically designed for human use. Strictly forbidden
for scripts’ consumption :)Just typemkvmand it will help you step-by-step create a virtual machine, by
first letting you provide a flavor from availale flavors, then similarly a
security group, and then root volume storage.  All the other commands are just
as simple!View demo at:https://asciinema.org/a/ektm98481nniu7rldc1ncu5afInstallationpip install cchMore details athttps://github.com/rushiagr/cch/blob/master/README.md
Package: cchdo.auth
cchdo.authCopyright 2020-2021 Regents of the University of CaliforniaRedistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: cchdo.params
cchdo.paramsThe spun off master cchdo parameters list including the following:Exchange WHP names and unitsCF names and unitsMappings between WHP Units and udunits compatable onesnetcdf variable names for humansCopyright 2020-2023 Regents of the University of CaliforniaRedistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: ccheck-2l42h3r
ccheckTool for generating and checking simple C language exercises.Requirementsat least Python 3.7Pip installedInstall from pippython -m pip install ccheck-2l42h3rRunning from source without buildingInstall dependencies:python -m pip install -r requirements.txtAdd project to PYTHONPATH (this depends on OS)Run project as module:python -m src.ccheckBuild from sourceInstall dependencies:python -m pip install -r requirements.txtInstall/update build tools:python -m pip install --upgrade buildBuild:python -m buildFiles will be outputted to dist/Install local package buildpython -m pip install dist/ccheck_2l42h3r-VERSION-*.whl
Package: cchess
cchesscchess是一个Python版的中国象棋库，主要功能如下:##棋盘显示board_strs = board.text_view()
print()
for s in board_strs:
    print(s)
#or    
board.print_board()##走子(内部格式), 中文显示move = board.move((0,0),(0,1))
print(move.to_chinese())##走子(ICCS纵线格式),中文显示move = board.move_iccs('a0a1')
print(move.to_chinese())##走子(中文格式,尚待完善),中文显示move = board.move_chinese('车九进一')
print(move.to_chinese())##产生某个棋子的合法走子moves = board.create_piece_moves((0,0))
for mv in moves:
    move = board.move(*mv)
    print(move.to_chinese())##产生所有合法走子moves = board.create_moves()
for mv in moves:
    move = board.move(*mv)
    print(move.to_chinese())##将军检测board.from_fen('3k5/9/9/9/9/3R5/9/9/9/4K4 w - - 0 1') 
print(board.is_checking()) #True##将死对方检测print(board.is_win())      #True##走子被将军检测board.from_fen('3k5/9/9/9/9/3R5/9/9/9/4K4 b - - 0 1')
mv = move.from_iccs('d9e9') 
print(board.is_checked_move(*mv)) #True##被对方将死检测print(board.is_dead())    #True##读取xqf文件, 显示棋谱#8.读取xqf文件, 显示棋谱
game = read_from_xqf("WildHouse.xqf")
game.init_board.print_board()
board_strs = game.init_board.text_view()
print()
for s in board_strs:
    print(s)
    
game.print_chinese_moves()以上参见demo/demo_base.py##加载引擎进行对弈参见examples/end_game.pycchess库使用pytest进行单元测试，使用pytest-cov进行覆盖检查，目标实现100%覆盖(目前还未完成)。测试执行：pytest -v --cov=cchess .\tests\
Package: cchmtest
SomepackageShow how to structure a Python project.Inspired byhttps://github.com/kennethreitz/samplemod.Great resourceshttps://manikos.github.io/a-tour-on-python-packaginghttps://docs.python-guide.org/writing/structure/http://veekaybee.github.io/2017/09/26/python-packaging/https://github.com/audreyr/cookiecutter-pypackagehttps://medium.com/@jonas.r.kemper/understanding-best-practice-python-tooling-by-comparing-popular-project-templates-6eba49229106RecommendationsPlease browse this blog post for a good summary of recommendatios and templates:https://medium.com/@jonas.r.kemper/understanding-best-practice-python-tooling-by-comparing-popular-project-templates-6eba49229106Python 2 or 3?Develop your code under Python 3, test it for both Python 2 and Python 3
but consider Python 3 to be the default today.Split your code into packages, modules, and functionsAll code should be inside some function (except perhapsif __name__ == '__main__':).Split long functions into smaller functions.If you need to scroll through a function over several screens, it is probably too long.Functions should do one thing and one thing only.Hide internals with underscores.Organize related functions into modules.If modules grow too large, split them.Import from other modules undersomepackage/usingfrom .somemodule import something.Do file I/O on the “outside” of your code, not deep inside.Classes vs. functionsDo not overuse classes.Prefer immutable data structures.Prefer pure functions.NamingGive the subdirectory the same name as your package.Before you name your package, check that the name is not taken onhttps://pypi.org(you may want to upload your package to PyPI one day).InterfacesInsomepackage/__init__.pydefine what should be visible to the outside.Usehttps://semver.org.TestingTest all non-trivial code. I recommend to usehttps://pytest.org.Use Travis CI:https://docs.travis-ci.com/user/languages/python/.Dependency managementPackage dependencies for developers should be listed inrequirements.txt.Alternatively, consider usinghttp://pipenv.readthedocs.io.Package dependencies for users of your code (who will probably install via pip) should be listed insetup.py.Code styleFollow PEP8:https://www.python.org/dev/peps/pep-0008/Usepycodestyleto automatically check for PEP8.Type checkingConsider using type hints:https://docs.python.org/3/library/typing.htmlConsider usinghttp://mypy-lang.org.Consider verifying type annotations at runtime:https://github.com/RussBaz/enforceShare your packageChoose a license and add a LICENSE file.Share your package on PyPI. For this you can followhttps://github.com/bast/pypi-howto.DocumentationI used to recommend reStructuredText for READMEs in contrast to Markdown but
PyPI no longer requires reStructuredText. You can use Markdown as noted onhttps://pypi.org/help/under “How can I upload a project description in a
different format?”.Example shown here:https://packaging.python.org/tutorials/packaging-projects/#creating-setup-pySuggestions? Corrections? Pull requests?Yes please!
Package: cchttpserver
Simple http-server for “claimchain” blocks.  It uses Flask to serve HTTP GET and authenticated PUT requests.getting startedinstall withpip install cchttpserverrunpython-mcchttpserverwhich will tell you to create
a config file and provides a simple example. Create aconfig.pyfile and runCCHTTPSERVER_CONFIG=config.py python-mcchttpserver.Then open another terminal and open a python prompt with “python” and type something like:import requests
requests.put("http://USER:PASSWORD@localhost:5000/key1", "data1")
r = requests.get("http://localhost:5000/key1")
assert r.status_code == 200
requests.delete("http://USER:PASSWORD@localhost:5000/USER/")
r = requests.get("http://localhost:5000/key1")
assert r.status_code == 404
Package: cci
ccicci wraps tools in the LLVM toolchain to allow you to compile and run C
programs on-the-fly using a JIT compiler, instead of requiring a
dedicated compilation phase.UsageTo use cci, you point the shebang line of a C file at it.That is sufficient to use it, but you can also specify more arguments
to e.g. enforce stricter error checking by Clang.Due to limitations in how shebang lines work, when you use cci, you have
to put arguments to Clang on the line immediately after the shebang line.To avoid ambiguity, that line must start with "// cci:".For example, save the following to "hello-world.c":#!/usr/bin/env cci
// cci: -std=c11 -Wall -pedantic-errors
#include <stdio.h>
int main() {
    printf("Hello, world!\n")
    return 0;
}Now, mark it as executable (on *nix,chmod +x hello-world.c),
then run./hello-world.c.DebuggingIf you include the argument "-###" in the arguments, it will be
passed through to Clang for debugging purposes.
Package: cciaa.intranetworkflow
Sets as default, a workflow with a double-level revision. This is specifically made for Chamber of commerce sites.InstallationInstall cciaa.topic_view by adding it to your buildout:[buildout]
...
eggs =
    cciaa.intranetworkflowand then runningbin/buildoutAfter that, you will found a new installable product: CCIAA WorkflowDependencyTested on Plone 5.2For Plone 4.3 compatibility, useplone4development branch and 2.x tags.ContributeIssue Tracker:https://github.com/PloneGov-IT/cciaa.topic_view/issuesSource Code:https://github.com/PloneGov-IT/cciaa.topic_viewCreditsDeveloped with the support ofCamera di Commercio di Ferrara;
Camera di Commercio di Ferrara supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog3.0.0 (2020-03-06)Plone 52 and python 3 compatibility.
[cekk]2.1.2 (2018-10-22)Remove dependency to TurtledGazette.
[cekk]2.1.1 (2018-10-15)pypi publication.
[cekk]2.1.0 (2014-07-16)Now requires rt.lastmodifier, and publicly show dates [keul]2.0.0 (2013-12-16)Plone 4(.3) compatibilitypyflakes cleanup [keul]Supported the “Site Administrator” role [keul]Added MANIFEST.in file [keul]Added Editor to add folder roles [andrea]Added dependency to PloneGazette and fixed permissions [andrea]1.3.6 (2010-08-17)Support for z3c.autoinclude [keul]1.3.5 (????-??-??)Fixed a bug in the review portlet when using “show all” [keul]1.3.4 (13-01-2010)Sistemati i permessi per l’uso di CMFEditions1.3.3 (11-09-2009)Sistemati permessi per usare correttamente ExternalEditor1.3.2Rimosso vecchio codice HTML della portlet che non rendeva la pagina valida [keul].1.3.1Modificato il template della portlet1.3.0Added propertiestool GS step, to handle reoles that manage keywords1.2.0full review listFix grafici alla portlet1.1.2Fissati problemi (e logiche superate) alla portlet di revisione CCIAA.1.1.1aggiunte regole per il versionamento dei contenuti pubblicati e privatiworkflow usato anche per i file1.1.0 - UnreleasedAggiunta dello stato privato per il camcom_public_workflowRimosso codice non usato da Plone 2.51.0.1 - UnreleasedFix minori e installazione in CCIAA di Treviso1.0.0 - UnreleasedPrima release