Saravanan666/pypi-org huggingface dataset:
Package: cook-build
Cook is a task-centric build system with simple declarative recipes specified in Python.Getting StartedTasks are declared in arecipe.pyfile using the~cook.manager.create_taskfunction. Each task must have a unique name, may depend on files or other tasks, and can execute an action, typically a shell command. The simple example below creates a C source file, compiles it, and executes the binary.>>> from cook import create_task

>>> create_task("src", targets=["hello.c"],
...             action="echo 'int main() { return 0; }' > hello.c")  # doctest: +IGNORE_RESULT
>>> create_task("cc", dependencies=["hello.c"], targets=["hello"],
...             action="cc -o hello hello.c")  # doctest: +IGNORE_RESULT
>>> create_task("hello", dependencies=["hello"], action="./hello")  # doctest: +IGNORE_RESULTRunningcook lsfrom the command line lists all known tasks, e.g.,:cwd: examples/getting_started

$ cook ls
<task `src` @ /.../recipe.py:3>
<task `cc` @ /.../recipe.py:4>
<task `hello` @ /.../recipe.py:5>Runningcook exec hellocreates the source file, compiles it, and executes the binary (using--log-level=debugcan provide additional information).:cwd: examples/getting_started
:stderr:

$ cook exec hello
INFO: executing <task `src` @ /.../recipe.py:3> ...
INFO: completed <task `src` @ /.../recipe.py:3> in 0:00:...
INFO: executing <task `cc` @ /.../recipe.py:4> ...
INFO: completed <task `cc` @ /.../recipe.py:4> in 0:00:...
INFO: executing <task `hello` @ /.../recipe.py:5> ...
INFO: completed <task `hello` @ /.../recipe.py:5> in 0:00:...To rerun a task, tell Cook to reset it.:cwd: examples/getting_started
:stderr:

$ cook reset cc
INFO: reset 1 taskThe full set of available commands can be explored usingcook --helpas shown below.Tasks Are Dumb; Contexts Are Smart~cook.task.Tasks do not provide any functionality beyond storing metadata, includingtargets, the files generated by the task,dependencies, the files the task depends on,action, the~cook.actions.Actionto execute when the task is run,task_dependencies, other tasks that should be executed first,location, filename and line number where the task was defined.All logic is handled by~cook.contexts.Contexts which are applied to each task when it is created. For example,~cook.contexts.create_groupadds all tasks created within the context to a group. This group can be executed to execute all child tasks.
Package: cook-client-api
The Cook Scheduler Python Client APIThis package defines a client API for Cook Scheduler, allowing Python applications to easily integrate with Cook.QuickstartThe code below shows how to use the client API to connect to a Cook cluster listening onlocalhost:12321, submit a job to the cluster, and query its information.fromcookclientimportJobClientclient=JobClient('localhost:12321')uuid=client.submit(command='ls')job=client.query(uuid)print(str(job))
Package: cookdata-convert
Breath of the Wild CookData ConvertConverts CookData (cooking recipes) from machine code to human-readable format and replaces hashed names with strings (or vice versa). For LoZ:BotWDependenciesA dumped copy of Legend of Zelda: Breath of the Wild (for Wii U or Switch)Python 3.7+ (64-bit, added to system PATH)The followingpippackages, which will be automatically installed:oeadSetupDownload and install Python 3.7+, 64-bit. You must choose the "Add to System PATH" option during installation.Open a command line and runpip install cookdata_convertHow to UseFirst, navigate to the folder that contains the CookData, then run one or both of the following functions.Convert CookData.sbyml to YAML:cookdata_convert ymlymlcan be replaced withyConvert CookData.yml to SBYML:cookdata_convert sbyml [-b]sbymlcan be replaced withs-b- Use big-endian mode. For deleting flags for Wii U.ContributingIssues:https://github.com/GingerAvalanche/cookdata_convert/issuesSource:https://github.com/GingerAvalanche/cookdata_convertThis software is in early, but usable, beta. There are several variable types that are not yet handled, and several cases that are not handled for the variable types that are handled. Feel free to contribute in any way.LicenseThis software is licensed under the terms of the GNU Affero General Public License, version 3+. The source is publicly available on Github.
Package: cookdir
cookdirInitializing directories and files by recipe(template)Installationpip install cookdirFunctions:create directories and files by a template name or a self-defined template yaml file.Usage:cookdir cook pypkg pkgname --destination=your_pathcookdir cook template_file_path namelist all existing template, or show the content of a particular templateUsage:cookdir listcookdir list pypkgtemplate shortcutsupport file content template so files will be initilized with some content rather than emptyTemplate:A template file looks like:# this template is used for python package

DEFAULT:
  - DEFAULT:
    - __init__.py
  - tests
  - setup.py: pypkg_setup.tplA string followed by a colon means it is parent directory of the directories/files.
Strings following "-" means these directories are in the same level.
A filename followed by a colon and another template file means that the file will be initiated with the content in the template.You can easily defined your own recipe(template) according the rules.Wanting:Anyone who has some useful recipe(template) can commit PR, and anyone has some function suggestion can commit PR or issues.I appreciate all of you.
Package: cooked-input
Cooked Input Projectcooked_inputis a Python package for getting, cleaning, converting, and validating input.
If you think of input (raw_input in legacy Python) as raw input, then this is cooked input.cooked_inputprovides a simple and safe way to get validated command line input that ranges from the simplest
of Python programs to sophisticated database driven applications. Beginner’s can use the provided convenience classes
to get simple inputs from the user. Following thequick start guideyou can be up and running in minutes.More advanced users can easily create custom classes for sophisticated cleaning and validation.Cooked_inputcan
also be used to create menus and data tables. The latter tutorials (part oneandpart two) and examples show several examples ranging from
simple to sophisticated calls.Cooked_inputalso provides a pathway to use the same cleaning and validation logic used in the command line
for validating web or GUI based inputs.DocumentationThe documentation is available at:http://cooked-input.readthedocs.io/en/latest/Python 2/3 Supportcooked_input has been tested on Python: 2.7. 3.5+Installationpip install cooked_inputProject PageProject information and source code is available at:https://github.com/lwanger/cooked_inputTutorialThe best way to get started is to read the quick start at:http://cooked-input.readthedocs.io/en/latest/quick_start.htmlAfter that, more advanced usage can be learned from the tutorial at:http://cooked-input.readthedocs.io/en/latest/tutorial.html
Package: cookie2json
Cookie2Json这是一个将Chrome里的cookie文本转为Json的程序
使用方法：# Usage:importcookie2jsoncookie2json.format(<PutCookieHere>)Cookie格式：# Cookie Format
cookie: aa:11; ccc:22另一种用法：# Another Usagepython-mcookie2json"<PutCookieHere>"
Package: cookieAI
snj@snj-ThinkPad-T440p:~/coookieAI$ touch readme.mdsnj@snj-ThinkPad-T440p:~/coookieAI$ touch setup.pysnj@snj-ThinkPad-T440p:~/coookieAI$ python -m pip install –-user –-upgrade setuptools wheelsnj@snj-ThinkPad-T440p:~/coookieAI$ pip install -U pipsnj@snj-ThinkPad-T440p:~/coookieAI$ pip install 'setuptools<20.2'snj@snj-ThinkPad-T440p:~/coookieAI$ python3 setup.py sdist bdist_wheelsnj@snj-ThinkPad-T440p:/coookieAI$ python3 setup.py sdist bdist_wheel
snj@snj-ThinkPad-T440p:/coookieAI$ pip install -e .snj@snj-ThinkPad-T440p:/coookieAI$ python3 -m pip install --user --upgrade twine
snj@snj-ThinkPad-T440p:/coookieAI$ python -m twine upload — repository pypi dist/*
snj@snj-ThinkPad-T440p:/coookieAI$ python3 -m twine upload --repository testpypi dist/* --verbose
snj@snj-ThinkPad-T440p:/coookieAI$ python3 -m twine upload --repository pypi dist/* --verbose
Package: cookiecache
CookieCacheSimplify getting and using cookies from the browser to use in Python.NOTE: All the logic to interface with the browsers is done by theBrowser Cookie 3library.This code wraps that BrowserCookie3 in a CLI and library that caches
the selected cookies as JSON to disk, so they can be transferred to
other machines, or be used again without having to interactivly
re-enter MacOS user credentials.InstallpipinstallcookiecacheUsageThe idea is you run cookiecache once (either as a cli tool or as a library), and
then cache the cookies to JSON on disk. Then the next time you run the same thing, cookiecache
will look in the JSON file first, and only get fresh cookies from the browser if they have expired.CLIExamples:# Get github session cookies and save to diskcookiecache--domain"github.com"--cookie"_gh_sess"--filename"cookies.json"# Get all github cookies in Netscape/Mozilla format to use with curl, et.c:cookiecache--domain"github.com"--filename"cookies.txt"--curl# All options:cookiecache--helpLibraryTo use cookiecache as a library callload()with arguments similar to
the cli:importcookiecache# Get github session cookies and save to disk# After the first run this will load the cookies# from disk first, and only get them from the brower# if they have expiredcookies=cookiecache.load(domain="github.com",cookie="_gh_sess",filename="cookies.json",)# Load all cookies from JSON file from another machine, ie.# Don't attempt to refresh or get cookies from this machinecookies=cookiecache.load(filename="cookies.json",check_expiry=False)# Get cookies only from Chrome, and don't read or save to diskcookies=cookiecache.load(domain="github.com",browser="chrome",)# Convert cookies from cookiecache to a flat key-value# pair to use with Requestscookies=cookiecache.load(domain="github.com")cookies_flat=cookiecache.flatten_cookies(cookies)reqeusts.get("http://github.com",cookies=cookies_flat)
Package: cookie-composer
Cookie ComposerDocumentation:https://callowayproject.github.io/cookie-composer/Cookie composer builds on thecookie cutterproject to generate projects based on one or more cookiecutter templates.GoalsCreate new projects from a composition of several templatesAdd new capabilities to an existing repository by applying a templateApply template updates to the generated projectIntroductionCookie Cutter treats templates like sandwiches. There are templates for hamburgers, clubs, and any other kind of sandwich you can dream up. You might have options and defaults on a template, likeHold the mustard?[False]:orMustard type [dijon]:, but those are decided by the template author.If you look closely at the sandwiches (templates), there is usually many things in common. What if we treated the templates as compositions of other templates:You now can manage several smaller and specialized templates that provide functionality. Each template's options will be specific to what that template needs.Cookie Composer uses a composition file to describe the layers required, and even override a template's default answers.template:bottom-buncontext:toasting_level:lightbuttered:False---template:burger---template:cheesecontext:kind:swiss---template:baconcontext:cooking_level:crispy---template:ketchup---template:mustardcontext:type:yellow---template:top-buncontext:toasting_level:lightbuttered:FalseWe have createda repo of highly composable templatesas examples or reference. However, Cookie Composer is designed to handle any Cookie Cutter template.PurposeSeparate out parts to a repo into composable templatesBoilerplateREADME, CONTRIBUTING, docs, Makefile, license, tooling configurationsProject-specificDjangoFlaskLibraryData scienceCI/CD specificHelm chartGitHub Actions vs. Jenkins vs. ...Documentation specificSphinxMkDocsEach composable template is managed and updated individuallyA project can update itself based on chages in layersPlease contributeDocumentation critiquesDocumentation suggestionsFeature suggestionsFeature improvementsEdge case identificationCode improvements
Package: cookiecutter
CookiecutterCreate projects swiftly fromcookiecutters(project templates) with this command-line utility. Ideal for generating Python package projects and more.DocumentationGitHubPyPILicense (BSD)InstallationInstall cookiecutter using pip package manager:# pipx is strongly recommended.
pipx install cookiecutter

# If pipx is not an option,
# you can install cookiecutter in your Python user directory.
python -m pip install --user cookiecutterFeaturesCross-Platform:Supports Windows, Mac, and Linux.User-Friendly:No Python knowledge required.Versatile:Compatible with Python 3.7 to 3.12.Multi-Language Support:Use templates in any language or markup format.For UsersQuick StartThe recommended way to use Cookiecutter as a command line utility is to run it withpipx, which can be installed withpip install pipx, but if you plan to use Cookiecutter programmatically, please runpip install cookiecutter.Use a GitHub template# You'll be prompted to enter values.# Then it'll create your Python package in the current working directory,# based on those values.# For the sake of brevity, repos on GitHub can just use the 'gh' prefix$pipxruncookiecuttergh:audreyfeldroy/cookiecutter-pypackageUse a local template$pipxruncookiecuttercookiecutter-pypackage/Use it from Pythonfromcookiecutter.mainimportcookiecutter# Create project from the cookiecutter-pypackage/ templatecookiecutter('cookiecutter-pypackage/')# Create project from the cookiecutter-pypackage.git repo templatecookiecutter('gh:audreyfeldroy//cookiecutter-pypackage.git')Detailed UsageGenerate projects from local or remote templates.Customize projects withcookiecutter.jsonprompts.Utilize pre-prompt, pre- and post-generate hooks.Learn MoreFor Template CreatorsUtilize unlimited directory nesting.Employ Jinja2 for all templating needs.Define template variables easily withcookiecutter.json.Learn MoreAvailable TemplatesDiscover a variety of ready-to-use templates onGitHub.Special Templatescookiecutter-pypackagecookiecutter-djangocookiecutter-pytest-plugincookiecutter-plone-starterCommunityJoin the community, contribute, or seek assistance.Troubleshooting GuideStack OverflowDiscordFile an IssueContributorsContribution GuideSupportStar us onGitHub.Stay tuned for upcoming support options.FeedbackWe value your feedback. Share your criticisms or complaints constructively to help us improve.File an IssueWaiting for a Response?Be patient and consider reaching out to the community for assistance.For urgent matters, contact@audreyfeldroyfor consultation or custom development.Code of ConductAdhere to thePyPA Code of Conductduring all interactions in the project's ecosystem.AcknowledgementsCreated and led byAudrey Roy Greenfeld, supported by a dedicated team of maintainers and contributors.
Package: cookiecutter-autodocs
cookiecutter-autodocsGenerate docs for a cookiecutter template's inputs. Pre-commit hook and github-actionWhy?Cookiecutteris a powerful tool to create templates for all sorts of projects, but
one of its downsides is it relies on a plain JSON file for its input (cookiecutter.json). Because JSON does not allow comments, you cannot
document your inputs without writing the documentation separately.cookiecutter-autodocs allows you to write your Cookiecutter's input as a Toml file, cookiecutter.desc. In this file you can add defaults, info about the variable type,
and a description of each variable.An example cookiecutter.desc[project_slug]default="new_project"description="The name of the project."type="string"[python_version]default="3.11.2"description="What python version to use with this project"type="string"[dev_requirements]default=[]description="What dev requirements does this project have"type="list(string)"[author]default=""description="Who's the author?"type="string"You can then generate acookiecutter.jsonfrom thiscookiecutter.descfile.cookiecutter-autodocsgeneratecookiecutter-icookiecutter.decs-ocookiecutter.json
catcookiecutter.json{"project_slug":"new_project","python_version":"3.11.2","dev_requirements":[],"author":""}You can also use thecookiecutter.descfile to generate additional documentation, like a markdown table:cookiecutter-autodocsgeneratemarkdown-icookiecutter.desc

+-----------------------------------------------------------------------------------------------+|name|description|default|type|required|+----------------+--------------------------------------------+-----------+------------+--------+|project_slug|Thenameoftheproject.|new_project|string|False|+----------------+--------------------------------------------+-----------+------------+--------+|python_version|Whatpythonversiontousewiththisproject|3.11.2|string|False|+----------------+--------------------------------------------+-----------+------------+--------+|dev_requirements|Whatdevrequirementsdoesthisprojecthave|[]|list(string)|False|+----------------+--------------------------------------------+-----------+------------+--------+|author|Who'stheauthor?||string|True|+-----------------------------------------------------------------------------------------------+InstallationCLIpipinstallcookiecutter-autodocsDocumentationSeeReadTheDocsfor usage and more detailed documentation.ContributingContributions are very welcome.
To learn more, see theContributor Guide.ContributorsThanks go to these wonderful people (emoji key):Andrew🤔💻⚠️📖This project follows theall-contributorsspecification. Contributions of any kind welcome!
Package: cookiecutter-cpp
Cookiecuttertemplate for a C++ package.GitHub repo:https://github.com/grhawk/cookiecutter-cpp/Documentation (this is for cookiecutter-pypackage):https://cookiecutter-pypackage.readthedocs.io/Free software: BSD licenseCreditsThis is basically a fork ofCookiecutter.FeaturesManaging dependencies withConan, theCMake-Conan-Integration, andCLion.Integration with the Conan plugin ofCLion.No need to executeConancommands (everything run with CMake).Provide the possibility to choose between the unit test frameworkCatch2andGoogleTest.ProvideCLI11out-of-the-box (if requested).Providespdlogout-of-the-box (if requested).Circleci: Ready for Circleci Continuous Integration testinghdocdocumentation: TODO!bump2version: TODO!QuickstartInstall the latest Cookiecutter if you haven’t installed it yet (this requires
Cookiecutter 1.4.0 or higher):pip install -U cookiecutterGenerate a Python package project:cookiecutter https://github.com/grhawk/cookiecutter-cpp.gitEnter the newly generated folder. Make sure theConanprofile is configured:conan profile listIf you don’t have aConanprofile, you can create one withconan profile detect –force.
At this point, according toCMake-Conan-Integration, you can run:mkdir build && cd build;
cmake -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=cmake/conan_provider.cmake ..
cmake --build .This will prepare the needed C++ libraries and compile the example code.
You can now test the compiled code:./sandbox/cpp_boilerplate-sandboxand run the unittests:ctestThe created folder is already a git repo that you can push on github and has already a basic CI implemented to test
the code with CircleCI.For more details, see thecookiecutter-pypackage tutorial.Not Exactly What You Want?Don’t worry, you have options:Fork This / Create Your OwnIf you have differences in your preferred setup, I encourage you to fork this
to create your own version. Or create your own; it doesn’t strictly have to
be a fork.Once you have your own version working, add it to the Similar Cookiecutter
Templates list above with a brief description.It’s up to you whether or not to rename your fork/own version. Do whatever
you think sounds good.ContributingFork the project.Edit whatever you feel like.Describe the changes on the “unreleased” tag in the CHANGELOG.md.Create a Merge Request to themainbranch.Once a new branch has been merged, it is enough to create a new semver tag to generate a new version of the cookiecutter repo.
Package: cookiecutter-django-backend
Cookiecutter Django BackendA cookiecutter for create a simple and standard Django project with everything necessary for a backend. Unlike other
cookiecutters, it is less intrusive.Install or update Cookiecutter to the latest version:$ pip install -U cookiecutterCreate your new project using this cookiecutter:$ cookiecutter https://github.com/Nekmo/djangocookiecutter-django-backendOr use the abbreviation (see below):$ cookiecutter djFeaturesFor Django 2.0+Docker support using docker-compose.Secure by default. With HTTPS Nginx config and Let’sEncrypt.Develop and production settingsReady for Celery and Django Rest Framework.Deployment using Ansible and Docker.Customize your default optionsThere are certain options that are always repeated every time cookiecutter is executed. Create a.cookiecutterrcfile in your user directory:default_context:author_name:Nekmogithub_user:Nekmoemail:myemail@nekmo.comopen_source_license:MITtimezone:Europe/Madridabbreviations:dj:https://github.com/Nekmo/cookiecutter-django-backendgh:https://github.com/{0}.git
Package: cookiecutter-drf-microservice
Welcome to cookiecutter-drf-microservice documentation!.. image::https://api.travis-ci.org/alainivars/cookiecutter-drf-microservice.svg?branch=master:target:http://travis-ci.org/alainivars/cookiecutter-drf-microservice:alt: Build status.. image::https://coveralls.io/repos/github/alainivars/cookiecutter-drf-microservice/badge.svg?branch=master:target:https://coveralls.io/github/alainivars/cookiecutter-drf-microservice?branch=master:alt: Test coverage status.. image::https://requires.io/github/alainivars/cookiecutter-drf-microservice/requirements.svg?branch=master:target:https://requires.io/github/alainivars/cookiecutter-drf-microservice/requirements/?branch=master:alt: Requirements Status.. image::https://img.shields.io/pypi/dm/cookiecutter-drf-microservice.svg:target:https://pypi.python.org/pypi/cookiecutter-drf-microservice/:alt: pypi download.. image::https://img.shields.io/pypi/pyversions/cookiecutter-drf-microservice.svg:target:https://pypi.python.org/pypi/cookiecutter-drf-microservice/:alt: python supported.. image::https://img.shields.io/pypi/l/cookiecutter-drf-microservice.svg:target:https://pypi.python.org/pypi/cookiecutter-drf-microservice/:alt: licence.. image::https://img.shields.io/pypi/v/cookiecutter-drf-microservice.svg:target:https://pypi.python.org/pypi/cookiecutter-drf-microservice:alt: PyPi version.. image::https://landscape.io/github/alainivars/cookiecutter-drf-microservice/master/landscape.svg?style=flat:target:https://landscape.io/github/alainivars/cookiecutter-drf-microservice/master:alt: Code Health.. image::https://readthedocs.org/projects/cookiecutter-drf-microservice/badge/?version=latest:target:https://readthedocs.org/projects/cookiecutter-drf-microservice/?badge=latest:alt: Documentation status.. image::https://pypip.in/wheel/cookiecutter-drf-microservice/badge.svg:target:https://pypi.python.org/pypi/cookiecutter-drf-microservice/:alt: PyPi wheelAbout cookiecutter-drf-microserviceCookiecutter-drf-microservice is a ready-to-use API skeleton generator:
- generates it,
And you:
- add your unittest and endpoints,
And it will help you to:
- generate the documentation with Coreapi,
- test it with Tox,
- package it (TODO with) Docker,
- deploy it (TODO with) Terraform or AnsibleIt sounds simple and it is. Take a look atDrf-microservice_ it's now generated byCookiescutter-drf-microservice_.Something disturb you in the code? Don't hesitate to open a an issue and contribute.Releases notes_Bugs and evolution policiesWhen you will find a bug or propose an evolution create a ticket on:Issue Cookiescutter-drf-microservice_ if it's about the generation processIssue Drf-microservice_ if it's about a functionality in the generated drf processOnline documentation is here onreadthedoc_
Online source code available onGithub_.. _Cookiescutter-drf-microservice:https://github.com/alainivars/cookiecutter-drf-microservice.. _Drf-microservice:https://github.com/alainivars/drf-microservice.. _Issue Cookiescutter-drf-microservice:https://github.com/alainivars/cookiecutter-drf-microservice/issues.. _Issue Drf-microservice:https://github.com/alainivars/drf-microservice/issues