Saravanan666/pypi-org huggingface dataset:
Package: pyCollocation
Python package for solving initial value problems (IVP) and two-point boundary value problems (2PBVP) using the collocation method with various basis functions. Currently I have implemented the following basis functions:Polynomials:Standard,Chebyshev,Laguerre,Legendre, andHermite.InstallationAssuming you havepipon your computer (as will be the case if you’veinstalled Anaconda) you can install the latest stable release ofpycollocationby typingpipinstallpycollocationat a terminal prompt.Example notebooksEconomicsThere are a number of example notebooks that demonstrate how to use the library to solve seminal models in the economics literature.Solow modelof economic growthRamsey modelof optimal savingsSpence modelof costly signalingVariousauction models(currently symmetric and asymmetric IPVP)PhysicsA simple heat exchangerMore notebooks will be added in the near future (hopefully!)…and suggestions for example notebooks are very welcome!Roadmap to 1.0Ultimately I am hoping to contribute this package to either SciPy or QuantEcon, depending.  Ideally, version 1.0 of pyCollocation would include the following functionality…Support for at least two additional classes of basis functions: B-Splines, what else? Next obvious candidate would be some basis functions specifically used to approximate periodic functions.Support a solver for over-identified systems of equations.  Currently the Solver class requires the system of equations defined by the collocation residuals to be exactly identified.  Many economic applications, particularly models of optimal bidding functions for various types of auctions, naturally lead to over-identified systems.Built-in support for computing Jacobian matrix for the system of equations defined by the collocation residuals.  Given a user-supplied Jacobian for the BVP, one can apply the chain rule to construct the Jacobian matrix for system of equations defined by the collocation residuals.Support for solving models with unknown parameters (similar toscikits.bvp_solver). This would allow for the possibility to simultaneously solve and calibrate a model.Support for free boundary conditions.  This comes up a lot in auction theory applications where the upper bounds on the bidder valuation distributions are unknown.
Package: pycololight
pycololightA Python3 wrapper for interacting with LifeSmart Cololight.Supports the following cololight devices:hexagonstripUsagefrompycololightimportPyCololight# Setup hexagon devicelight=PyCololight(device="hexagon",host="1.1.1.1")# Setup strip device, and include dynamic effectslight=PyCololight(device="strip",host="1.1.1.1",dynamic_effects=True)# Turn on at 60% brightnesslight.on=60# Set brightness to 70%light.brightness=70# Set light colourlight.colour=(255,127,255)# Set effectlight.effect="Sunrise"# Create custom effectlight.add_custom_effect(name="custom effect",colour_scheme="Shadow",colour="Red, Yellow",cycle_speed=11,mode=1)# Turn offlight.on=0Mapping of modes for custom effects can be foundhere
Package: pycolombianizer
pycolombianizerColombianize a stringFree software: GNU General Public License v3Documentation:https://pycolombianizer.readthedocs.io.FeaturesReturn the Colombian representation of a stringUse one of two Colombia slang to represent the string: Paisa or CostaCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-10)First release on PyPI.
Package: pycolor3
pycolor3Installation:For Windows:pipinstallpycolor3--upgradeFor MacOS and Linux:pip3installpycolor3--upgradeUsage Examples:frompycolor3importcolor# Colorful Textprint(color("green","Hello World"))# print "Hello World" in greenprint(color("l-red","This is light red!"))# print "This is light red!" in light red# Background Colorsprint(color("bg-cyan","This has a cyan background!"))# prints text with a cyan backgroundprint(color("bg-green","This has a green background!"))# prints text with green backgroundA list of all available colors:grayblackredgreenyellowbluemagentacyanwhiteyou can prefix "l-" to any color to make it light.you can also prefix "bg-" to any color to make it background.for a light background, you can use "l-bg-" as a prefix.NOTE: there isn't a "l-" prefix for white.License: The MIT License (MIT)Bygithub.com/0Exe
Package: pycolorama
PyColoramaThis is a simple package to handle easily various colors in either the PyGame (RGB) format or the OpenCV (BGR) format.
Default mode is PyGame.ExampleJust use like that :example for PyGame colorimport pycolorama as pcCOLOR = pc.COLOR(pc.PYGAME)print(COLOR.WHITE)Will return : (0,0,255)example for OpenCV colorimport pycolorama as pcCOLOR = pc.COLOR(pc.OPENCV)print(COLOR.BLUE)Will return : (255,0,0)
Package: pycolorbar
Welcome to pycolorbarDeploymentActivityPython VersionsSupported SystemsProject StatusBuild StatusLintingCode CoverageCode QualityLicenseCommunityCitationSlack|DocsThe pycolorbar is still in development. Feel free to try it out and to report issues or to suggest changes.Quick startpycolorbar provides a way to define colormaps and colorbar settings for later use in matplotlib or xarray.Look at theTutorialsto have an overview of the software !Installationpippycolorbar can be installed viapipon Linux, Mac, and Windows.
On Windows you can installWinPythonto get Python and pip
running.
Then, install the pycolorbar package by typing the following command in the command terminal:pip install pycolorbarTo install the latest development version via pip, see the
[documentation][doc_install_link].conda [NOT YET AVAILABLE]pycolorbar can be installed viacondaon Linux, Mac, and Windows.
Install the package by typing the following command in a command terminal:conda install pycolorbarIn case conda forge is not set up for your system yet, see the easy to follow
instructions onconda forge.Documentation for pycolorbarYou can find the documentation under [pycolorbar.readthedocs.io][doc_link]Tutorials and ExamplesThe documentation also includes sometutorials, showing the most important use cases of pycolorbar.
These tutorial are also available as Jupyter Notebooks and in Google Colab:Introduction to colormaps definition [Notebook][Colab]Introduction to colorbars definition [Notebook][Colab]Introduction to bivariate colorbars  [Notebook][Colab]Introduction to trivariate colorbars [Notebook][Colab]CitationIf you are using pycolorbar in your publication please cite our paper:TODO: GMDYou can cite the Zenodo code publication of pycolorbar by:Ghiggi Gionata & XXXX . ghiggi/pycolorbar. Zenodo.https://doi.org/10.5281/zenodo.8131552If you want to cite a specific version, have a look at theZenodo site.Requirements:numpymatplotlibLicenseThe content of this repository is released under the terms of theMITlicense.
Package: pycolor-codern
pycolorInstallationDue topycoloralready being used, the actual package name ispycolor-codern$pipinstallpycolor-codernAboutPycolor uses thecolorapi to get useful information about colors in a pythonic way.UsagefrompycolorimportColorrgb=(1,233,123)color=Color('Rgb',rgb)# Returns a color object# Color(color_input=(1, 233, 123), input_type='rgb', hex='#01E97B', cmyk='100, 0, 47, 9', name='Spring Green', hsl='152, 99, 46', xyz='42, 69, 57', image='https://singlecolorimage.com/get/01E97B/400x100.png', hsv='152, 100, 91', rgb='1, 233, 123')name=color.nameimage_url=color.imagecolor_hex=color.hex# etc.More examples can be seen in/examplesContributingIf you have any questions or concerns feel free to make a pull request or open an issue.
Package: pycolordetector
pycolordetectoris a Python package for detecting colors in images. It provides fast and easy way to detect color of a pixel. The applications build through this package will automatically give the name of the color just by double-clicking on them. pycolordetector has been designed to make working with image data both simple and intuitive. It aims to be the fundamental high-level building block for doing practical and real-world analysis on images.InstallationThe source code is currently hosted on GitHub at:https://github.com/sunnysinghnitb/pycolordetectorTo install pycolordetector, simply use pip:pipinstallpycolordetectorExample UsageThe following illustrates how to use thecolofunction of pycolordetector:frompycolordetector.pycolordetectorimportcolo
colo("Path_of_your_image")DocumentationThe official documentation is hosted on:https://pycolordetector.readthedocs.io/en/latest/Licensepycolordetectoris published under theMIT License.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.ContributionsAll contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.Issues are posted on:https://github.com/sunnysinghnitb/pycolordetector/issuespycolordetectorappreciates help from a wide range of different backgrounds. Work such as high level documentation or code improvements are valuable, and small improvements or fixes are always appreciated. If you are considering larger contributions outside the traditional coding work, please contact us atsunnysinghnitb@gmail.com.
Package: py-colored-logs
COLORED LOGS IN PYTHONYou will be able to color Python logs with this little module. The colorable logs are as follows:success log,warning log,error log, andinfo log!MODULE FEATURESIn the logo you can add tags and text, the tag will be enclosed in square brackets. If you don't add the tag, the square brackets will be removed from the log and its color will be put on the text!HOW TO CALL THE MODULE ON MY PYTHON SCRIPT?fromlogsimportLogs# [TAG] Text here..print(Logs.success_log(tag='',text=''))print(Logs.warning_log(tag='',text=''))print(Logs.error_log(tag='',text=''))print(Logs.info_log(tag='',text=''))# Text here..print(Logs.success_log(text=''))print(Logs.warning_log(text=''))print(Logs.error_log(text=''))print(Logs.info_log(text=''))
Package: py-colorgen
Py_colorgenA python based random color generator(Hex, rgb, hsl)System RequirementsPython3Installation InstructionspipinstallPy_colorgenOptions-h, --help                    show this help message and exit

  -r --rgb                      RGB random color combination and exit

  -s --hsl                      HSL random color combination and exit

  On default it generates Hex color combination and exit
Package: pycolorise
pycoloriseAddcolors/fontsto the terminalThe terminal colorizer is a tool that improves the visual experience of terminal applicationsJoinOfficial Discord Serverfor more guidance !FeaturesIt providestemplatesfor foreground, background colors and font styles for re-usability.It supports24-bit true colors, RGB, and hex colors, providing a wide range of color options.The colorizer is built usingobject-oriented programmingprinciples, making it highly customizable.Developers can easily create their own color schemes to suit their needs.The colorizer hasno dependencies, making it easy to integrate into any project without adding unnecessary
overhead.InstallationFor stable version, use below commandpipinstall-UpycoloriseFor latest/beta version, install it usinggitpipinstall-Ugit+https://github.com/Modern-Realm/pycoloriseQuickstartCreate a file with '.py ' extension, Like:main.py# For foreground colorsfrompycolorise.colorsimport*# For background colorsfrompycolorise.bgColorsimport*# For font styles like: bold, italic, etcfrompycolorise.stylesimport*print(Purple("• Foreground colors:"))print(Red("red"),BrightRed("bred"),Green("green"),BrightGreen("bgreen"))print(Purple("\n• Background colors:"))print(BgRed("red"),BgBrightRed("bred"),BgGreen("green"),BgBrightGreen("bgreen"))print(Purple("\n• Fonts:"))print(Bold("bold"),Underline("underline"),StrikeThrough("strike through"),Italic("italic"),Framed("framed"))Output:Useful Links:For more guidance checkExamplesDocumentationContributingCode of ConductContact UsDiscord•Github•Gmail
Package: pycolorize
[![Build Status](https://travis-ci.org/Kit-Scribe/pycolorize.svg?branch=master)](https://travis-ci.org/Kit-Scribe/pycolorize)# A simple colorizer which keep the color of all lines and sublinesCurrent version is:v1.0.2To install use:$pip install –upgrade pycolorize
OR
$pip3 install –upgrade pycolorizeFind docs [here](/docs)Find examples [here](/docs/examples)<h2>Examples of output:</h2>![](/docs/images/pycolorize1_cut.png)
![](/docs/images/pycolorize2_cut.png)
Package: py-color-log
py-color-logpython 颜色缤纷的日志运行环境介绍封装了 colorlog 使其更易用，效果如图：其特点为：默认的各等级颜色分配默认的日志滚动配置（按天滚动，最多保留 7 天）默认的第三方日志禁用：requestschardet.charsetprober灵活可控的配置使用说明在代码中引入 py-color-log 包即可：fromcolor_log.clogimportloglog.debug('这是 DEBUG 日志，白色')log.info('这是 INFO 日志，青绿')log.warn('这是 WARN 日志，黄色')log.error('这是 ERROR 日志，紫色')try:a=1/0except:log.critical('这是 CRITICAL 日志，红色')可以通过构造函数调整日志配置：fromcolor_log.clogimportColorLog'''[param] log_dir: 日志输出目录[param] app_logs: 应用运行日志的名称字典，格式如 { name: min_level, ... }[param] logfile_format: 输出日志文件的格式[param] date_format: 输出日志文件的时间格式[param] logcolors: 日志每个等级的颜色字典，格式如 { level: color, ... }[param] rollday: 日志滚动间隔（单位：天）[param] backupdays: 备份日志时长（单位：天）[param] encoding: 日志编码[param] debug: 是否打印 debug 日志[param] thirdlist: 禁用的第三方日志列表'''log=ColorLog(log_dir='./logs',app_logs={'run.log':logging.INFO,'err.log':logging.ERROR},logfile_format='%(asctime)s[%(levelname)s] [%(filename)s:%(lineno)d] -%(message)s',date_format='%Y-%m-%d%H:%M:%S',log_colors={'DEBUG':'white','INFO':'cyan','WARNING':'yellow','ERROR':'purple','CRITICAL':'red',},rollday=1,backupdays=7,encoding='utf-8',debug=True,thirdlist=['requests','chardet.charsetprober'])关于测试详见单元测试说明赞助途径支付宝微信版权声明Site:https://exp-blog.comMail:289065406@qq.com
Package: pycolormap-2d
Colormap 2D Python PackageThis package allows to map 2D coordinates to different 2D color maps.The following color maps are available:ColorMap2DBremmColorMap2DCubeDiagonalColorMap2DSchumannColorMap2DSteigerColorMap2DTeuling2ColorMap2DZieglerThe package is based onM. Steiger, J. Bernard, S. Thum, S. Mittelstädt, M. Hutter, D. A. Keim, and  J. Kohlhammer, “Explorative Analysis of 2D Color Maps,” inInternational Conferences in Central Europe on Computer Graphics, Visualization and Computer Vision, 2015, vol. 23, pp. 151–160.For a JavaScript implementation, refer to theColor2Dproject byDominik Jäckle.UsageBasic usage with normalized inputs (i.e., x- and y-coordinates ranging from 0 to 1):frompycolormap_2dimportColorMap2DBremm# Create the color map object.cmap=ColorMap2DBremm()# Get the color value.color=cmap(0.2,0.6)Optionally, ranges for the input x and y input ranges can be passed during object creation:frompycolormap_2dimportColorMap2DBremm# Create the color map object.cmap=ColorMap2DBremm(range_x=(-10,30),range_y=(1,11))# Get the color value.color=cmap(10.0,8.5)
Package: pycolorpicker
pycolorpickerThe simplest color picker for the command line written in Python.Installationpip install pycolorpickerUsage$ pycolorpicker
Click to copy the current color to the clipboard.
Press Ctrl-C to quit.
X: 1707 Y:  633 RGB: (250, 251, 237)
Color:
rgb (250, 251, 237)
hex #fafbed
Copied to clipboard.Start it once, move your cursor over the desired color, click to copy it to the clipboard.Selection can be done multiple times.Features live preview of the current color on which the cursor is.
Package: pycolorprint
A python pretty printer that uses ANSI characters to make terminal output colorful.(5/10/2021) cprint_iter now returns the ANSI colored string that is printed to console.(7/5/2021) cprint_iter has been deprecated, cprint can handle all var types now and all ANSI commands, text colors, and highlight colors are all exported in __init__.py for use outside of cprint                    (7/6/2021) cprint now has the optional color arg that can change the color or highlight of non iterable primitives when printed and returned
Package: pycolorpy
pycolorpyAdds typographical emphasis and text / background color for strings in python.InstallationpipinstallpycolorpyUsagefrompycolorpyimportblack,red,green,yellow,blue,magenta,cyan,whiteexample_string=yellow('Hello ',options=['blink'],background='red')+magenta('World',options=['underline','italic'],background='green')+cyan('!')print(example_string)Available optionsbrightdarkitalicunderlineblinkselectedAvailable background colorsblackredgreenyellowbluemagentacyanwhite
Package: pycolors
Module colors~~~~~~~~~~~~~~Python module to ease the use of colors on programs that run on CLI.Works fine on Linux and any Operating System running BaSH or compatibles.If the shell's not color compatible, he'll get the raw string.The module have predefined some basic colors, but you can use any color,if you know the color code.Usage example------------->>> from colors import Color>>> yellow = Color('1;33')>>> print yellow('Hello World')Hello World>>> from colors import red>>> print red('Ola Mundo')Working with this module as an optional dependency--------------------------------------------------If you don't want to force the users to have PyColors installedyou can make the use of the colors module optional. For example: ::# trying to use colorstry:from colors import light_blue, light_red, red, whiteexcept:light_blue = light_red = red = white = lambda(x): str(x)With this, if the user don't have the colors module, he'll get theraw strings normally.:copyright: 2009 Rafael Goncalves Martins.:license: BSD, see LICENSE for more details.
Package: pycolors2
# PyColors2This is a set of color methods and a dictionary that help you wrap
text output in colors.  This tool was originally forked from the
Fabric fabric.colors library and upgraded with utilities from the
original pycolors tool in pypi.Maintainer: Chris Gilmer[![Build Status](https://travis-ci.org/chrisgilmerproj/pycolors2.png)](https://travis-ci.org/chrisgilmerproj/pycolors2)[PyColors2 ReadTheDocs](http://pycolors2.readthedocs.org/en/latest/)
Package: pycolorterm
===============================PyColorTerm===============================.. image:: https://badge.fury.io/py/pycolorterm.png:target: http://badge.fury.io/py/pycolorterm.. image:: https://travis-ci.org/dnmellen/pycolorterm.png?branch=master:target: https://travis-ci.org/dnmellen/pycolorterm.. image:: https://coveralls.io/repos/dnmellen/pycolorterm/badge.png:target: https://coveralls.io/r/dnmellen/pycolorterm.. image:: https://pypip.in/d/pycolorterm/badge.png:target: https://crate.io/packages/pycolorterm?version=latestPyColorTerm allows you to write colored and styled lines out in the terminal from Python and in a pythonic way* Free software: BSD license* Documentation: http://pycolorterm.rtfd.org.Features--------* Get your line prints pretty with color and style formatting* Python 3 ready!* PythonicGetting started--------Installation===========.. code-block :: bash$ pip install pycolortermUsage============.. code-block :: pythonfrom pycolorterm.pycolorterm import print_prettyprint_pretty('This is <BOLD>awesome<END> <FG_RED>because<END> you can <UNDERSCORE>mix<END> <BG_BLUE>many styles easily<END>')Result============.. image:: https://raw.github.com/dnmellen/pycolorterm/master/pycolorterm_example.pngHistory-------0.1.0 (2013-09-20)++++++++++++++++++* First release on PyPI.0.1.1 (2013-09-20)++++++++++++++++++* Revision with 100% code coverage0.2.0 (2013-09-24)++++++++++++++++++* Added new shortcut function to print with format (print_pretty)0.2.1 (2013-09-28)++++++++++++++++++* Changed markup syntax from {} to <>
Package: pycolt
COLT: COmmand Line ToolSimple, extensible tool to create out of the box input files and commandline
interfaces for Python, that are type validated.
For the input file theinifile-format is used around Python’sconfigparser.FeaturesBuild simple commandline interfaces using the FromCommandline-decorator# examples/commandline_xrange.pyfromcoltimportfrom_commandline@from_commandline("""
# start of the range
xstart = :: int :: >0
# end of the range
xstop = :: int :: >1
# step size
step = 1 :: int
""")defx_range(xstart,xstop,step):foriinrange(xstart,xstop,step):print(i)if__name__=='__main__':x_range()usage:commandline_xrange.py[-h][-stepstep]xstartxstoppositionalarguments:xstartint,Range(>0)startoftherangexstopint,Range(>1)endoftherangeoptionalarguments:-h,--helpshowthishelpmessageandexit-stepstepint,stepsizeCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.4.0 (2021-6-9)New commandline parser instead of argparse:correct handling of multiple subparsercorrect parsing of infinit arguments using thelist(typ)syntaxfully customizable help settings0.1.0 (2020-8-1)First release on PyPI.
Package: pycomando
INTRODUCTIONpycomando is a Library for creating command line program's command with minimal effort
pycomando is based on argparse allowing the creation of commands starting from a simple yml file.PyPI:https://pypi.python.org/pypi/pycomando/GitLab:https://gitlab.com/doberti/pycomando/Documentation:https://gitlab.com/doberti/pycomando/-/wikis/Documentation/MAINTAINERS:- Daniel Oberti (obertidaniel@gmail.com)Install this packageUsing a distribuible package:This project is deployed as a python package.
Once cloned we advice to install it with pip.
In order to do that the user needs to open a command prompt, go into the directory containing the project and execute the next command:gitclone<REPO># creating the dist. packagecd<REPO>
pythonsetup.pysdist# install the dist. package (located on folder "sdist")pipinstall<PACKAGE.tar.gz>Using git + pipgitclone<REPO>
pipinstall-e<PACKAGE>Using pypiHow to - uploading to pypi# install the required toolspython-mpipinstall-Upipsetuptoolstwine
pythonsetup.pybdist_wheel# (publicar en pypi)python-mtwineuploaddist/*--skip-existingHow to - install from pypi# install the package anywhere:pipinstall<PACKAGE>Uninstall this packagepipuninstall<PACKAGE>Redis server setup using Dockerpycomando has an option to store commands into a redis db.
You can use docker to deploy it easely as shown below:Run redis in docker with:$dockerrun--nameredis-p7010:6379-dredis:6.2.6Autocomplete setuptcsh:eval`register-python-argcomplete--shelltcshpycomando`bash:eval"$(register-python-argcompletepycomando)"Environment variables# DEBUG_LEVEL can be used to set the app logging_level as shown below:setenvDEBUG_LEVELINFO
setenvDEBUG_LEVELDEBUG
setenvDEBUG_LEVELWARNING

setenvREDIS_SERVERsjs5-015s
setenvREDIS_PORT7010Usage ExampleA simple usage example is on the folder "examples" (before run it, you should install this package)Referenceshttps://es.acervolima.com/como-publicar-el-paquete-python-en-pypi-usando-el-modulo-twine/https://programmerclick.com/article/2710482940/https://choosealicense.com/https://pypi.org/(here you must register as well if you want to publish packages)
Package: pyComBat-test
pyComBatpyComBat [1] is a Python 3 implementation of ComBat [2], one of the most widely used tool for correcting technical biases, called batch effects, in microarray expression data.More detailed documentation can be found atthis address.Minimum dependenciesWe list here the versions of the paquages that have been used for development/testing of pyComBat, as well as for writing the documentation.pyCombat dependenciespython 3.6numpy 1.16.4mpmath 1.1.0pandas 0.24.2Documentationsphinx 2.1.2Usage exampleNote that you need to download the utils.py script and put it in the same folder as the rest of your code. We are currently working on making on making pyComBat usable as a Python library.The simplest way of using pyComBat is to first import it, and simply use the pycombat function with default parameters:fromutilsimportpycombatpycombat(data,batch)data: The expression matrix. It contains the information about the gene expression (rows) for each sample (columns). The first column (resp. row) is dedicated for the gene (resp. sample) names.batch: List of batch indexes. The batch list describes the batch for each sample. The list of batches contains as many elements as the number of columns in the expression matrix.How to contributePlease refer toCONTRIBUTING.mdto learn more about the contribution guidelines.References[1][2] Johnson,W.E. et al. (2007) Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics, 8, 118–127