Saravanan666/pypi-org huggingface dataset:
Package: cmake-converter
IntroductionThis project aims to facilitate the conversion of Visual Studio solution to CMake projects.
The goal is to give to a Python script, a*.slnfile, and output a set ofCMakeLists.txtthat may be used for generating visual studio solution backward as perfect as possible. Project is useful for porting VS projects into CMake build system.Note :Actually, it’sonly workswithC/C++(*.vcxproj) andFortran(*.vfproj) projects.Install & RunInstall package from PyPIInstall last stable release of cmake-converter:pip install cmake-converterNote :If you found an issuein the package installed from pip, please,do not create github issue at onceand check for pre-release version (pip -pre) or last source from develop first. It might be has fixed already and ready to release.Install package from source codeSimply clone or download  the repository and type the following command to install it:# Inside repository folder.
pip install .RunAfter install library, just run the script as below. Your*.slnfile is of course required:cmake-converter -s <path/to/file.sln>Note :If you satisfied with conversion, give a star to the project and consider to donate, please.DocumentationDocumentation for CMake Converter is available onRead The Docs.Bugs, issues and contributingContributions to this project are welcome and encouraged …
Issues in the project repository are the common way to raise an information.Note:if you have an issue, please provide me if possible the visual studio project involved.DonationsIf you appreciate my efforts related to this project, give me a gift. I’ll be glad to get some money working for free ;)
To make a donation - please press the button below.
Package: cmakedoc
Home-page:https://github.com/agateau/cmakedocAuthor: Aurélien Gâteau
Author-email:mail@agateau.comLicense: Apache 2.0
Description-Content-Type: text/markdown
Description: # CMakeDoc## What is it?CMakeDoc is a command-line tool to read CMake documentation. It lets you
search through CMake commands, modules, variables and properties before
displaying the selected topic withlessor the pager defined in$PAGER.## “Screenshot”user@host: cmakedoc pkg# Matching topics:
1: FindPkgConfig (module)
2: UsePkgConfig (module)Enter topic number or search term (empty input or ‘q’ to quit): 1## Dependenciescmake(obviously). Must be in$PATH.less, or a pager defined in$PAGER.## InstallationUsing pip:pip install cmakedocManually:./setup.py installKeywords: cmake doc development
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Build Tools
Package: cmake-language-server
cmake-language-serverCMake LSP Implementation.Alpha Stage, work in progress.FeaturesBuiltin command completionDocumentation for commands and variables on hoverFormatting (bycmake-format)Commandscmake-language-server: LSP serverInstallation$pipinstallcmake-language-serverTested ClientsNeovim (neoclide/coc.nvim,prabirshrestha/vim-lsp)Neovimcoc.nvim"languageserver": {
    "cmake": {
      "command": "cmake-language-server",
      "filetypes": ["cmake"],
      "rootPatterns": [
        "build/"
      ],
      "initializationOptions": {
        "buildDirectory": "build"
      }
    }
  }vim-lspifexecutable('cmake-language-server')auUserlsp_setupcalllsp#register_server({
  \'name':'cmake',\'cmd': {server_info->['cmake-language-server']},\'root_uri': {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(),'build/'))},\'whitelist': ['cmake'],\'initialization_options': {
  \'buildDirectory':'build',\ }
  \})endifConfigurationbuildDirectoryThis language server uses CMake's file API to get cached variables.
The API communicates using<buildDirectory>/.cmake/api/.buildDirectoryis relative path to the root uri of the workspace.
To configure the build tree, you need to run the cmake command such ascmake .. -DFOO=bar.
Package: cmakelint
CMakeLintcmakelint parses CMake files and reports style issues.cmakelint requires Python.InstallationTo install cmakelint from PyPI, run:.. code-block:: bash$ pip install cmakelintUsageSyntax: cmakelint [--config=file] [--filter=-x,+y] <file> [file] ...
filter=-x,+y,...
  Specify a comma separated list of filters to apply

config=file
  Use the given file for configuration. By default the file
  $PWD/.cmakelintrc, ~/.config/cmakelintrc, $XDG_CONFIG_DIR/cmakelintrc or
  ~/.cmakelintrc is used if it exists. Use the value "None" to use no
  configuration file (./None for a file called literally None) Only the
  option "filter=" is currently supported in this file.Run the--filter=option with no filter to see available options. Currently
these are:convention/filename
linelength
package/consistency
readability/logic
readability/mixedcase
readability/wonkycase
syntax
whitespace/eol
whitespace/extra
whitespace/indent
whitespace/mismatch
whitespace/newline
whitespace/tabsAn example .cmakelintrc file would be as follows:filter=-whitespace/indentWith this file in your home directory, running these commands would have the
same effect:cmakelint.py CMakeLists.txt
cmakelint.py --filter=-whitespace/indent CMakeLists.txtcmakelint can also be run withpre-commit. Add the following configuration block to your.pre-commit-config.yaml:-repo:https://github.com/cmake-lint/cmake-linthooks:-id:cmakelintOutput status codesThe program should exit with the following status codes:0 if everything went fine1 if an error message was issued32 on usage error
Package: cmake-lint-paddle
CMakeLintcmakelint parses CMake files and reports style issues.cmakelint requires Python.InstallationTo install cmakelint from PyPI, run:pipinstallcmake-lint-paddleUsagecmakelint--help
usage:cmakelint[-h][-v][--filter-X,+Y][--configCONFIG][--spacesSPACES][--linelengthLINELENGTH][--quiet][files...]cmakelint

positionalarguments:filesfilestolint

options:-h,--helpshowthishelpmessageandexit-v,--versionshowprogram's version number and exit--filter -X,+Y        Specify a comma separated list of filters to apply--config CONFIG       Use the given file for configuration. By default the file $PWD/.cmakelintrc, ~/.config/cmakelintrc,$XDG_CONFIG_DIR/cmakelintrc or ~/.cmakelintrc is used if it exists. Use the value "None" to use no configuration file(./None for a file called literally None) Only the option "filter=" is currently supported in this file.--spaces SPACES       Indentation should be a multiple of N spaces--linelength LINELENGTHThis is the allowed line length for the project. The default value is 80 characters.--quiet               makes output quiet unless errors occurs Mainly used by automation tools when parsing huge amount of files. In thosecases actual error might get lost in the pile of other stats prints. This argument is also handy for build systemintegration, so it'spossibletoaddautomatedlinttargettoaprojectandinvokeitviabuildsystemandhavenopollutionofterminalsorIDE.Run the--filter=option with no filter to see available options. Currently
these are:convention/filename
linelength
package/consistency
readability/logic
readability/mixedcase
readability/wonkycase
syntax
whitespace/eol
whitespace/extra
whitespace/indent
whitespace/mismatch
whitespace/newline
whitespace/tabsAn example .cmakelintrc file would be as follows:filter=-whitespace/indentWith this file in your home directory, running these commands would have the
same effect:cmakelint.pyCMakeLists.txt
cmakelint.py--filter=-whitespace/indentCMakeLists.txtFilters can optionally be directly enabled/disabled from within a CMake file,
overriding the configuration from file or CLI argument:# lint_cmake: <+ or -><filter name>
# e.g.:
# lint_cmake: -readability/wonkycase
# add multiple filters as list:
# lint_cmake: <+/-><filter1>, <+/-><filter2>cmakelint can also be run withpre-commit. Add the following configuration block to your.pre-commit-config.yaml:-repo:https://github.com/PFCCLab/cmake-lint-paddlerev:v1.5.1hooks:-id:cmakelintOutput status codesThe program should exit with the following status codes:0 if everything went fine1 if an error message was issued32 on usage error
Package: cmake-odidev
I am working on a generatting aarch64 cmake wheelThis project is where I am testing the thingsYou must not use this project to grab numpy featuresI am expecting it to go away at some point in the futurePlease visit official cmake pypi page:https://pypi.org/project/cmake/to install cmakeLicenseThis project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
It is covered by theApache License, Version 2.0.CMake is distributed under the OSI-approved BSD 3-clause License.
For more information about CMake, visithttp://cmake.orgHistorycmake-python-distributions was initially developed in September 2016 by
Jean-Christophe Fillion-Robin to facilitate the distribution of project usingscikit-buildand depending on CMake.
Package: cmaker
CmakerRecursive make-operation for sprawling C++ projects.Installationpip3installcmakerCommand line useConsider a C++ application entry source code atmain.cppthat includes headers from various folders. To automatically discover its dependencies and compile what is necessary, do:makerc.py--inputmain.cpp--outputapp.exeThis should produceapp.exein the current directory.Script useimportcmakermaker=cmaker.Maker("<path-to-config>")maker.make("<main>.cpp","<out>")Custom argumentsCopy the following contents of the configuration file intocmaker.configin the working directory:c_ext = .cpp
obj_dirsep = .
obj_dir = dump
compile_cmd = g++ -MMD --coverage -c {inp} -o {out}
combine_cmd = g++ -MMD --coverage {inp} -o {out}Change whatever your heart desires, but you MUST include the-MMDoption forg++to produce dependency files.
Package: cmakerer
CMakererThis script generatesCMakeLists.txtfrom arbitrary C/C++ codebases. It is
not intended to produce "buildable" cmake configurations, but instead enable
CLion to load and index the code.Installationpip3install--usercmakererpython3setup.pysdistbdist_wheel
pip3install--userdist/cmakerer-*.whlUsagecmakerer-o~/path/to/cpp/code-xsrc/windows-!tests-z~/path/to/cpp/codeFeaturesDetects both standard and system include paths.Handles "multi-encoding" C/C++ filesExclude directory paths with-xExclude (sub)directory segments with-!Exclude cmake directories with-zAdd compiler defines with-DVARor-DVAR=value
Package: cmake-setup
CMake SetuptoolsA small library ofsetuptoolsextensions to ease building python packages which have a cmake component.Installpip install cmake_setupUsagefromsetuptoolsimportsetupfromcmake_setupimport*setup(name='mypackage',description='',version='0.0.0.dev0',ext_modules=[CMakeExtension('make_target')],cmdclass={'build_ext':CMakeBuildExt})upload$ python setup.py sdist bdist_wheel
$ python -m twine upload dist/*
Package: cmake-setuptools
CMake SetuptoolsA small library ofsetuptoolsextensions to ease building python packages which have a cmake component.Installpip install cmake_setuptoolsUsagefromsetuptoolsimportsetupfromcmake_setuptoolsimport*setup(name='mypackage',description='',version='0.0.0.dev0',ext_modules=[CMakeExtension('make_target')],cmdclass={'build_ext':CMakeBuildExt})
Package: cmakeutils
CMake UtilsCMake is a powerful and easy to use build system for a wide variety of languages including:C / C++modern object-oriented Fortran 2008 / 2018PythonpMatlab / GNU Octave](https://github.com/scivision/matlab-cmake-mex)It's important to use a recent CMake version to be effective and clean with CMake script.
This can be done via the Python package described below, or from CMake >= 2.8.12 by:cmake-Pinstall_cmake.cmakeif you need to compile CMake from source, for example on BSD or ARM 32-bit using existing CMake >= 3.13:cmake-Pbuild_cmake.cmakeInstallpipinstallcmakeutilsorgitclonehttps://github.com/scivision/cmakeutils
pipinstall-ecmakeutilsconvert CMake hierarchy .dot to SVG or PNGCMake plotsdependency graphsfor programs like:cmake-Bbuild--graphviz=gfx/block.dotThen convert to PNG or SVG like:python-mcmakeutils.graph~/myprog/gfxInstall CMake binarypython-mcmakeutils.cmake_setuptakes only a minute to install binary and includescmake-gui.
It works for Linux, MacOS, native Windows and Windows Subsystem for Linux.Ninja is recommended in general for use with CMake on Windows, Mac and Linux:python-mcmakeutils.ninja_setupBuild CMakeCMake can be builts from source using either:older version of CMake,without CMake using the "bootstrap" methodThe bootstrap method is only for Unix-like systems, while the CMake-based build can also be used on Windows.
Any platform for which Kitware doesn't distribute binaries use this script, including IBM Power and ARM.python-mcmakeutils.cmake_compileThis downloads the latest CMake release source and builds from scratch.Requirements:SSL libraryC++ compilerGNU Make or NinjaExamplesDownload withgitusingFetchContentDownload and extractZIPmeasuresystemparameters with CMake. Note Cygwin reports really small RAM and zero virtual memory.
Package: cmanager
DracOS Connection Manager/Connection Manageris a CLI (Command Line Interface) based program written in Python.
This program help DracOS Linux’s users to manage their connection ex: wifi connection. For other Linux distros’ users, feel free to use this program.InstallationCManager require the user as sudoers.You can install CManager directly fromPyPI:$ sudo pip install cmanager
$ sudo cmanager configureOr download from github repository, then:$ sudo python setup.py install
$ sudo cmanager configure
# Or
$ sudo ./install.shDCMneeds some python module below,(this modules already included at pypi installed requires).colorama:sudo pip install coloramaterminaltables:sudo pip install terminaltablespbkdf2:sudo pip install pbkdf2netifaces:sudo pip install netifacespython-wifi:sudo pip installpython-wifiCManager needs some program/binary in sudoers file’s whitelist so it won’t ask for password while executing those program:iwlistwpa_supplicantdhclientpkillTo make you easier in installing CManager, just use install.sh script. You just need to run it with./install.shUsage$ sudo cmanagerDocumentationDon’t forget to run cmanager as withsudo cmanager, typehelpinside DCM to get information about available commandsDashboard sectionSee available interfacesCManager will detect interfaces on your system, categorize them into three types of interface (wireless, ethernet, localhost).
Useshow interfaceto print those interfaceWifi-wizard sectionSpecifying wireless interface to used by DCMBefore you can ask CManager to scan available networks and connecting to one of them using profile that you’ve been created (see profile explanation),
you should specify wireless interface that CManager will use to do those activity, typeuse [wireless_interface].Scan available wifi networksTo scan available network, simply typescan.Creating profileProfile in CManager is a configuration file that has information about wifi connection like SSID, type of connection (Open/WPA), and passphrase if the connection is WPA type.
To create a profile, simply input value to available option (name, ssid, type, passphrase) usingset name [value],set ssid [value],set type [value],set passphrase [value].show optionsto see available options. For Open type connection,
you just need to input name, ssid, and type, no need to supply passphrase information.After all informations needed to create a profile have been provided, simplysave profileand your profile will be saved.
To see all information about all profiles that have been saved, typeshow profile.Connecting to a networkTo connecting CManager to a network use a specified profile name, typeconnect [profile]. To disconnect it, simply typeCTRL+C.Contributing to CManagerThe easiest way to contribute to CManager is to file issues.LicenseSeeLICENSEChangelogSeeCHANGELOG.mdSpecial thanks toAgus Makmunfor the contribution making this program downloadable via PyPi
Package: cmapy
cmapyUse Matplotlib colormaps with OpenCV in Python.Matplotlib provides a lot ofnice colormaps. Cmapy exposes these colormaps as lists of colors that can be used with OpenCV to colorize images or for other drawing tasks in Python.Original imageviridisSee all of the available colormaps as of Matplotlib 2.2.3 in thisall colormaps example.RequirementsPython 2.7 or 3.Matplotlib.OpenCV >= 3.3.0 (to use cv2.applyColorMap()).InstallationPython 2.7, with pip:pipinstallcmapyPython 3.x, with pip:pip3installcmapyOr, in a Conda environment:condainstall-cconda-forgecmapyHow to useColorize imagesColorize means to apply a colormap to an image. This is done by getting the colormap
with cmapy.cmap() and then applying cv2.applyColorMap(), like this:img_colorized=cv2.applyColorMap(img,cmapy.cmap('viridis'))Alternatively, you can use cmapy.colorize() directly:img_colorized=cmapy.colorize(img,'viridis')See the fullcolorize example.Draw with colorsUse the cmapy.color() function and an index between 0 and 255 to get a color
from a colormap. Cmapy.color() returns a list of BGR (or RGB) values that can be
used with OpenCV drawing functions.# Get color in BGR order (default) by index.bgr_color=cmapy.color('viridis',127)# Get color in RGB order with a float value.rgb_color=cmapy.color('viridis',0.5,rgb_order=True)See a completedrawing with colors example.
Package: cmask2polygons
cmask2polygonsConvert Color label mask to Polygons per classInstall$pipinstallcmask2polygonsHow to Usefromcmask2polygonsimportget_polygons_per_classcolor_mask_path='. . .'color_mask=cv2.cvtColor(cv2.imread(color_mask_path),cv2.COLOR_BGR2RGB)# Key:str, Val:tuplecls_color_map={"class_name_1":(125,125,125),# RGB Color"class_name_2":(70,20,225),...}# Get Polygons from Color Label Maskpolygons_per_class=get_polygons_per_class(color_mask=color_mask,cls_color_map=cls_color_map,min_area=100.0,epsilon_param=8e-4,pt_type=int,add_closept=False,)Argumentscolor_mask: RGB Image (numpy.ndarray)cls_color_map: Color Value per Class (dict)min_area: Minimum area of object (float). Default is 100.0epsilon_param: Value for polygon approximating (float). Default is 8e-4pt_type: Data type of points. Default isintadd_closept: Append end point (== start point) for representing closed. Default isFalseReturnData type:dictKey: Class name (str)Value: list of polygon x (pt_type), y (pt_type) coordinates
Package: cmastro
This package contains custom colormaps that have been used in various
astronomical applications, similar tocmocean for oceanography. The colormaps are available as raw data
files through theGitHub source repository, or available to use
(through this Python package) asmatplotlib colormaps.Installationcmastrois available viapip, which is the recommended installation method.
To install the latest stable version usingpip, use:python -m pip install cmastroTo install the latest development version:python -m pip install git+https://github.com/adrn/cmastroLicensecmastrois free software made available under the MIT License. For details
see theLICENSEfile.
Copyright 2021 the contributors.
Package: cmat2aset
cmat2asetCorrelation matrix to aset (align-set)Install itpipinstallcmat2aset# or pip install git+https://github.com/ffreemt/cmat2aset# poetry add git+https://github.com/ffreemt/cmat2aset# git clone https://github.com/ffreemt/cmat2aset && cd cmat2asetUse itfromcmat2asetimportcmat2aset
Package: cmatcher
cmatcherUse the package to determine the best background and foreground color combinations (e.g. for web page design)Just download usepipinstallcmatcherHere is the code I used to print the stuff on the screenshotThis is basically everything you need to knowfromcmatcherimportCMatchercormatcher=CMatcher()#create an instance, first time takes longer because a color dataframe will be created and saved to HDDforxinrange(100):luminancedifference_from_best_result=choice(range(80,99))#the higher the number, the less results (more contrast), max is 99hsv_difference_from_best_result=choice(range(80,99))#the higher the number, the less results (more contrast), max is 99print(f'{x}. Test - Lum:{luminancedifference_from_best_result}- hsv:{hsv_difference_from_best_result}')cormatcher.get_best_contrast_colors(color=(choice(range(256)),choice(range(256)),choice(range(256))),lum_dif=luminancedifference_from_best_result,hsv_dif=hsv_difference_from_best_result,)#this is the most important method, it finds all good combinationscormatcher.print_results()#a method to see all results in colorprint(cormatcher.results)#the results are saved in this listprint('----------------------------------------------------------------------------')
Package: cmb
Cere-MEG-Bellum (CMB) PackageFor more information about CMB, please read the following paper:Samuelsson J G , Rosen B, Hamalainen M S.Automatic Reconstruction of Cerebellar Cortex from Standard MRI Using Diffeomorphic Registration of a High-Resolution Template (ARCUS).bioRxiv 2020.11.30.405522; doi:https://doi.org/10.1101/2020.11.30.405522InstallationTo install the latest stable version of CMB, you can usepipin a terminal:pipinstall-UcmbUsage of the Docker Containerbefore building the image please place in this folder the freesurfer archive ‘freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz’ along with the freesurfer license file ‘license.txt’.Subsequently build the docker image withdockerbuild-tmne-tools/cmb:v0.01.and run it withdockerrun-ti-v<YOURSUBJECTSDIR>:/workspace/subjects-v<YOURPROCESSEDnnUNetDIR>:/workspace/nnUNet-v<YOURceremegbellumGITDIR>:/workspace/ceremegbellum--nameCMBmne-tools/cmb:v0.01It is convinient to install CMB for development directly from the local repository. Change the directory to ‘/workspace/ceremegbellum’ in the CLI of the Docker Container and runpipinstall-e.LicensingCMB isMIT-licensed:Copyright (c) 2021-2022, authors of CMB.
All rights reserved.Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.