Saravanan666/pypi-org huggingface dataset:
Package: cookiecutter-starter
Project NameThis project is a starter kit for generating new Cookiecutter projects.Getting StartedTo get started, clone this repository and follow the instructions below.PrerequisitesPython 3.8 or higherpipvirtualenvInstallingCreate a new virtual environment:virtualenv venv
source venv/bin/activateInstall the project dependencies:pip install -r requirements.txtUsageStart the FastAPI server:uvicorn backend.app:app --reloadOpen the app in your web browser:http://localhost:8000Enter the project details and click "Generate Project" to generate a new Cookiecutter project.Project Structurebackend/app.py: FastAPI server that generates new Cookiecutter projects.backend/templates/index.html: HTML template for the web app.frontend/app_starter.py: Streamlit app that generates new Cookiecutter projects.src/cookiecutter_starter/main.py: Python script that generates a new Cookiecutter project.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: cookiecutter-x
Cookiecutter-XCookiecutter eXtended is a code generator based on Jinja and Cookiecutter with some extra features.
Such as single file generation, local template management, template documentation,
provide template input using arguments instead of interactive prompts.InstallationLike every other python package, you can installcookiecutter-xwithpipinstallcookiecutter-xIt will create the executable console scriptcookiecutter-xin the bin directory.TemplatesCookiecutter-X supports two types of templates.Simple template, optimized for generating standalone script(s), e.g. a bash script.Cookiecutter template, optimized for starting a new project, e.g., a python projectGetting started quicklyGenerate configurations (stored at$HOME/.cookiecutter-x/ccx-config.yml)cookiecutter-xquick-startconfigAdd or write templatesCreate a simple example template for generating CPP header and class paircookiecutter-xquick-startexample-templateSee the list of available simple templatescookiecutter-xsimplelistSee the documentation of a templatecookiecutter-xsimpledoccppGenerate files based on a templatecookiecutter-xsimpleprocesscpp--class_name'FilesUtils'Read more at the documentation site -https://cookiecutter-x.shaon.dev
Package: cookiedb
CookieDBA safe, fast and simple database.CookieDB is a noSQL database that uses thedocumentmodel with all data encrypted using AES-256, take advantage ofperformance and securityto create your projects that needfast storageand simple to use, where you have full control over the data. Read thefull CookieDB documentationto understand the methods available to create, read, update, and delete data in the database.Getting startedFirst, let's start by performing a quick installation of CookieDB using the PIP package manager:pip install cookiedbIf you prefer, you can perform the installation manually using Git. See below how to do this:git clone https://github.com/jaedsonpys/cookiedb.git
cd cookiedb/
python3 setup.py installUsage exampleTake a look at thissimple example of usingthe database, where we create and get some data (the complete example can be found inexamples/example.py)fromcookiedbimportCookieDBdatabase=CookieDB('MyDatabase',key='secret')database.add('languages/python',{'name':'Python','ext':'.py'})python_ext=database.get('languages/python/ext')print(f'Python extension:{python_ext}')You can find more usage examples in theexamples/ directoryLicenseApache License
Copyright 2023 Jaedson SilvaThis project uses theApache License, anyone can use this project as long as the license conditions allow.See more about the license.
Package: cookiedb-cli
CookieDB CLICookieDB CLI is a way to access CookieDB interactively, without having towrite files, and can perform all the actions available in theCookieDBlibrary.Installcookiedb-cliusing pip:pip install cookiedb-cliUsing CookieDB-CLITo use theCLIversion, you need to know theCookieDB library. After that, just use the same methods.Some standard CLI commands are:exit: Closes the command interface;list: List all databases;db: The CookieDB class instance.A password will always berequired to accessthe available databases.LicenseGNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007This code is licensed under GPL v3 license (see LICENSEfor details)
Package: cookiedb-client
CookieDB ClientTheCookieDB Clientis a client for theCookieDB Database Serverwhere you can create, get, update and delete data in aremote database. This project uses class with the same methods as theCookieDB database, so if you want to use it to connect to a CookieDB server, you must learn to use the database first.CookieDB DocumentationCookieDB ServerSeeCookieDBClientin use in thissimple example.LicenseApache License Version 2.0
Copyright 2023 Jaedson SilvaThis project uses theApache 2.0 License. Please see the license file to more informations.
Package: cookiedb-server
CookieDB ServerTheCookieDB Serverwas created to provide remote access to theCookieDB databasethrough a socket server, increasing security and maintaining your databasesavailable when you need it. To access this server,use the CookieDB Clientfor Python.Project in PyPISource codeInstall thecookiedb-serverusing the PIP Package Manager:pip install cookiedb-serverOr manually download by cloning the repository and running the install:git clone https://github.com/jaedsonpys/cookiedb-server.git
python3 setup.py installConfigure the serverConfiguration is simple, you just need to specify the password to access the server after running thecookiedbservercommand on the command line. The input looks like this[?] Set a password:After setting your password, just run thecookiedbservercommand again to run your server which can be accessed byCookieDB Client for Python.LicenseApache License Version 2.0
Copyright 2023 Jaedson SilvaThis project uses theApache 2.0 License. Please see the license file to more informations.
Package: cookiedough
cookiedough(1)is a GUI browser for cookiecutter templates. And can of course extract them.
It comes with a database of around 4150 cookietemplates, grouped by category, and allows some
rudimentary filtering. Stillbeta, but usable.Installation / UseJust install it as normal pip package:~$   pip3 install -U cookiedoughAnd start it from a terminal window:~/projects$   cookiedoughKeep an eye on the terminal when rolling out a template. Not all prompts
might be captured by monkeypatching.NotesThere's some usage information in the man page, and in the →Help→Help.Bugs / CaveatsNo support for template dictionary variables. (They're not widely used though.)Database does not contain any directoried templates yet. (A few exist however.)The README colorization is fairly basic. (But more processsing would
slow it down too much.)It can crash when speed-scrolling through the templates. (Perhaps PSG
vs Tk threads issue.)Tkinter might also crash when encountering emojis. (Either install
Symbola font and get rid of Noto Color Emoji. Or upgrade to tcl/tk
8.6.10, or go back to Ubuntu 18.04 where it miraculously worked.)See alsoImproving your cookiecutter.jsonHow/what to contributeuidata structusageAPIUnlike cookiecutter, there aren't many public APIs in a GUI tool. The
internal database is easily accessible though:import cookiedough
ls = cookiedough.repos.search(["pyproject.toml", "\w+test"])There's not much in the update module yet, besides the scoring method:cookiedough.update.score(ls.values()[0])Whereas the rollout module provides the cc config interface:ccc = cookiecutter.rollout.CookieCutterConfig()
print(ccc.fn, ccc.dir, ccc.replay)
d = ccc.read_config()As well as the.cutting()wrapper, or even.hijack_prompt()and.task().fromprojectimportmetametainfodependspysimplegui, sys:tkinter,cookiecutter,pluginconf,appdirs,requests, ...compatPython ≥3.8, BSD/Linuxcompliancyxdg, pluginspec, !pep8, !desktop, !xdnd, mallard, man, !netrc, dotenv, !http_proxy, nobackup, !releases.json, !doap, !packfilesystem usagerare (xdg-open only)paths~/.config/cookiedough/testingNonedocsminimal wiki, mallard/yelp, newsactivitybackburnerstatebetasupportemailcontribmail, fossilannouncefreshcode.club
Package: cookie-eater
Browser Cookie ManagementOverviewFirefox and Chrome Cookie management. (Chrome requires SQLite 3.8 or greater.)Installpip install cookie-eaterCI tests run on:Python 2.6+Python 3.3+PypyExample Usageimportcookie_eaterfox=cookie_eater.FirefoxCookies()# Automatically uses the DB of the default profile, can specify db=<path>fox.add_cookie("example.com","MyCookie","Cookie contents!")fox.find_cookies(host="Example")# [{'host': u'example.com', 'name': u'MyCookie', 'value': u'Cookie contents!'}]fox.delete_cookie("example.com","MyCookie")
Package: cookiejar
cookiejarCookiecutter templates discovery and management.Usage:$ pip install cookiejar
$ cookiejar create <templatename> [options]Will usecookiecutterto create a new package from the template.OptionsAll options can be specified on the command-line. Users can override everything by creating a config file at~/.cookiejar/cookiejarrc.Managing templatesYou can list, search and download templates from a ‘templates index’.The following commands are available:$ cookiejar list [--index=<index>]
$ cookiejar search <text> [--index=<index>]
$ cookiejar add <package_name> [<url>] [--index=<index>]
$ cookiejar installed
$ cookiejar remove <package_name>Creating new packages from a templateTo create a new package:$ cookiejar create <template_name> [options]Available CommandslistLists all templates available on the index.Options--index=<url>Optional. Specifies an alternative index to use.searchLists available templates on the index whose name contains the specified text.Options<text>Required. Text to look for in the index.--index=<url>Optional. Specifies an alternative index to use.addDownloads the specified template to your~/.cookiecutters/templates/directory.Options<template_name>Required. The template you want to download.<url>Optional. If specified, downloads the template from there instead of using the index. Acceptspip-like URLs, asgit+https://github.com/user/repo.git.--index=<url>Optional. Specifies an alternative index to use.installedLists templates that have already been downloaded.removeDeletes the specified template from your~/.cookiecutters/templates/directory.Options<template_name>Required. The template you want to remove.createCreates a new package using the specified template.Options<template_name>Required. The template you to use.[options]Optional. Any options specified will be added to cookiecutter’s context when creating the package. Options are specified as--key=value.TODOaddregisteranduploadcommandsuse an actual REST API and server (requires $$ for the infrastructure)put a pretty picture of a cookie jar in this readme.StatusThis software should be considered Alpha.LicenseThis project is released under the MIT License.
Package: cookieman
Browser-aware flask session manager.This module allows you to store any amount of data on session cookies without
caring about browser-specific cookie limitations, by just registering session
data shrink functions.This module probably won’t play nicely with other cookies set on the same
domain: session-cookie could be evicted at any time because other cookies and
vice versa.How it worksThis module includes a simple browser cookie limit database, which is matched
against flask request’s user agent and, on flask response, that information
is used to serialize the session onto cookies.This session implementation supports cookie signatures, multi-cookie session,
and custom session shrinking logic which will be invoked when needed.The session shrinking logic repeat this steps in order until session data fits
into cookies:Registered shrinking functions, until they’re unable to reduce the cookie
size.Unhandled keys are removed.Registered shrinking functions, now receivingTrueas parameterlast.Remaining keys are removed.UsageThis module works as a flask session interface, allowing to register session
shrink functions which will be called once session does not fit on browser
cookies.importflaskimportcookiemanapp=flask.Flask(__name__)app.session_interface=cookieman.CookieMan()app.secret_key='my_app_secret_key'# used for session cookie safety@app.session_interface.register('a')defshrink_a(data,last):'''
    Session property 'a' shrinking policy: remove last list item on key
    or just remove key.

    :param data: session data as dict
    :type data: Mapping[str, Any]
    :param last: wether is last iteration or not
    :type last: bool
    :returns: updated data (can be the same as received)
    :rtype: Mapping[str, Any]
    '''iflen(data['a'])<2:deldata['a']else:data['a'].pop()returndataLicenseMIT (see LICENSE file).
Package: cookiepatcher
Just a small shim around cookiecutter that alters a bit the CLI to work better when reapplying templates to existing
projects. Works best with cookiecutter-pylibrary.Free software: BSD 2-Clause LicenseInstallationpip install cookiepatcherYou can also install the in-development version with:pip install https://github.com/ionelmc/python-cookiepatcher/archive/master.zipDocumentationTo use the project:importcookiepatchercookiepatcher.-()DevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.5.0 (2022-09-09)Fixed.cookiecutterrcserialization issues with boolean-like texts.Dropped support for older than 3.7 Python.Now depends onpyyaml6.0 or later instead ofruamel.yml.Added support for path with trailing slashes. Contributed inPR 1.0.4.0 (2020-11-06)Fixed the.cookiecutterrcsave code so that:default_contextis the root key (instead ofcookiecutter).underscore prefixed keys are stripped (they are cookiecutter internals).Made3.5the minimum Python version.0.3.4 (2020-04-05)Fixed.cookiecutterrcbeing dumped with!!omapgarbage.0.3.3 (2017-10-25)Fixed issues with god knows what changed again in cookiecutter.0.3.2 (2017-07-19)Fixed issues with linewrapping in.cookiecutterrc.0.3.1 (2017-07-19)Fixed more breakage.0.3.0 (2015-11-28)Fix issues with Python 2.7.0.2.0 (2015-11-19)Removed some workarounds. Requirescookiecutter>=1.3.0.0.1.1 (2015-11-05)Forceutf8in various places.0.1.0 (2015-10-19)First release on PyPI.
Package: cookiepress
CookiePressA project scaffold generator that moves beyond mere templates.Free software: BSD licenseDocumentation:https://cookiepress.readthedocs.io.FeaturesNone yet. Very early project.CreditsThis package was created withCookiecutterand theelgertam/cookiecutter-pipenvproject template, based onaudreyr/cookiecutter-pypackage.History0.1.0 (2019-05-17)First release on PyPI.0.1.1 (2019-05-17)Cleaned up some project settings.0.1.2-0.1.4 (2019-05-17)Project settings cleaned.0.1.5 (2019-06-26)Added donation link
Package: cookie-puppeteer
cookie-puppeteerRetrieve cookies exported by Export cookie JSON File Puppeteer extensionInstallationpipinstallcookie-puppeteerUsagefromcookie_puppeteerimportPuppeteercookies=Puppeteer("/home/smartwa/Downloads/gemini.google.com.cookies.json")print(cookies.get("AEC"))# Ae3NU9ORz35qy6ucvgm9D3U161kwUayh0dj*********Console$ cookie-puppeteer --helpor$ cpt -husage: cookie-puppeteer [-h] [-v] [-k [KEY ...]] [-d [DEFAULT ...]]
                        [-i INDENT] [--whole]
                        PATH

Retrieve cookies exported by Export cookie JSON File Puppeteer extension

positional arguments:
  PATH                  Path to cookie file

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -k [KEY ...], --key [KEY ...]
                        Set cookie value of this key
  -d [DEFAULT ...], --default [DEFAULT ...]
                        Default cookie value incase of None
  -i INDENT, --indent INDENT
                        Stdout all cookies with this indentation - 4
  --whole               Stdout whole cookie contents
Package: cookiepy
cookiepyCooking a py…Free software: MIT licenseDocumentation:https://cookiepy.readthedocs.io.Usage$ pip install cookiepy

>>> import cookiepy as py
>>> py.foo()
>>> py.bar()FeaturesIt foo and it barCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.3.1 (2019-09-21)It can Foo.It can Bar also.0.1.0 (2019-09-21)First release on PyPI.
Package: cookie-python
Cookiecuttertemplate for new Python projectsA template for new Python projects, with:poetry(withpoetry-dynamic-versioning)pytestpre-commitmypyblackflake8(withbugbear,simplify,
andpep8-naming)autoflakepyupgradebanditcruftGitHub Actions supportCoverage reports withcodecov.ioPoetry installationViapipx:pip install pipxpipx install poetrypipx inject poetry poetry-dynamic-versioning poetry-pre-commit-pluginViapip:pip install poetrypoetry self add poetry-dynamic-versioning poetry-pre-commit-pluginNew project creationWithcruftvia scriptpoetry installpoetry run new-cookie <path>  # or poetry run cruft createWithcookiecutterdirectlypip install cookiecuttercookiecutter https://github.com/smkent/cookie-pythonDevelopment tasksSetup:poetry installRun static checks:poetry run poe lintorpoetry run pre-commit run --all-filesRun static checks and tests:poetry run poe testUpdate test expected output files from test results:poetry run poe updatetests
Package: cookies-anonfiles
anonfiles-scriptAn upload script for anonfile.com made in python. Supports multiple files.Installationpip3installanonfilesUsageanonup{path-to-file_1}{path-to-file_2}...# upload file to anonfile serveranond{url1}{url2}...# download fileAPIThe anonfile-upload client is also usable through an API (for test integration, automation, etc)anonfiles.upload([file1, file2])fromanonfilesimportuploadupload([file1,file2])anonfiles.download([file1, file2])fromanonfilesimportdownloaddownload([file1,file2])
Package: cookies-discord-components
discord-componentsAn unofficial third party library of discord.py for discord components.Welcome!Discord components are cool, but discord.py will support it on version 2.0. It
is hard to wait, so we made a third-party library for using components such as
buttons or selects!This project is open source ⭐.Also, there is anofficial discord server, so
if you have any questions, feel free to ask it on this server.FeaturesYou can use message components and handle component interactions easily!Third-party of discord.py.DocsGitbook version(Up to
date)Sphinx Version(Currently outdated)Installpip install --upgrade discord-componentsExampleYou can see many exampleshere.LicenseThis project is under the MIT License.
Package: cookies-statistics
Cookie's StatisticsUtility functions for statistical analyses.Documentation (released)Documentation (main branch HEAD)Installation (for Users)You can install the release version from PyPI.pip install cookies_statisticsIf you want to use the latest version that has not been released, clone this repository and install from the local directory.git clone https://github.com/CookieBox26/cookies_statistics.git
cd cookies_statistics
pip install .Development Guide (for Developers)Please execute the following at the root of the repository.Test locallyPlease run the following commands.git clone https://github.com/CookieBox26/cookies_statistics.git
cd cookies_statistics
# make some changes to the code
pip install -e '.[dev]'  #  install the package in editable mode
python -m unittest discover tests -v  # testIf an error occurs, you can fix the code and rerun the tests without having to reinstall the package.Update documentationIf you add a new function or class, please update the documentation accordingly.cd docs
vi source/cookies_statistics.rst  # add a new function or class
./make.bat html  # or 'make html' (not on Windows)
# Please open 'docs/build/html/index.html' in your browser and check the content.
cd ..If you are not an administrator, please open a pull request at this point.Build and upload the distribution archives (for administrator only)Please run the following commands. More details arehere.pip install --upgrade build  # upgrade 'build'
python -m buildThe following files will be generated../dist/cookies_statistics-0.0.1.tar.gz
./dist/cookies_statistics-0.0.1-py3-none-any.whlThen please run the following commands. More details arehere.pip install --upgrade twine
python -m twine upload --repository testpypi dist/*  # TestPyPI
python -m twine upload dist/*  # PyPI
Package: cookiestream
Version actuelleversion = 1.0.0UtilisationLe projet pourrait etre utile pour:Travailler un projet sur un template bien défini (git clone)créer un package dans pypi (make all)Passer la partie ci dans gitLab (ajouter gitlab_ci.yaml et faite réference au Makefile)Pour utiliser le template.git clone https://github.com/Proxia-ai/template_vierge.gitPrise en mainDefinir les parametre projet dans configs.?.yamlTravailler avec /.data pour stoquer les dataAppeler d'autres asset en se basant sur ce projet, il va vous falloir juste de mettre le nouveau Yaml dans configsvous pourriez ajouter d'autre dossier comme par exemple .secrets (selon la nature du projet)Contenu du projetLe template contient deja un exemple:le dossier .data (facultatif) :où on stoke les donnéela réference à ce dossier est dans configs/config.inile dossier configs :init.py : utile pour en faire une librairie interne surtout lors du build (à ne pas toucher)base_config.py: il contient les réference vers les fichiers de configuration d'une maniére génerique ( à toucher avec précaution)config.ini : il contient l'emplacement des dossier et fichier utile pour le projet. Il faut mettre des liens indépendante de l'emplacement machine?_config.yaml: il contient les parametres du projet. Il ne faut pas toucher à la partie meta-information. Le reste dépond du projetdocs : Il contient l'ensemble de la documentation qui se génere automatiquement à partir des docs string dans les différents scripts?/src : Il contient le travail çàd le source code du projetinit.py: à ne pas toucher utile lors du buildtests/?: Un dossier qui contient l'ensemble des tests unitaires à en faire sur les données qui sont dans .datautils : Il contient l'enseble des fonction génerique au projetinit.py : à ne pas supprimer.gitignore : contient l'enseble des dossiers et fichiers à ignorer (à toucher selon le projet).pylintrc : L'ensemble des regles à verifier lors de l'étape lintage du codeLICENCE : Contient une licence Standard, utile pour pypimain.py : Le script de lancement par defaut si pas d'utilisation des source. mettez juste le nom du projet dans la console et il va lancer ce script tout seulMakefile : Ensemble d'instruction utile pour la partie CiREADME.md : documentation pour bien utiliser le projet à lirerequirements.txt : Il est recommandé d'extraire ce fichier requirements.txt avant un push gitsetup.cfg : fichier utile pour le buildsetup.py: fichier d'installation du projetNB:Dans cette version il faut placer les dépendances dans setup.py si vous voulez builder un package. Cette partie n'est encore automatiquepour le build dans pypi, il faut créer un fichier de réferences qui contient les identifiants et les réference d'authentificationUtilisation en tant que packageexemple:pip install -i https://test.pypi.org/simple/ template-vierge==0.0.3.35L'upgrade du package de l'autre coté sera comme ça:pip install -i https://test.pypi.org/simple/ template-vierge --upgrade --no-cache-diril faut aussi pense à mettre le dossier site-package accessible à tous les users:sudo chmod -R ugo+rX /home/zied/PycharmProjects/pythonProject_test/venv/lib/python3.10/site-packages
Package: cookiestxt
# cookiestxtA version of Python’s MozillaCookieJar that produces cookies.txt files
that are compatible with curl/wget.MozillaCookieJar is agreatidea.  It just doesn’t work well right
now without [this patch](https://bugs.python.org/issue17164).  So,
I’ve applied the patch here.Use it like you would use MozillaCookieJar.`python from cookiestxt import MozillaCookieJar cj = MozillaCookieJar() ... `