Saravanan666/pypi-org huggingface dataset:
Package: pythoncms
🇲🇺Welcome to pythoncmsTryIn virtual envpip install pythoncms
pythoncms start mysite
cd mysite
shopyo initialise
flask --debug runLocal devInstall package! Important: Please create and activate a virtual environment.python -m pip install -e .Then initialisecd pythoncms
shopyo initialise
flask --debug runfor migratingflask db migrate
flask db upgraderunflask --debug rundashboardlogin withadmin@domain.com|passhttp://127.0.0.1:5000/dashboard/ThemeThemes are located at '/static/themes/'Each theme must haveindex.html
base.html
contact.html
page.html
login.html
register.html
unconfirmed.htmlinfo.json{"author":"ARJ","version":"1.0.20000000000003"}Info json{
	"display_string": "Admin",
	"type": "show", // hidden if hide
	"icons":{
		"fa": "fas fa-user-lock", // set according to ACTIVE_ICONSET
		"boxicons": "",           // set according to ACTIVE_ICONSET
		"file": "icon.svg" // if present, will be used and searched for
						   // in module/static. Make sure to shopyo collecstatic in production
	},
	"url_prefix": "/appadmin",
	"menu": {
		"list users":"/", // url-prefix will be concatenated with it for sub menus.
		"add user": "/add",
		"roles":"/roles"
	},
	"menu-type": "show-menu", // or no-menu. Expects menu key if show-menu.
	"module_name": "appadmin",
	"author": {
		"name":"Abdur-Rahmaan Janhangeer",
		"website":"https://www.pythonkitchen.com/about-me/",
		"mail":"arj.python@gmail.com"
		}
}Changelog1.2.0Tiny MCE configuredstart command
Package: python-cnab
Python Cnab=======[![Build Status](https://travis-ci.org/Trust-Code/python-cnab.svg?branch=master)](https://travis-ci.org/Trust-Code/python-cnab)[![Coverage Status](https://coveralls.io/repos/github/Trust-Code/python-cnab/badge.svg?branch=master)](https://coveralls.io/github/Trust-Code/python-cnab?branch=master)[![Code Health](https://landscape.io/github/Trust-Code/python-cnab/master/landscape.svg?style=flat)](https://landscape.io/github/Trust-Code/python-cnab/master)[![PyPI version](https://badge.fury.io/py/python-cnab.svg)](https://badge.fury.io/py/python-cnab)- cnab240Instalação------------Você pode instalar ``python-cnab`` com ``pip``:$ pip install python-cnabMantido por Trustcode
Package: python-cobe
Cobeis a platform for monitoring applications and
services. It provides a live, searchable view of your infrastructure
components, and their relationships, decorated with metrics and alarms.This library provides an interface to topologically model custom Python
applications using Cobe. Both Python 2 and 3 are supported.Exampleimportcobewithcobe.Source(destination='stream.cobe.io')assource:model=cobe.Model()application=cobe.Update('MyApplication')subsystem=cobe.Update('MyApplication:SubSystem')subsystem.attributes['performance'].set(9001)subsystem.attributes['performance'].traits.add('metric:gauge')model.relate(parent=application,child=subsystem)model.relate(parent=cobe.identify_process(),child=application)source.send(model)Getting StartedFirstly you will needa Cobe account and Topology. Once you’ve created your topology, read thegetting started documentationto start monitoring your own Python applications.If you come across any bugs please doreport them.
Package: python-codeforces
python-codeforcesCodeforces API wrapper for pythonInstallationUsingpippipinstallpython-codeforcesFrom sourcegitclonehttps://github.com/Mukundan314/python-codeforces.gitcdpython-codeforces
pipinstall.For Developmentgitclonehttps://github.com/Mukundan314/python-codeforces.gitcdpython-codeforces
pipinstall-e.Commandline toolscf-runRun a program against sample testcases.usage:cf-run[-h][-tTIMEOUT][-g]contestIdindexprogram

positionalarguments:contestIdIdofthecontest.Itisnottheroundnumber.ItcanbeseenincontestURL.indexAletteroraletterfollowedbyadigit,thatrepresentaproblemindexinacontest.programPathtoexecutablethatneedstobetested

optionalarguments:-h,--helpshowthishelpmessageandexit-tTIMEOUT,--timeoutTIMEOUTTimeoutforprograminseconds,-1fornotimelimit(default:10)-g,--gymIftrueopengymcontestinsteadofregularcontest.(default:false)DocumentationDocumentation can be found athttps://python-codeforces.readthedocs.io/en/latest/LicenseSeeLICENSE.
Package: python-code-parse
Python Code ParserSimple functions built on Pythonastto parse Python code and extract information about functions, parameters, etc.Used for auto-type-hinting projects.Install with pippipinstallpython_code_parseFunctionsget_function_info_by_nameReturns aFunctionInfoobject containing information about a function andit's parametersin a given code string.get_all_function_info_from_codeReturns a list ofFunctionInfoobjects, each containing information about a function andit's parametersin a given code string.replace_function_signatureReplace a function declaration including the parameters (with annotations and default values) and the return type.function_returnsReturns a boolean value saying if a given function returns a value orNone.ExampleBelow is the output of running the parser on the exampleexamples/basic_example.py:frompython_code_parseimportget_all_function_info_from_code,FunctionInfofromtypingimportListwithopen("examples/basic_example.py","r")asf:data=f.read()function_infos:List[FunctionInfo]=get_all_function_info_from_code(data)print(function_infos)"""[FunctionInfo(name='sum',args=[FunctionArg(name='a', annotation='int'),FunctionArg(name='b', annotation='', default = '1')],return_type='None',line=1),FunctionInfo(name='subtract',args=[FunctionArg(name='a', annotation=''),FunctionArg(name='b', annotation='')],return_type='int',line=5),FunctionInfo(name='log',args=[FunctionArg(name='message', annotation='str', special=SpecialArg.kwonlyargs),],return_type='None',line=9)]"""
Package: python-codicefiscale
python-codicefiscalepython-codicefiscale is a library for encode/decode Italian fiscal code -codifica/decodifica del Codice Fiscale.FeaturesNEWAuto-updateddata (once a week) directly fromANPRdata-source.NEWCommand Line Interfaceavailable.Transliterationfor name/surnameMultiplebirthdate formats (date/string)(you can see all the supported string formatshere)Automaticbirthplace city/foreign-country code detection from nameOmocodiasupportInstallationpip install python-codicefiscaleUsagePythonImportfromcodicefiscaleimportcodicefiscaleEncodecodicefiscale.encode(lastname="Caccamo",firstname="Fabio",gender="M",birthdate="03/04/1985",birthplace="Torino",)# "CCCFBA85D03L219P"Decodecodicefiscale.decode("CCCFBA85D03L219P")# {#     "code": "CCCFBA85D03L219P",#     "gender": "M",#     "birthdate": datetime.datetime(1985, 4, 3, 0, 0),#     "birthplace": {#         "name": "TORINO"#         "province": "TO",#         "code": "L219",#     },#     "omocodes": [#         "CCCFBA85D03L219P",#         "CCCFBA85D03L21VE",#         "CCCFBA85D03L2MVP",#         "CCCFBA85D03LNMVE",#         "CCCFBA85D0PLNMVA",#         "CCCFBA85DLPLNMVL",#         "CCCFBA8RDLPLNMVX",#         "CCCFBAURDLPLNMVU",#     ],#     "raw": {#         "code": "CCCFBA85D03L219P",#         "lastname": "CCC",#         "firstname": "FBA",#         "birthdate": "85D03",#         "birthdate_year": "85"#         "birthdate_month": "D",#         "birthdate_day": "03",#         "birthplace": "L219",#         "cin": "P",#     },# }Checkcodicefiscale.is_valid("CCCFBA85D03L219P")# Truecodicefiscale.is_omocode("CCCFBA85D03L219P")# FalseCommand LineThis library can be used also as a CLI tool, for more info run:python-mcodicefiscale--helpEncode (CLI)python-mcodicefiscaleencode--firstnameFabio--lastnameCaccamo--genderM--birthdate03/04/1985--birthplaceTorinoDecode (CLI)python-mcodicefiscaledecodeCCCFBA85D03L219PTesting# clone repositorygitclonehttps://github.com/fabiocaccamo/python-codicefiscale.git&&cdpython-codicefiscale# create virtualenv and activate itpython-mvenvvenv&&.venv/bin/activate# upgrade pippython-mpipinstall--upgradepip# install requirementspipinstall-rrequirements.txt-rrequirements-test.txt# install pre-commit to run formatters and linterspre-commitinstall--install-hooks# run tests using toxtox# or run tests using unittestpython-munittesttests.testsLicenseReleased underMIT License.Supporting:star: Star this project onGitHub:octocat: Follow me onGitHub:blue_heart: Follow me onTwitter:moneybag: Sponsor me onGithubSee alsopython-benedict- dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘python-fontbro- friendly font operations. 🧢python-fsutil- file-system utilities for lazy devs. 🧟‍♂️
Package: python-codon-tables
Provides codon usage tables as dictionnaries, for Python 3+.Tables for the following organisms are provided with the library (any other
table can be downloaded using a TaxID):B. subtilisC. elegansD. melanogasterE. coliG. gallusH. sapiensM. musculusM. musculus domesticusS. cerevisiaeAll the tables are fromkazusa.or.jpand here is the original paper to cite:Codon usage tabulated from the international DNA sequence databases:
status for the year 2000.
Nakamura, Y., Gojobori, T. and Ikemura, T. (2000) Nucl. Acids Res. 28, 292.Usageimportpython_codon_tablesaspct# PRINT THE LIST OF NAMES OF ALL AVAILABLE TABLESprint('Available tables:',pct.available_codon_tables_names)# LOAD ONE TABLE BY NAMEtable=pct.get_codons_table("b_subtilis_1423")print(table['T']['ACA'])# returns 0.4print(table['*']['TAA'])# returns 0.61# LOAD ONE TABLE BY TAXID (it will get it from the internet if it is not# in the builtin tables)table=pct.get_codons_table(1423)print(table['T']['ACA'])# returns 0.4print(table['*']['TAA'])# returns 0.61# LOAD ALL BUIL-IN TABLES AT ONCEcodons_tables=pct.get_all_available_codons_tables()print(codons_tables['c_elegans_6239']['L']['CTA'])# returns 0.09Notice that by default the tables use nucleotide T instead of U. Usingget_codons_table('e_coli',replace_U_by_T=False)will leave Us as Us.Inget_codons_tableyou can also provide a “shorthand” notationb_subtilis, which will be automatically extended tob_subtilis_1423as it appears so in the built-in table (use this feature at your own risks!)ContributeThis project was started at the Edinburgh Genome Foundry by Zulko and is released onGithubunder a Public Domain licence (and no warranty whatsoever, please cross-check the codon usage with other sources if you are not sure). Feel free to add other tables if you think of more commonly used species.Installationvia pip:pipinstallpython_codon_tablesManual:(sudo)pythonsetup.pyinstallMore biology softwareThis library is part of theEGF Codonssynthetic biology software suite for DNA design, manufacturing and validation.
Package: pythoncoin
pycoina lovable data analysis and algorithmic trading library for cryptocurrencies :moneybag:including tools for deploying any strategy including pattern based strategies,
Price Action strategies, Indicator based strategies and also Machine learning based strategies.
able to run multi strategy instances on a single bot as a webapp and a lot more...what can this package do:download market historical data for all symbols from almost all exchanges thanks toccxt:chart_with_upwards_trend:visualizing capabilities to easily analyze market usingplotly:chart_with_downwards_trend:able to perform some useful analysis such as finding market trend according to market past high and lows, finding market important levels (like support and resistance) and more :bar_chart:able to define your strategy, backtest it, run it in dry run mode and also in real mode :mag: (soon)using telegram bot and webapp to control and monitor your bot :robot: (soon)run multiple strategy instances for each user as a single bot. (soon)[!NOTE]for usage examples please go toexamplesfolder and open provided notebooks.Installationusing pipstandard installation!pipinstallpythoncoininstallation to use extra features!pipinstallpythoncoin[plot]also you can use [ai], [jupyter], [hdf5] or [all] to install all extra packagesvia cloninggitclonegit@github.com:hadif1999/pycoin.gitcdpycoin
python3setup.pysdist
pip3install.Quick startafter installation you can run below code to download market historical data:frompycoin.data_gatheringimportKlineData_Fetcherimportdatetimeasdtdf=KlineData_Fetcher(symbol="BTC/USDT",timeframe="4h",data_exchange="binance",since=dt.datetime(2020,1,1))ploting the candlestick datafrompycoin.plottingimportMarket_Plotterplots=Market_Plotter(OHLCV_df=df)# if plot_by_grp is False then it will plot the whole candlestick datafigure=plots.plot_market()# if plot_by_grp is True you can plot candlestick data by group and plot a specific year, month,etc.figure=plots.plot_market(plot_by_grp=True,grp={"year":2023,"month":2})figure.show()evaluating market high & lowsfrompycoin.data_gatheringimportget_market_High_Lowsdf=get_market_High_Lows(df,candle_range=100)dfcandle_range: range of candles to look for high and lowsploting market high and lowsplots.plot_high_lows(df,R=800,y_scale=0.5)the method above puts a circle for each high and low.
R is the radius and y_scale can scale the price in y axis for better visualizing.evaluate market trend with high and lowsevery trend that is found with any method such as high & lows, SMA,etc. adds a new column that holds the trend label for each row of data, and when you want to plot these trend you should give this column name to draw_trend_highlight method.# finding trendfrompycoin.data_gatheringimportTrend_Evaluatordf=Trend_Evaluator.eval_trend_with_high_lows(df,HighLow_range=100)# ploting trendplots.draw_trend_highlight("high_low_trend",df,add_high_lows_shapes=True,R=10000,# circle size of high and lowsy_scale=0.1# scales y dim of circles)evaluate trend using MACD + Signaldf=Trend_Evaluator.eval_trend_with_MACD(df,drop_MACD_col=True)plots.draw_trend_highlight("MACD_trend",df)
Package: python-coinage
CoinageCoinage is a python module for validating cryptocurrency addresses with different formats among different blockchain networks.ExamplesfromcoinageimportBitcoinBlockchain,FailedValidation,FailedChecksumValidationbtc=BitcoinBlockchain()try:valid=btc.validate('abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw')ifvalid.is_from_main_net():print('this address looks good')else:print('this isn\'t a mainnet address')exceptFailedChecksumValidation:print('you probably made a mistake when copying this address')exceptFailedValidation:print('this isnt a bitcoin address')Or:fromcoinageimportBitcoinBlockchain,FailedValidation,FailedChecksumValidationbtc=BitcoinBlockchain()result,details=btc.is_valid('abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw')ifresult:ifdetails.is_from_main_net():print('this address looks good')else:print('this isn\'t a mainnet address')else:print('this isnt a valid bitcoin address')SourcesBitcoin wiki page about Bech32BIP-0173EIP-55CashAddr SpecCoinaddr Python Module
Package: python-coincall
OverviewThis is an unofficial Python wrapper for theCoincall exchange APIIf you came here looking to purchase cryptocurrencies from the Coincall exchange, please gohere.Source codehttps://github.com/Coincall-exchange/python-coincallFeaturesImplementation of all Rest API endpoints.Quick startPrerequisitespython version：>=3.9WebSocketAPI： websockets package advise version 6.0Step 1: register an account on Coincall and apply for an API keyRegister for an account:https://www.coincall.com/signupApply for an API key:https://www.coincall.com/account/apikeysStep 2: install python-coincallpipinstallpython-coincallStep 3: Run examplesavailabel modulesfromcoincallimportUser,Public,Futures,Options,Referralfill in API credentials when use a module with a SIGNED endpoint:api_key='Your API Key'api_secret_key='Your API Secret'public module usage:publicApi=Public.PublicAPI()print(publicApi.get_server_time())SIGNED endpoint module:userApi=User.UserAPI(api_key,api_secret_key)print(userApi.get_user_info())
Package: python-colorcode
Color Shade GeneratorColor Shade Generator is a Python package that allows you to easily generate a list of shades for a given color. The package can generate shades in both hexadecimal and RGB format.InstallationYou can install the package using pip:pip install python-colorcode==0.1UsageThe package provides a single function calledgenerate_color_shades()which takes in two parameters:color_name: the name of the color for which you want to generate shades. The color name should be a string that is recognized by the webcolors library.rgb(optional): a boolean value that indicates whether the shades should be returned in RGB format (True) or hex format (False). The default value is False.
Here is an example of how to use thegenerate_color_shades()function:from python-colorcode import python_colorcode

try:
    hex_shades = python_colorcode.generate_color_shades("red")
    print(hex_shades)

    rgb_shades = python_colorcode.generate_color_shades("red", rgb=True)
    print(rgb_shades)
except ValueError as e:
    print(e)The above code will generate 20 shades of the color red, in hex and RGB format, respectively. If the color name passed is not valid, it will raise a ValueError.NoteThis package is using webcolors library to convert color name to RGB, it supports all the CSS3 standard color names, you can find the full listhereAlso, you can add more functionality like,ability to return the shades in different format like HSL or HSV.
ability to return the shades in the order of Lightest to Darkest or vice versa.
etc.ContributingIf you would like to contribute to the package, please submit a pull request.LicenseThis package is licensed under the MIT License.AcknowledgementsThis package is using webcolors library, you can find more information about ithere
Package: python-colored-print
Colored PrintA lightweight python library in order to print in different colors and save them into a file optionally.Setuppipinstallpython-colored-printUsagefromcolored_printimportloglog.success("Hello",123,"Bye").store()log.info("Hello",123,"Bye")log.warn("Hello",123,"Bye")log.err("Hello",123,"Bye").store()log.pink("Hello",123,"Bye")log("Hello",123,"Bye")# default color is whiteOutput
Package: python-color-getter
python-color-getterPython color getter (including method to get random color or complementary color)Setuppython -m pip install python-color-getterMethod Overviewget_random_color() -> tupleget_color_from_stylesheet(code: str) -> Noneget_complementary_color(r: int, g: int, b: int) -> tuplergb_to_hex(r: int, g: int, b: int, digit_cnt: int = 6) -> str- Argumentdigit_cntis digit count of hex color user want to get.  The value ofdigit_cntshould be 3 or 6. It is set to 6 by default.hex_to_rgb(hex: str) -> tuple- Argumenthexshould be 3 or 6 digit hex colors like #DDD, #ABABAB.lighter(r: int, g: int, b: int) -> tupledarker(r: int, g: int, b: int) -> tupleExampleCode Sampleprint(PythonColorGetter.get_random_color())print(PythonColorGetter.get_complementary_color(255,0,0))print(PythonColorGetter.hex_to_rgb('#2c2c2c'))r,g,b=44,44,44print(PythonColorGetter.rgb_to_hex(r,g,b))light_r,light_g,light_b=PythonColorGetter.lighter(r,g,b)print(PythonColorGetter.rgb_to_hex(light_r,light_g,light_b))dark_r,dark_g,dark_b=PythonColorGetter.darker(r,g,b)print(PythonColorGetter.rgb_to_hex(dark_r,dark_g,dark_b))Result(211, 195, 123)

(0, 255, 255)

(44, 44, 44)

#2c2c2c

#3d3d3d

#1b1b1b
Package: python-color-logger
The python-color-logger packages is a fork of logutils 0.3.3.
The original author of logutils is Vinay Sajip and his project
can be found at:http://code.google.com/p/logutils/The logutils package provides a set of handlers for the Python standard
library’s logging package.The python-color-logger fork extends logutils to provide custom log
coloring via sublcassing ColorizingStreamHandler.Some of these handlers are out-of-scope for the standard library, and
so they are packaged here. Others are updated versions which have
appeared in recent Python releases, but are usable with older versions
of Python and so are packaged here.The latest version of python-color-logger can be found at:https://github.com/gnulnx/python-color-logger
Package: python-colors
python-colorsPrint colored text on UNIX terminalsFree software: GNU General Public License v3Documentation:https://python-colors.readthedocs.io.FeaturesEasy usageCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-11)First release on PyPI.0.1.1 (2018-11-16)Added a class for creating styles e.g. Bold, and the Coloring class was made a little bit more abstract
Package: python-colors-linux
Colors In PythonImportant NoteTHESE ARE THE CODES FOR COLORS IN LINUX TERMINAL JUST LIKE HTML
BG = BACKGROUND
BR = BRIGHT
BG_BR = BRIGHT BACKGROUND
THIS ONLY WORKS IN LINUX TERMINAL AND DIDN'T WORK IN CMD OR POWERSHELL IN WINDOWSInstallationsudo apt install python3 python3-pip
pip install python-colorsUsageFor Ex: Using Blue Color
import colors
colors = colors.colors()
print(colors.BLUE + "Your Text")All Available ColorsBG = BACKGROUND
BR = BRIGHT
BG_BR = BRIGHT BACKGROUND
RED
BLUE
CYAN
YELLOW
GREEN
MAGENTA
WHITE
BR_RED
BR_GREEN 
BR_YELLOW 
BR_BLUE 
BR_MAGENTA 
BR_CYAN 
BR_WHITE 
BG_BLACK 
BG_RED 
BG_GREEN 
BG_YELLOW 
BG_BLUE 
BG_MAGENTA 
BG_CYAN 
BG_WHITE
BG_BR_BLACK
BG_BR_GREEN 
BG_BR_YELLOW
BG_BR_BLUE
BG_BR_MAGENTA 
BG_BR_CYAN 
BG_BR_WHITE 
RESET
BOLD 
REVERSE
UNDERLINE
Package: python-colors-windows
Python-Colors-WindowsInstallationpip install python-colors-windowsNoteSince Windows Doesn't support Displaying string directly
with color!
I have came with a simple solution.
changing The Whole Terminal color, using commands.
Ex:
color a [ Which Changes The Color To Light Green ]UsageFor Ex: Using Blue Color
from WinColors import Colors
colors = Colors()
colors.blue();print("Your Text")All Available ColorsLI = Light
RESET
BLUE
GREEN
AQUA
RED
PURPLE
YELLOW
WHITE
GRAY
LI_BLUE
LI_GREEN
LI_AQUA
LI_RED
LI_PURPLE
LI_YELLOW
BR_WHITE