Saravanan666/pypi-org huggingface dataset:
Package: cibc
CIBC API Client WrapperThis package provides a client wrapper around CIBC's API.  CIBC uses one API to handle requests from their web platform and app, specifically the API passes information about accounts, and transactions in those accounts.  This Wrapper makes it easy to gather that data in python, given the primary account card number and password.  Essentially, online banking through python.Getting StartedPrerequisitesbuilt for python 3.0 +, any operating systempip install cibcBasic UsageStart with logging into a CIBC account by calling the cibc.CIBC method using your username and loginimportcibcc=cibc.CIBC('username (usually card number)','password')Next, grab the accounts associated with this username and password (this is required, for any account specific information)c.Accounts()accounts=c.accountsThe accounts, which is a list of account class', is now storing all the account specific information.  I'm no entirely sure what all of it is, but the account class variables are listed below.
To get the transactions:c.gTransactions(dateFrom=datetime.datetime(year=2018,month=9,day=1),dateUntil=datetime.datetime(year=2018,month=9,day=17))the gTransactions method gets all the transactions for all the accounts in the instance.  It is also easy to get them one by one using the aquireTransactions method as follows:foraccountinaccounts:print(account.aquireTransactions())which will return a list of transactions, each transaction being a dictionary of details.Finally, there's an easy built in way to send the account transaction details to a csv file, or simply get a list of dictionaries without re-acquiring every transaction using the .tocsv() and .tolist() methods:foraccountinaccounts:account.tocsv('C:\Users\louis\Desktop\{}.csv'.format(account))print(account.tolist())Summing and Subtracting AccountsFor your convenience, there's an easy way to combine accounts for looking at all transactions at once.  The addition and subtraction methods are well defined for account classes and can be used like this:omniAccount=sum(c.accounts)# all the account transactions in one account.  Account specific variables are lostnomniAccount=c.accounts[0]-c.accounts[1]Account subtraction returns an account instance with a balance of the first account balance minus the other account balance.  It also holds the list of transactions excluding ones in account 1 that are also in account 2.Contributingthanks CIBC, for the API as well as being big enough for this to be relevant.VersioningWe use (http://semver.org/) for versioning. For the versions available, see the (https://github.com/louismillette/CIBC).AuthorsLouis MilletteLicenseThis project is licensed under the MIT LicenseAcknowledgmentsCIBC.  It's a good bank.NoticeI have been informed that useing this repository is a violation of the terms of service for CIBC's online banking agreement.
Package: ciberedev.py
ciberedev.pyPython Wrapper forcibere.devYou can view and read the docshereKey FeaturesSupport for the following endpoints- screenshot- search the internet- get_random_words- add_text_to_image- convert_image_to_asciiInstallingPython 3.8 or higher is requiredInstall from pippython -m pip install -U ciberedev.pyInstall from githubpython-mpipinstall-Ugit+https://github.com/cibere/ciberedev.py# requires git to be installedSeethe examples folderfor a full list of examples
Package: cibo
CiboInstallingpythonsetup.pyinstallA Simple ExamplefromciboimportHandler,SimpleContext,Blueprint,BaseApiQuery,BaseApiBodyapi=Blueprint("api")@api.post("/echo")classEchoHandler(Handler):decorators=[token_auth]classQuery(BaseApiQuery):a:strb:Optional[List[int]]c:Optional[Dict[str,int]]classBody(BaseApiBody):d:Set[int]e:Tuple[Dict[int,List],Dict[int,List]]defhandle(self,context:SimpleContext,query:Query,body:Body):"""echo the recevied params"""returncontext.success(data=f"a:{query.a}, b:{query.b}, c:{query.c}, d:{body.d}, e:{body.e}")Use a custom model and validate function@api.post("/user")classUserHandler(Handler):classBody(BaseApiBody):classUser(BaseModel):name:str=Field(description="姓名")emails:Optional[List[str]]=Field(description="邮箱")@classmethoddefvalidate(cls,value:Any):obj=cls(**value)ifobj.emails:ifnotall([re.match(r"^[0-9a-zA-Z_]{0,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$",email)foremailinobj.emails]):raiseValueError("email is not valid")returnobjuser:Userinviter:strdefhandle(self,context:SimpleContext,body:Body):"""custom model and validate"""returncontext.success(user=body.user,inviter=body.inviter)Devpullstubsfilesgitsubmoduleupdate--init--recursiveDocshttp://127.0.0.1:5000/docsContributing GuideFirst time setupCreate a virtual environment and install requirements:$python3-mvenvenv
$sourceenv/bin/activate
$python-mpipinstall--upgradepipsetuptools
$pipinstall-rrequirements/dev.txt
$pipinstall-e.
$pre-commitinstall
Package: cibuildwheel-cn
cibuildwheel-cn为什么有这个项目本项目完全参考cibuildwheel, 这是一个比较全面的Python库构建工具。在使用cibuildwheel的过程中发现需要下载 Python安装包 以及 docker镜像 等其他资源，
这些资源默认都是从国外网站下载，在国内使用cibuildwheel构建时， 由于种种原因，
资源下载速度非常慢，导致构建体验不太友好。 因此有了cibuildwheel-cn, 加速国内构建体验。
功能和cibuildwheel保持一致。如何使用不能和cibuildwheel同时安装，否则会出现问题。pipinstallcibuildwheel-cn同cibuildwheel使用方法一样，参考cibuildwheel文档,cibuildwheel LICENSE
Package: cicada-core
CicadaA FOSS, cross-platform version of GitHub Actions and Gitlab CI.Example workflow run is from thedemorepo.DemoYou can spin up a new Cicada demo server usingGitHub Codespacesin minutes using the button below:InstallingTo install Cicada in a more permanent environment (ie, a server), see theinstallation docsfor more info.Syntax HighlightingSyntax highlighting support (for Neovim) is availablehere.
Built usingTree-sitter.SupportIf you would like to support the development of Cicada, feel free to support
me onGitHub Sponsors.
Package: cicadad
cicada-distributedCicada Distributed is a framework with the goal of making integration, load, and
stress tests less expensive to build. Cicada is designed to manage vast groups
of users to test your services while making tests easier to build and
understand. To get started, install Cicada through pip:pipinstallcicadadExampleCreate a file calledtest.pywith the following:fromcicadad.core.decoratorsimportscenariofromcicadad.core.engineimportEngineengine=Engine()@scenario(engine)defmy_first_test(context):# Results of previously run scenarios get passed in as context# Write the body of your test hereassert2+2==4# Anything returned gets saved as a user outputreturn"Passed!"if__name__=="__main__":engine.start()Next, run the test:cicada-distributedrunYou should see Cicada run the test and print something like this
in the console:=========================TestComplete=========================Passed:

*my_first_test======================1passed,0failed=======================---------------------my_first_test:Passed---------------------

TimeTaken:2.018773Seconds
Succeeded:1Loop(s)Failed:0Loop(s)Metrics:my_first_testmetrics───────────────────────────────────────────────────────────────namevalue───────────────────────────────────────────────────────────────runtimesMin:0.118,Median:0.118,Average:0.118,Max:0.118,Len:1results_per_secondsuccess_rate100.0───────────────────────────────────────────────────────────────Example with DockerTo create a test and Dockerfile, create a directory and initialize the test
scripts:mkdirexample-tests
cicada-distributedinit./example-testsYou should see a couple of files:- example-tests
  - test.py
  - DockerfileBefore running tests, you must start a local backend:cicada-distributedstart-clusterWhen you run the commandcicada-distributed run --mode=DOCKER, Cicada will
build an image for the test and start a test runner. You should see the test
runner create a container for the test, scenario, and users when you rundocker ps.Once tests are complete, stop the cluster:cicada-distributedstop-clusterDocumentationDocumentation is available athttps://cicadatesting.github.io/cicada-distributed-docs/docs/introduction/installationDemos are available athttps://github.com/cicadatesting/cicada-distributed-demosCicada Cloud's homepage ishttps://cicada-cloud.webflow.io/HelpIf you have a question, please post it on Stack Overflow with thecicada-distribtuedtag:https://stackoverflow.com/questions/tagged/cicada-distributed.ChatFor quick questions, please feel free to post them on theDiscord server.BugsTo report a bug, add it to the project'sGitHub issue tracker.LicenseCopyright Jeremy Herzog, 2021.Cicada Distributed uses theApache 2.0 license.
Package: cicc-colors
CICC ColorsLibrary of color palettes for CICC WM slides, reports and tables.
CICC调色板可以用于在使用Python生成图表或报告时，能够匹配CICC的颜色模板。Installpip install cicc_colorsHow to Use直接使用模板颜色,颜色使用ppt_x_y来标记,x,y是CICC PPT模板中色版的位置。fromcicc_colorsimportcolorscolors.ppt_1_1>>>Color(203,170,123,255)colors.ppt_1_1.hex()>>>'CBAA7B'colors.ppt_1_1.rgb()>>>(203,170,123)colors.ppt_1_1.normal_rgb()>>>(0.796078431372549,0.6666666666666666,0.4823529411764706)自定义颜色，使用 r,g,b 来定义颜色后使用fromcicc_colorsimportcolorsuser_color=colors.Color(115,30,0)>>>Color(115,30,0)user_color.hex()>>>'731E00'user_color.hex(with_hash=True)>>>'#731E00'user_color.rgb()>>>(115,30,0)user_color.normal_rgb()>>>(0.45098039215686275,0.11764705882352941,0.0)rgb 转 hexfromcicc_colorsimportcolorscolors.RGB2Hex(203,170,123)>>>'CBAA7B'colors.RGB2Hex(203,170,123,with_hash=True)>>>'#CBAA7B'hex 转 rgbfromcicc_colorsimportcolorscolors.Hex2RGB('#FF0FF0')>>>(255,15,240)How to Contribute
Package: cicc-excel
Installpip install cicc_excelHow to Usefromcicc_excel.excelwriterimportExcelWriter# create new writer# default font is 宋体, Arial, Times New Roman# to setup a percentage column, put a % in column name# default col width will adjust by font_sizewb=ExcelWriter('export_file_name.xlsx',ch_font="中文字体",num_font="Number Font",en_font="English Font",first_row_color='#EEECE1',first_row_height=20,font_size=10)#load data into writer in pandas dataframewb.load_data(df)#set highlight columns by name#color in #FFFFFF formatwb.set_hl_col_by_names('col_name','sheet_name','background_color','color')wb.set_hl_col_by_names('col_name2','sheet_name','background_color2','color2')#write dataframe to xlsx filewb.write_data('sheet_name')#hide colswb.hide_col(5,12,'sheet_name')#collapse cols (have a + on top)wb.collapse_col(5,12,'sheet_name')#freeze cellwb.freeze(1,4,'sheet_name')#set hightlight columns for another sheet#default background color is yellowwb.load_data(df2)wb.set_hl_col_by_names('col_name','another_sheet_name')wb.write_data('another_sheet_name')#another sheetwb.load_data(df3)wb.write_data('last_sheet_name')#save filewb.save()
Package: cic-cli
CIC Token Deployment ToolCIC-CLI provides tooling to generate and publish metadata in relation to
token deployments.pipinstallcic-cli[eth]UsageUsing the wizardFirst make sure that you edit the configs below to add your paths for[auth]keyfile_pathand[wallet]keyfileThe configs are located in~/.config/cic/cli/config/# Local
cic wizard ./somewhere -c ~/.config/cic/cli/config/docker

# Test Net
cic wizard ./somewhere -c ~/.config/cic/cli/config/testnetModularSome of the concepts described below assume familiarity with base
concepts of the CIC architecture. Please refer to the appropriate
documentation for more information.To initialize a new token deployment for the EVM:cicinit--targeteth--name<token_name>--symbol<token_symbol>--precision<token_value_precision><settings_folder>To automatically fill in settings detected in the network for the EVM:cicext--registry<contract_registry_address>-d<settings_folder>-i<chain_spec>-p<rpc_endpoint>ethStructure of the componentsCIC-CLI is designed to interface any network type backend. The current
state of the package contains interface to EVM only. Thus, the examples
below are limited to the context of the EVM.DevelopmentRequirementsInstallpoetrySetuppoetry install -E ethRunning the CLIpoetryruncic-hpoetryruncicwizard./somewhere-c./config/dockerImporting a wallet from metamaskExport the accounts private keyInstructionsSave the private key to a fileRuneth-keyfile -k <file> > ~/.config/cic/keystore/keyfile.jsonPort ForwardingInstall Kubectlsudoapt-getupdate
sudoapt-getinstall-yapt-transport-httpsca-certificatescurl
sudocurl-fsSLo/usr/share/keyrings/kubernetes-archive-keyring.gpghttps://packages.cloud.google.com/apt/doc/apt-key.gpgecho"deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main"|sudotee/etc/apt/sources.list.d/kubernetes.list
sudoapt-getupdate
sudoapt-getinstall-ykubectlDownload testnet cluster config fromhttps://cloud.digitalocean.com/kubernetes/clustersMove the config to$HOME/.kube/Runkubectl -n grassroots --kubeconfig=$HOME/.kube/<config_file_name>.yaml get podsCopy the name of the meta pod (e.gcic-meta-server-67dc7c6468-8rhdq)Port foward the meta pod to the local machine usingkubectl port-forward pods/<name_of_meta_pod> 6700:8000 -n grassroots --kubeconfig=$HOME/.kube/<config_file_name>.yamlClone this repository to your local machineRunpoetry install -E ethin the repo rootOpen./cic/config/testnet/config.iniand change[auth]keyfile_path[wallet]key_fileOpen a new terminal and runpoetry run cic wizard -c ./cic/config/testnet ./somewhereTestspoetry run pytest
Package: cicd-test
CICD Automation TestsVeracode SCA ResultsVeracode SAST ResultsScan Date & TimeDec 17 2019 03:36AM UTCVulnerable Libraries0High Risk Vulnerabilities0Medium Risk Vulnerabilities0Low Risk Vulnerabilities0Scan DateDec 16 2019Very High Risk Vulnerabilities0High Risk Vulnerabilities0Medium Risk Vulnerabilities0Low Risk Vulnerabilities0
Package: cicd-test-ziyan
FBPCS (Facebook Private Computation Service)Secure multi-party computation(also known as secure computation, multi-party computation (MPC), or privacy-preserving computation) is a subfield of cryptography with the goal of creating methods for parties to jointly compute a function over their inputs while keeping those inputs private.FBPCS (Facebook Private Computation Service) is a secure, privacy safe and scalable architecture to deploy MPC (Multi Party Computation) applications in a distributed way on virtual private clouds.FBPCF(Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCS is for scaling MPC computation out viaPrivate Scalingarchitecture. FBPCS consists of various services, interfaces that enalbe various private measurement solutions, e.g.Private Lift.Private Scalingresembles the map/reduce architecture and is secure against a semi-honest adversary who tries to learn the inputs of the computation. The goal is to secure the intermediate output of each shard to prevent potential privacy leak.Installation Requirements:Prerequisites for working on Ubuntu 18.04:An AWS account (Access Key ID, Secret Access Key) to use AWS SDK (boto3 API) in FBPCSpython >= 3.8python3-pipInstalling prerequisites on Ubuntu 18.04:python3.8sudoapt-getinstall-ypython3.8python3-pipsudoapt-getinstall-ypython3-pipInstalling fbpcsgitclonehttps://github.com/facebookresearch/FBPCS.gitcdFBPCS
sudopython3-mpipinstall-e.--userArchitectureServices:MPCService is the public interface that provides APIs to distribute a MPC application with large dataset to multiple MPC workers on cloud.Other componentsJoin the FBPCS communityWebsite:https://github.com/facebookresearch/fbpcsSee theCONTRIBUTINGfile for how to help out.LicenseFBPCS isMITlicensed, as found in the LICENSE file.
Package: cicdwithtravis
Sample Flask app for Getting Started with Travis CI Course at PluralsightThis app is a simple nlp-based question-answering with web interface, based onhttps://sweetcode.io/flask-app-github-travis-heroku/, and extended on the travis side to test in parallel multiple OS, multiple versions and have multiple types of deployment.For each module in the course just rungit checkout MODULE{MODULE_NUMBER}-DEMO{DEMO_NUMBER}, for example,git checkout module4-demo1, and you will be at the point of the recording.For any question, don't hesitate to leave an issue here, send me an email (axel.sirota@gmail.com) or tweet me (@AxelSirota)!
Package: cicero
CiceroServing presentation slides written in Markdown:https://cicero.xyzIn the background uses:remark, a
simple, in-browser, markdown-driven slideshow tool created byOle
Petter Bang.reveal.js, created byHakim El Hattaband contributors.Documentationhttps://cicero.readthedocs.ioChangelogAuthorsRadovan Bast(idea, pilot implementation, and
plumbing)Ole Martin Bjørndalen(local preview
and Blueprint solution)Roberto Di Remigio(MathJax support,
local templating idea, slide splits)ContributionsJyry Suvilehto(setup.py script)Martti Louhivuori(first version of the
JavaScript and configuration customization)
Package: cicero-coder
package_nameDescription.
The package cifra_cesar is used to:
- Crypt words and phrases by Caesar's Cipher
- Decrypt words and phrases written in Caesar's Cipher.InstallationUse the package managerpipto install package_namepipinstallpackage_nameUsagefromcodificador.cifraCesar.encodeimportencode_phrasephrase='Hello World'# This function crypt the phrase 'Hello World'crypt_phrase=encode_phrase(phrase)print(crypt_phrase)It'll return:KHOOR ZRUOGfromcodificador.cifraCesar.encodeimportdecode_phrase#The inverse occours when we use the funcion decode_phraseAuthorCícero Hitzschky, @cicero.hitzschkyLicenseMIT
Package: ciceroscm
This is the python version of the CICERO-SCM simple climate model/emulator.The Cicero Simple Climate model was first developed over 20 years ago and has been in use at Cicero with various updated ever since. Broadly speaking, it goes from global emissions to concentrations, to radiative forcing to global temperature change. The model can beshort circuited to start at any of these inputs, running directly from forcing or concentrations rather than all the way. However, for shortlived forcers, forcing is calculated directly from emisssions, so emissions need to be supplied even in a concentration driven run.The model includes a carbon cycle model introduced in a 1996 paper by Joos et al. The interplay between CO2, CH4 and N2O has been updated according to the 2016 work of Etminan et al. Otherwise, simplified impulse response functions take Tg emissions to concentrasions using lifetimes.Natural emissions of CH4 and N2O should be time variable and tuned in order to fit historical evolution.The forcing to temperature calculation is acheived via the 1992 Schlesinger upwelling diffusion model, calculating energy balance in a default set of 40 layered ocean with a box atmosphere for each hemisphere. Both forcing calculations and energy budget can be tuned using various user supplied parameters.Currently, this is a fairly faithful python rendering of the pre-existing fortran model, albeit with some added flexibility, some AR6 updates, and a couple of bugfixes.
Package: cicflowmeter
Python CICFlowMeterThis project is not maintained actively by me. If you found something wrong (bugs, incorrect results) feel free to create issues or pull requests.Installationgitclonehttps://github.com/hieulw/cicflowmetercdcicflowmeter
poetryinstallUsageusage:cicflowmeter[-h](-iINPUT_INTERFACE|-fINPUT_FILE)[-c][-v]output

positionalarguments:outputoutputfilename(inflowmode)ordirectory(insequencemode)options:-h,--helpshowthishelpmessageandexit-iINPUT_INTERFACEcaptureonlinedatafromINPUT_INTERFACE-fINPUT_FILEcaptureofflinedatafromINPUT_FILE-c,--csvoutputflowsascsv-v,--verbosemoreverbosityConvert pcap file to flow csv:cicflowmeter -f example.pcap -c flows.csvSniff packets real-time from interface to flow csv: (need root permission)cicflowmeter -i eth0 -c flows.csvReferences:https://www.unb.ca/cic/research/applications.html#CICFlowMeterhttps://github.com/ahlashkari/CICFlowMeter
Package: ciciol
Ciciòl======Ciciòl aims to be a simple but extremely customizable and lightweightnotifier. Was designed to work with Twitter but its plugin-based structuremakes it extendible for any kind of service.Getting Started---------------* Install from PyPi:* ``` pip install ciciol ``` or ``` easy_install ciciol ```* Install from git:* ```git clone https://volpino@github.com/volpino/Ciciol.git```* ```python setup.py install```* Install python-notify for libnotify support* Write your own configuration file* If you want to use twitter just copy the config file in examples/.Get access_key and access_secret with:```ciciol --setup twitter```* Launch ciciol```ciciol```What are handlers?------------------Handlers are plugins for handling sources of information and extractinteresting notifications from them. For example the Twitter handler looksfor new tweets, filters according to what the user specified in the configfile and sends the notification data to one or more backends.What are backends?------------------Backends are plugins for effectively notify the user using various techniques(desktop notifications, emails, IRC, ...).Writing a configuration file----------------------------First of all have look at the examples in examples/Basically in the configuration file you've to specify which handlers andbackends you'd like to use plus optional handler specific configuration.Contribute----------Writing a plugin for Ciciòl is very easy! Start having a look at the existingplugins.Feel free to fork this repo, open issues and send pull requestsDevelopment Status------------------[![Build Status](https://secure.travis-ci.org/volpino/Ciciol.png?branch=develop)](http://travis-ci.org/volpino/Ciciol)
Package: cici-tools
cici-toolsPower tools for CI/CD.Do not use this software unless you are an active collaborator on the
associated research project.This project is an output of an ongoing, active research project. It is
published without warranty, is subject to change at any time, and has not been
certified, tested, assessed, or otherwise assured of safety by any person or
organization. Use at your own risk.UsagebundleFlattenextendskeywords to make zero-dependency GitLab CI/CD files.cicibundle$cicibundle⚡ python-autoflake.yml⚡ python-black.yml⚡ python-build-sdist.yml⚡ python-build-wheel.yml⚡ python-import-linter.yml⚡ python-isort.yml⚡ python-mypy.yml⚡ python-pyroma.yml⚡ python-pytest.yml⚡ python-setuptools-bdist-wheel.yml⚡ python-setuptools-sdist.yml⚡ python-twine-upload.yml⚡ python-vulture.ymlfmtNormalize the style of your GitLab CI/CD files:cicifmt$cicifmt.gitlab-ci.yml formattedupdateUpdate to the latest GitLab CI/CDincludeversions available.ciciupdate$ciciupdateupdated buildgarden/pipelines/python to 0.5.1updated buildgarden/pipelines/gitlab from 0.1.0 to 0.2.2
Package: ciclopibot
CicloPiBot@CicloPiBotis a Telegram bot based ondavtelepotwhich provides information about CicloPi, the public bike-sharing service in Pisa.UsageClient sideSend/start@CicloPiBot, all you need is aTelegram account.Commands/startthe botAsk for/helpfor further informationAsk for/ciclopiinformation"Server" sideYou may choose between method 1 (pip) and method 2 (git).UsingpipInstall ciclopibotpipinstallciclopibotRun ciclopibot as modulepython-mciclopibot-h# Get helppython-mciclopibot<your_token_here>UsinggitClone this repositorygitclonessh://git@gogs.davte.it:8445/Davte/ciclopibot.git# git clone https://gogs.davte.it/Davte/ciclopibot.git# git clone git@github.com:Davte/ciclopibot.git# git clone https://github.com/Davte/ciclopibot.gitRuninstall.sh: it will help you perform the following operations.Put a Telegram bot token in gitignoreddata/passwords.pymodule.To get a token, ask@BotFather.The bot whose token you use will act as@CicloPiBotas long as you run the script.Create a python3.5+ virtual environment and install requirements.Specifypython_virtual_environmentandpython_scriptvariables inmy_config.shRunrun_me.shbashrun_me.sh;You may edit the file and test your code with your bot.Should you be satisfied of your edits enough, you may fork this repository and open a pull request.CreditsDavteis the creator and the main author of this repository.All data are obtained fromCicloPi websiteand are meant to help users save time when using their service. Misuse is discouraged.Minalainspired the idea and gave a first version of this service many years ago with a different implementation.