Saravanan666/pypi-org huggingface dataset:
Package: cf-nlp
# ClowdFlows NLP Module #A [ClowdFlows](https://github.com/xflows/clowdflows/) package, which contains widgets for natural language processing. The package can also be used with [ClowdFlows](https://github.com/xflows/clowdflows/) 2.0.[![Documentation Status](https://readthedocs.org/projects/rdm/badge/?version=latest)](http://clowdflows.readthedocs.io/)Currently, the project contains components for different corpus operations, basic natural language processing operations such as tokenization, stop word removal, lemmatization, part-of-speech tagging, etc. It also has modules for tweet streaming, term extraction and gender classification.## Installation, documentation ##Since three pickled models are too big for github, you have to download the following models manually from external links and add them to the cf_nlp/models/reldi_tagger subfolder in order to make Reldi tagger and Reldi lemmatizer work:http://nlp.ffzg.hr/data/reldi/hr.lexicon.guesserhttp://nlp.ffzg.hr/data/reldi/sr.lexicon.guesserhttp://nlp.ffzg.hr/data/reldi/sl.lexicon.guesserPlease note that because of package size limits the pypi packgage does not include the models, which needs to be added manually. This can be done by downloading the model folder from github (https://github.com/xflows/cf_nlp/tree/master/nlp/models). The three pickled models mentioned above need to be downloaded manually and added to the folder. You can also download a wheel with all the models inside from:http://kt.ijs.si/matej_martinc/cf_nlp-0.0.16-py2-none-any.whlPlease find other installation instructions, examples and API reference on [Read the Docs](http://clowdflows.readthedocs.io/).## Note ##Please note that this is a research project and that drastic changes can be (and are) made pretty regularly. Changes are documented in the [CHANGELOG](CHANGELOG.md).Pull requests and issues are welcome.## Contributors to the cf_nlp package code ##Matej Martinc (@matejMartinc)[Knowledge Technologies Department](http://kt.ijs.si), Jožef Stefan Institute, Ljubljana
Package: cfnmacro
CFN MacroCore/Common lib for all the cfnmacro modulesFree software: Apache Software License 2.0Documentation:https://cfnmacro.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-01)First release on PyPI.
Package: cfn-macro-common
CFN Macro CommonCFN Macro Common LibFree software: Apache Software License 2.0Documentation:https://cfn-macro-common.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-24)First release on PyPI.
Package: cfn-man
cfn-manLook up cloud formation docs from command line.Installationpip install cfn-manExamplesType in words to indicate which documents you are looking forcfn-man security groupYou won't need to type too carefully (powered by Google search)# All three commands below will show the same document
cfn-man auto scaling group
cfn-man asg
cfn-man auato scaligng groudp
Package: cfn-pyplates
Amazon Web Services CloudFormation templates, generated with Python!Where to get ithttps://pypi.python.org/pypi/cfn-pyplates/easy_install cfn-pyplatespip install cfn-pyplatesDocumentationhttps://cfn-pyplates.readthedocs.org/Intended Audiencepyplates are intended to be used with theAmazon Web Services CloudFormationservice. If you’re already a
CloudFormation (CFN) user, chances are good that you’ve already come up with
fun and interesting ways of generating valid CFN templates. pyplates are a
way to make those templates while leveraging all of the power that the python
environment has to offer.What is a pyplate?A pyplate is a class-based python representation of a JSON CloudFormation
template and resources, with the goal of generating cloudformation
templates based on input python templates (pyplates!) that reflect the
cloudformation template hierarchy.FeaturesAllows for easy customization of templates at runtime, allowing one
pyplate to describe all of your CFN Stack roles (production, testing,
dev, staging, etc).Lets you put comments right in the template!Supports all required elements of a CFN template, such as Parameters,
Resources, Outputs, etc.)Supports all intrinsic CFN functions, such as base64, get_att, ref,
etc.Converts intuitiviely-written python dictionaries into JSON templates,
without having to worry about nesting or order-of-operations issues.
Package: cfn_resource
## cfn_resource.pyThis project is a decorator and validation system that takes the drudgery outof writing custom resources. You still have access to the context and event asnormal, but the decorator handles serializing your response and communicatingresults to CloudFormation.See [cfn-lambda](https://github.com/andrew-templeton/cfn-lambda) from AndrewTempleton if you're looking to write your custom resources in Node.js.## Usage1. Copy `cfn_resource.py` into the directory of your lambda function handler.py1. Use the `cfn_resource.Resource` event decorators to decorate your handlerlike in `example.py`1. Zip up the contents and upload to LambdaOnce the function is up, copy its ARN and use it as the ServiceToken for your[custom resource][rsrc]. For more on the requests you may receive, see[this document][reqdocs]```json{"AWSTemplateFormatVersion": "2010-09-09","Resources": {"FakeThing": {"Type": "Custom::MyResource","Properties": {"ServiceToken": "arn:aws:lambda:SOME-REGION:ACCOUNT:function:FunctionName","OtherThing": "foobar","AnotherThing": 2}}}}```For more on how custom resources work, see the [AWS docs][docs]## Code SampleFor this example, you need to have your handler in Lambda set as`filename.handler` where filename has the below contents.```import cfn_resource# set `handler` as the entry point for Lambdahandler = cfn_resource.Resource()@handler.createdef create_thing(event, context):# do some stuffreturn {"PhysicalResourceId": "arn:aws:fake:myID"}@handler.updatedef update_thing(event, context):# do some stuffreturn {"PhysicalResourceId": "arn:aws:fake:myID"}```## Running TestsTo run the tests locally, you need Python 2.7 and `pip`. Ideally, you shoulduse a virtualenv.```$ pip install -r test-requirements.txt$ py.test```The tests use `mock` and `py.test` and will give you a terminal coveragereport. Currently the tests cover ~90% of the (very small) codebase.## LicenseThis code is released under the MIT software license, see LICENSE.txt fordetails. No warranty of any kind is included, and the copyright notice must beincluded in redistributions.[rsrc]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html[docs]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html[reqdocs]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-requests.html
Package: cfn-resource-timeout
cfn-resource-timeoutThis project is a decorator and validation system that takes the
drudgery out of writing custom resources. You still have access to the
context and event as normal, but the decorator handles serializing your
response and communicating results to CloudFormation.Seecfn-lambdafrom
Andrew Templeton if you’re looking to write your custom resources in
Node.js.UsageCopycfn_resource.pyinto the directory of your lambda functionhandler.py, which can be done by installing withpip.Use thecfn_resource.Resourceevent decorators to decorate your
handler like inexample.pyZip up the contents and upload to LambdaOnce the function is up, copy its ARN and use it as the ServiceToken for
yourcustom
resource.
For more on the requests you may receive, seethis
document{"AWSTemplateFormatVersion":"2010-09-09","Resources":{"FakeThing":{"Type":"Custom::MyResource","Properties":{"ServiceToken":"arn:aws:lambda:SOME-REGION:ACCOUNT:function:FunctionName","OtherThing":"foobar","AnotherThing":2}}}}For more on how custom resources work, see theAWS
docsCode SampleFor this example, you need to have your handler in Lambda set asfilename.handlerwhere filename has the below contents.importcfn_resource# set `handler` as the entry point for Lambdahandler=cfn_resource.Resource()@handler.createdefcreate_thing(event,context):# do some stuffreturn{"PhysicalResourceId":"arn:aws:fake:myID"}@handler.updatedefupdate_thing(event,context):# do some stuffreturn{"PhysicalResourceId":"arn:aws:fake:myID"}@handler.deletedefdelete_thing(event,context):# do some stuffreturn{"PhysicalResourceId":"arn:aws:fake:myID"}Running TestsInstall and runtox:toxThe tests usemockandpytestand will give you a terminal
coverage report. Currently the tests cover ~90% of the (very small)
codebase.LicenseThis code is released under the MIT software license, see LICENSE.txt
for details. No warranty of any kind is included, and the copyright
notice must be included in redistributions.HistoryPending Release(Insert new release notes below this line)1.2.0 (2017-05-03)Move fromurllibtorequeststo fix some encoding errors on Python 31.1.0 (2017-04-27)Added Python 3 compatibility1.0.0 (2017-03-22)Forked from RyanSB to Time Out.Allow rescheduling - by raising the new built-inNoResponseexception, a
resource can avoid sending any messing to CloudFormation. This is to support
Lambda functions that take >300 seconds to execute and thus reschedule
themselves.0.2.2 (2016-01-29)Last versionby RyanSB.
Package: cfnresponse
cfnresponseThis package contains the Amazon Web Services (AWS) cfnresponse module which is
available in Python AWS Lambda environments.The code for this module can be foundin the Lambda Function Code documentationand in theawslabs GitHub repoYou can compare the code inawslabswith this pypi package with this commandif [ "$(curl -s https://raw.githubusercontent.com/awslabs/aws-cloudformation-templates/master/aws/services/CloudFormation/MacrosExamples/StackMetrics/lambda/cfnresponse.py | sha256sum)" = "$(curl -s https://raw.githubusercontent.com/gene1wood/cfnresponse/master/cfnresponse/__init__.py | sha256sum)" ]; then echo "GitHub matches AWS"; fi
if [ "$(curl -s https://raw.githubusercontent.com/awslabs/aws-cloudformation-templates/master/aws/services/CloudFormation/MacrosExamples/StackMetrics/lambda/cfnresponse.py | sha256sum)" = "$(wget --quiet https://files.pythonhosted.org/packages/91/1c/99d3119ee59205ef321e48ecaf3a3bb92fe6de6d3d5ec296e9025975061c/cfnresponse-1.1.1-py2.py3-none-any.whl && unzip -p cfnresponse-1.1.1-py2.py3-none-any.whl cfnresponse/__init__.py | sha256sum && rm cfnresponse-1.1.1-py2.py3-none-any.whl)" ]; then echo "Pypi matches AWS"; fiThis moduleused to use the vendored version ofrequestsprovided bybotocorebut this changed inApril 2020to instead useurllib3asbotocore.vendored.requestswas removed.
Package: cfnresponse2
Streamline AWS CloudFormation Custom Resource Management with Python'scfnresponse2Simplify the management of custom resources in AWS CloudFormation, especially within AWS Lambda environments, using thecfnresponse2Python package.InstallationYou can effortlessly install thecfnresponse2package via pip:pipinstallcfnresponse2Alternatively, you have the option to download it directly or upload it to Amazon S3:importurllib3,sys,ossys.path.append("/tmp")raw_url="https://raw.githubusercontent.com/ggiallo28/cfnresponse/master/cfnresponse/__init__.py"withopen("/tmp/cfnresponse.py","wb")asf,urllib3.PoolManager()ashttp:f.write(http.request("GET",raw_url).data)fromcfnresponseimportregister_handler,lambda_handler@register_handler("create","update","delete")defmyfun(event,context):return{}Practical Use Casescfnresponse2is designed with AWS Lambda functions in mind, serving as custom resource handlers in CloudFormation stacks. It simplifies CloudFormation operations such as creating, updating, and deleting custom resources. This empowers you to execute custom logic during stack operations.For comprehensive examples showcasing effective usage of thecfnresponse2package, explore thesamplesdirectory within the repository. These samples cover various scenarios of custom resource management within CloudFormation.fromcfnresponseimportregister_handler,lambda_handler@register_handler("create")defcustom_create(event,context):# Your custom logic for handling the 'create' actionresponse_data={"message":"Resource creation successful"}returnresponse_data@register_handler("update")defcustom_update(event,context):# Your custom logic for handling the 'update' actionresponse_data={"message":"Resource update successful"}returnresponse_data@register_handler("delete")defcustom_delete(event,context):# Your custom logic for handling the 'delete' actionresponse_data={"message":"Resource deletion successful"}returnresponse_dataRepository StructureThe project repository is organized as follows:cfnresponse: Houses the__init__.pyfile, serving as the core of thecfnresponse2module.LICENSE: Contains licensing information associated with the package.README.md: The document you are currently reading, offering essential instructions for usage.samples: Contains sample Lambda functions that provide practical demonstrations ofcfnresponse2usage. The actual code resides in the repository, not within this README.setup.py: A configuration file for setting up the package.tests: Contains test cases tailored to evaluate the functionality of thecfnresponse2package.Important Notecfnresponse2maintains compatibility with Amazon Web Services (AWS)cfnresponsemodule, readily available within Python AWS Lambda environments. You can seamlessly update your code with this package, ensuring a smooth transition without disruptions.
Package: cfn-sync
Deploy CloudFormation stacks synchronously using syntax similar toaws cloudformation deploy, and watch the events
scroll until the create or update completes.InstallationInstall using pip/pypi:pip install cfn-syncUsageDeploying (creating or updating) a stack:cfn-sync deploy \
  --stack-name <STACK_NAME> \
  --template-file <FILE_PATH> \
  [--parameter-overrides <KEY=VALUE> [<KEY=VALUE>...]] \
  [--tags <KEY=VALUE> [<KEY=VALUE>...]] \
  [--capabilities <VALUE> [<VALUE>...]]Deleting a stack:cfn-sync delete --stack-name <STACK_NAME>
Package: cfntool
A tool to Create and Delete Cloudformation stacks easily.
Uses credentials from your~/.aws/credentialsfile via boto3Install$ python3 -m pip install cfntool --userUsagecfn [-options]

options:
    -h This help
    -m parameter list string:
          'something=somevalue,somethingelse=someothervalue'
    -P profile to use to install the stack (not required if 'all' is chosen)

required options:
    -a account name
    -n name of stack
    -p product tag
    -t full path to Cloudformation template to use

All actions are mutually exclusive
you must provide one action

Actions:
    -A install/update all accounts
    -D delete named stack
    -I install/update the named stack
    -S status of named stack

if you provide more than one action, the last one on the
command line 'wins'.ExamplesCreate a stack from a yaml template:$ cfn -I -p mytool -P myaccountalias -m myaccount -n myStackName \
    -t ~/src/mystack.yaml -m 'LambdaVersion=0.0.2,Owner=SRE'

06/03/2020 08:40:05 [INFO ]  profile: myaccountalias, account id 1234567890, account name myaccount
06/03/2020 08:40:06 [ERROR]  stack: myStackName does not exist
06/03/2020 08:40:06 [WARNI]  stack myStackName does not exist (anymore)
06/03/2020 08:40:06 [INFO ]  creating stack myStackName
06/03/2020 08:41:47 [INFO ]  Stack myStackName is CREATE_COMPLETEStatus of named stack:$ cfn -S -P myaccountalias -n myStackName

06/03/2020 08:42:14 [INFO ]  stack myStackName is status: CREATE_COMPLETEDelete a stack:$ cfn -D -P myaccountalias -n myStackName

06/03/2020 08:44:39 [INFO ]  Stack myStackName is CREATE_COMPLETE
06/03/2020 08:44:39 [WARNI]  deleting stack: myStackName
06/03/2020 08:46:20 [ERROR]  stack: myStackName does not exist
06/03/2020 08:46:20 [WARNI]  stack myStackName does not exist (anymore)
06/03/2020 08:46:20 [INFO ]  stack myStackName is status: None
Package: cfn-tools
cfn-toolsGitHub:https://github.com/boroivanov/cfn-toolsPyPI:https://pypi.python.org/pypi/cfn-toolsTools for AWS CloudFormationlist stacksdiff a stack and a templatediff two stacksvalidate a templateInstallationpipinstallcfn-toolsUsageList stacks:cfn-toolslscfn-toolslsNAME# Filter stacks by status.
# Returns stacks which status contains the filter string.
# Deleted stacks are not returned by default. Use `-f delete` to get those.cfn-toolsls-fcreatecfn-toolsls-frollbackNAMEcfn-toolsls-fprogressNAME# Filter out stacks by status.
# Deleted stacks are not returned by default.cfn-toolsls-f\!createNAMEDiff Stacks/Templates:cfn-toolsdiffTEMPLATESTACKcfn-toolsdiffSTACK1STACK2cfn-toolsdiff-rus-west-2STACK1-r2us-east-1STACK2Validate a template:cfn-toolsvalidateTEMPLATECreditsHuge thanks to@stefansundinand@dstokes
Package: cfn-transform
CFN-TRANSFORMInstallation and Quick StartPre-Requisitescfn-transformrequires python 3.7 or greatercfn-transformis installed via pipInstallationThe recommended and tested way fo installing cfn-transform is via pip.cfn-transform can be installed using the following command:pip install cfn-transformQuick UsageOnce you have your cfn-transform installed, you are now free to utilize our PyPi.Run either of the following commands to view our current supported options for cfn-transform.cfn-transform --helpOverviewWhat is cfn-transformCfn-transform is a command-line utility used to return transformed SAM templates.With cfn-transform , you are able to return a fully transformed SAM template either to the command line or directly to a file. Unlike other tools for returning transformed files, cfn-transform does not require any AWS credentials and can be ran locally on your machine.How does it work?Cfn-transform works by utilizing the functionality of the decode command withincfn-lint. The current linter creates the transformed template usingaws-sam-cli.samtranslatorand checks it to make sure that it is a valid template. Cfn-transform uses the same translator, and returns it to be displayed for the user. Similarly to the process used in cfn-lint, the current library returns a default transformation for the regionus-east-1.FeaturesCommands currently supported :cfn-transform [example.json]
cfn-transform [example.yaml]Base command to return transformed to command lineCommand Options currently supported :cfn-transform [example.json] -f [text.txt]
cfn-transform [example.yaml] --file [text.txt]Option to attach to return transformed to a specified text file
Package: cfod
Utililes for CHIME/FRB Open Data Releases.Installationpip install --user cfod

# To install with pandas support,
pip install --user cfod[pandas]DocumentationCheck out the user documentation,hereDeveloper# cfod uses poetry for package management and virtualenv management
pip install poetry

git clone git@github.com:chime-frb-open-data/chime-frb-open-data.git
cd chime-frb-open-data

# Install git-commit hook
poetry run pre-commit install

# Make changes to the code and open a PRRemovalpip uninstall cfod
Package: c-formatter-42
c_formatter_42C language prettier that conforms to 42 norm v3.
I know you are already a good human norm.
It's just for convenience.InstallationRequires Python3.8+ (3.9, 3.10, 3.11)From PyPI$pip3installc-formatter-42$pip3install--userc-formatter-42# If you don't have root privilegesFrom source$gitclonehttps://github.com/cacharle/c_formatter_42$cdc_formatter_42$pip3install-e.UsageCommand line$c_formatter_42<file.c$python3-mc_formatter_42<file.c# If you get 'command not found' with the previous one$c_formatter_42--helpusage: c_formatter_42 [-h] [-c] [FILE [FILE ...]]Format C source according to the normpositional arguments:FILE           File to format inplace, if no file is provided read STDINoptional arguments:-h, --help     show this help message and exit-c, --confirm  Ask confirmation before overwriting any filePlugins / ExtensionsVimCheck out thec_formatter_42.vimplugin. This plugin automatically installs thec_formatter_42package using pip.Visual Studio CodeInstallc_formatter_42Install thekeyhr.42-c-formatextensionSetkeyhr.42-c-formatas the default formatter for C files in.vscode/settings.json{"[c]":{"editor.defaultFormatter":"keyhr.42-c-format"}}ContributingFeel free to report issues or contribute. :)Run the tests$ pip3 install tox
$ tox
$ tox -e py311  # for a specific python versionDeploy a new version$ pip3 install bumpversion
$ bumpversion [major|minor|patch]
$ git push
$ git push --tagsGo to:https://github.com/dawnbeen/c_formatter_42/tagsand click on the tag you just created.
Then click onCreate release from tag, the pipeline will build and deploy that version for you.
Package: cformers
We identify three pillers to enable fast inference of SoTA AI models on your CPU:Fast C/C++ LLM inference kernels for CPU.Machine Learning Research & Exploration front - Compression through quantization, sparsification, training on more data, collecting data and training instruction & chat models.Easy to use API for fast AI inference in dynamically typed language like Python.This project aims to address the third using LLaMa.cpp and GGML.
Package: cfoundation
Framework for building command line interfaces built on top of cementPlease ★ this repo if you found it useful ★ ★ ★FeaturesCreate controllersCreate servicesCustom loggerSupport for spinnersInstallationpipinstallcfoundationDependenciesPython 3UsageContributeusage docsSupportSubmit anissueScreenshotsContributea screenshotContributingReview theguidelines for
contributingLicenseMIT
LicenseJam Risser© 2018ChangelogReview thechangelogCreditsJam Risser- AuthorSupport on LiberapayA ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of
building this project.Add some fuelif you’d
like to keep me going!
Package: cfp
CFP: CloudFormation ParametersCFPis a Python package for building Amazon Web Services CloudFormation stack parameters.Supports cross-region and cross-account Systems Manager Parameter Store look-ups.Renders beautiful, colourful parameter keys and values for your logs.Compatible with Boto3.Unit testable.Read the full documentation atcariad.github.io/cfp.👋 Hello!Hello! 👋 I’m Cariad Eccleston and I’m a freelance DevOps and backend engineer. My contact details are available on my personal wiki atcariad.earth.Please consider supporting my open source projects bysponsoring me on GitHub.
Package: cfpack
Python tools written by Christoph FederrathCopyright notesSee LICENSE file.Main contactChristoph Federrath (christoph.federrath@anu.edu.au)Websitehttps://www.mso.anu.edu.au/~chfeder/codes/cfpack/cfpack.htmlDisclaimerThis software is provided "as is", with use at your own risk. No warranties as to performance, fitness for a particular purpose, or any other warranties are made, whether expressed or implied.
Package: cfpq-data
CFPQ_Data is a Python package for the creation, manipulation, and study of the
structure, dynamics, and functions of complex Graphs and Grammars used for
experimental analysis of Context-Free Path Querying algorithms.Website:https://formallanguageconstrainedpathquerying.github.io/CFPQ_DataTutorial:https://formallanguageconstrainedpathquerying.github.io/CFPQ_Data/tutorial.htmlDocumentation:https://formallanguageconstrainedpathquerying.github.io/CFPQ_Data/reference/index.htmlSource Code:https://github.com/formallanguageconstrainedpathquerying/CFPQ_DataBug Tracker:https://github.com/formallanguageconstrainedpathquerying/CFPQ_Data/issuesExamplesDataset content>>>importcfpq_data>>>cfpq_data.DATASET['skos','wc','generations','travel','univ','atom','biomedical','bzip','foaf','people','pr','funding','ls','wine','pizza','gzip','core','pathways','enzyme','eclass','go_hierarchy','go','apache','init','mm','geospecies','ipc','lib','block','arch','crypto','security','sound','net','fs','drivers','postgre','kernel','taxonomy','taxonomy_hierarchy']Load graph from Dataset>>>bzip_path=cfpq_data.download("bzip")>>>bzip=cfpq_data.graph_from_csv(bzip_path)How to add a new graph?Just createanIssuecorresponding to the“Issue template for adding a new graph”.aPull Requestcorresponding to the“Pull request template for adding a new graph”.