Saravanan666/pypi-org huggingface dataset:
Package: deckster
deckster=========================*CL tools to build a Reveal.js presentation from a single Multimarkdown file*.Usage========<<<<<<< Updated upstream.. todo::=======.. code-block:: bashdeckster init <destinationPath> [-s <pathToSettingsFile>]>>>>>>> Stashed changes- add usageDocumentation=============Documentation for deckster is hosted by `Read the Docs <http://deckster.readthedocs.org/en/stable/>`__ (last `stable version <http://deckster.readthedocs.org/en/stable/>`__ and `latest version <http://deckster.readthedocs.org/en/latest/>`__).Installation============The easiest way to install deckster us to use ``pip``:.. code:: bashpip install decksterOr you can clone the `github repo <https://github.com/thespacedoctor/deckster>`__ and install from a local version of the code:.. code:: bashgit clone git@github.com:thespacedoctor/deckster.gitcd decksterpython setup.py installTo upgrade to the latest version of deckster use the command:.. code:: bashpip install deckster --upgradeDevelopment-----------If you want to tinker with the code, then install in development mode.This means you can modify the code from your cloned repo:.. code:: bashgit clone git@github.com:thespacedoctor/deckster.gitcd decksterpython setup.py develop`Pull requests <https://github.com/thespacedoctor/deckster/pulls>`__are welcomed!Issues------Please report any issues`here <https://github.com/thespacedoctor/deckster/issues>`__.License=======Copyright (c) 2016 David YoungPermission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the"Software"), to deal in the Software without restriction, includingwithout limitation the rights to use, copy, modify, merge, publish,distribute, sublicense, and/or sell copies of the Software, and topermit persons to whom the Software is furnished to do so, subject tothe following conditions:The above copyright notice and this permission notice shall be includedin all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANYCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THESOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: deckster-sd
DecksterA service to manage your Stream Deck easily on LinuxDocumentationOnline DocumentationQuickstartpip install deckster-sdThe install process will create a defaultconfig.jsonto your~/.config/decksterfolder.Install dependencies and add permissions:# Install system packages needed for the default LibUSB HIDAPI backendsudoaptinstall-ylibudev-devlibusb-1.0-0-devlibhidapi-libusb0# Install system packages needed for the Python Pillow package installationsudoaptinstall-ylibjpeg-devzlib1g-devlibopenjp2-7libtiff5# Add udev rule to allow all users non-root access to Elgato StreamDeck devices:sudotee/etc/udev/rules.d/10-streamdeck.rules<< EOFSUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", GROUP="users", TAG+="uaccess"EOF# Reload udev rules to ensure the new permissions take effectsudoudevadmcontrol--reload-rulesServiceYou can have deckster run as a service by using the service file template in the repository.mkdir-p$HOME/.local/share/systemd/user
cpdeckster.service$HOME/.local/share/systemd/user
systemctl--userdaemon-reload
systemctl--userenablesystemctl--userstartdeckster
Package: declair
Declair :cake:Declair is a framework for declaratively defining hyperparameter optimization experiments. It usesSacredfor storing experiment results and supportsHyperoptfor optimization.At its core, Declair provides a YAML/JSON based language for defining parameter spaces for hyperparameter search as well as single experiment runs. These parameter spaces can be easily nested and may include Python objects and outputs of function calls.Declair is focused on reproducibility and ease of use between machines. By the use ofSacred observers, it ensures that results of experiments are safely stored, together with the source code of all classes and objects used in them, as well as the Declair experiment configuration itself. To make reproduction of experiments easy between machines, it supports environment configuration files which can be used to store variables, like local dataset paths or secret tokens.It contains various features to make defining experiments ergonomic. These include variable handling as well as configuration inheritance.UsageFor detailed instructions on how to use Declair, see thedocumentation.InstallationYou can install Declair via pip.pip install declairRunning the testsGo into the root of the repository (i.e. where thisREADME.mdis), installpip install pytestand runpython -m pytestCreditsDeclair came about from attempts to recreateDeepSolarisresults in PyTorch instead of Keras, with a focus on search experiment definition ergonomics and reproducibility. However, it grew to be a more extensive and general framework than originally planned. Its design based on configuration files was heavily inspired bycbds_common.It is developed with ❤️  atCBDS.
Package: declara
declaraProgrammatically fill out your Boreas declaration forms with Python.Seeexample.pyfor example use.Environment variablesThis package requires the following environment variables to be set:SMTP_HOSTSMTP_USERNAMESMTP_PASSWORDSMTP_DEFAULT_RECIPIENTAnd these are optional:SMTP_PORT(default =587)DECLARA_EMAIL_BODY_B64(default = equal to base64-encodeddefault_email_body.txt)DECLARA_EMAIL_SUBJECT(default =Declaratie)
Package: declarative-argparse
Declarative ArgparseThis project introduces a wrapper argound the built-inargparsemodule that permits one to make a declarative parser for options.[[TOC]]Exampleimportargparsefromdeclarative_argparseimportDeclarativeOptionParserfromdeclarative_argparse.options.intimportIntDOfromdeclarative_argparse.options.strimportStrDOclassDAPExample(DeclarativeOptionParser):def__init__(self)->None:super().__init__(argp=argparse.ArgumentParser())self.x:IntDO=self.addInt('--x','-x',description='X coordinate')self.y:IntDO=self.addInt('--y','-y',description='Y coordinate')self.name:StrDO=self.addStr('--name',description='Change tile name').setNArgs('?')self.id:StrDO=self.addStr('id',description='specify tile ID')# ...args=DAPExample()args.parseArguments(['--x=0','-y','1','abc1'])assertargs.x.get_value()==0assertargs.y.get_value()==1assertargs.name.get_value()isNoneassertargs.id.get_value()=='abc1'LicenseMITContributions are always welcome.
Package: declarative-iptables
simple tablesA simple interface to managing iptables on linuxThe hardest part of managing iptables is that they are a central piece of data that's constantly changing from many different directions.  Because its state isn't guaranteed, making a simple modification to it can have undesired consequences.  This project aims to solve this problem by making yet another interface to iptables.This interface aims to be declarative.  Rather than looking at issuing changes directly to iptables, this package defines the desired state.  The significance is that it matters less what the tables look like at any given time and instead the goal is to end up with what it should look like.Additionally, because it's unknown what changes other systems have made, any tables and rules that have not been declared are left untouched.Exampleimport iptables

plan = iptables.Plan()

# this will delete an existing table and create it from scratch
berto_chain = plan.add_chain('OPENVPN_BERTO')

# rules are added with a default priority of 50
berto_chain.add_rule(iptables.Rule('-o tun0 -s 192.168.2.2 -d 192.168.1.1 -j ACCEPT'))

# this will get an existing table and create it if it does not exist
openvpn_chain = plan.get_chain('OPENVPN')

# rules with higher number priority get added to the chain first
# when updating an existing chain, rules already in the chain get a priority of 70.
# being added is compared to existing rules and will be added if missing or left alone.
openvpn_chain.add_rule(iptables.Rule('-o ! tun0 -j RETURN', priority=100))
openvpn_chain.add_rule(berto_chain.jump)

# make necessary changes to achieve the desired outcome
plan_execute()
Package: declaratively
DeclarativelyThis is a Python module for encouraging certain things be executed
declaratively, at module-import time, so that those declarations are fixed
throughout the lifetime of a program and are not (for example) subject to
injection of untrusted data from a network or the user into a place that should
only contain fixed information specified by a programmer.(At present the state of the code could charitably be described as
"experimental".)You can read a little more about this here:https://glyph.twistedmatrix.com/2021/12/declaratively.htmlI've set up this repository just as a sketch, to see if there is interest.  If you'd like to see a more productionized (i.e.: tested) version of this, please feel free to contribute!
Package: declarativex
DeclarativeX: Your Declarative HTTP Client 🚀Why Choose DeclarativeX? 🤷‍♂️Sick of writing boilerplate for every HTTP request? Headers, JSON parsing, and all that jazz?Say hello toDeclarativeX!We handle the nitty-gritty so you can focus on what really counts—your core logic.🌟 Key FeaturesDeclarative Goodness: Decorators make your life easy. Just add and go!Function Over Form: No need for classes. Check the docs for function-based setups.Data Validation: Using Pydantic? We've got your robust validation needs covered.Async Ready: Need it fast? We're async-compatible.Rate Limiting: Stay on the good side of APIs with built-in rate limiting.Authentication: Add authentication with a single line of code.Automatic Retries: We retry failed requests automatically(or reject, if you prefer).Middleware Support: Add your custom logic with ease.Auto Body Parsing: Skip manual parsing. Use a dataclass or Pydantic model for auto-magic.GraphQL: We support GraphQL queries and mutations out of the box.Installation 🛠️pipinstalldeclarativexAvailable extras 🎁DeclarativeX comes with a few extras that you can install separately. Here's a list of available extras:http2- HTTP/2 supportgraphql- GraphQL supportbrotli- Brotli compression supportTo install an extra, just add it to the end of the command:pipinstalldeclarativex[http2,graphql,brotli]Docs 📖Find all the details athttps://declarativex.dev.Show Some Love ❤️Every contribution counts and is super appreciated! 🙏Liking what you see? Support the creator to keep this project thriving.
Package: declare-amqp
# Declare AMQPA way to declare your exchanges, queues, and bindings outside of the application## Installingpip install declare-amqp## DeclarationYou can see the extend of configuration in the `example_config.yml` file. Allfields used are currently required except for the `arguments` on exchanges.exchanges:- name: example_exchangetype: directdurable: Trueauto_delete: Falsearguments:alternate-exchange: your_alternate_exchangequeues:- name: test_queueauto_delete: Falsedurable: Truebindings:- exchange: example_exchangebinding_key: test_bindingWhen I have the need for them exchange-to-exchange bindings will be added.## Running### ENVVARSAMQP_HOST (default: localhost)AMQP_USER (default: guest)AMQP_PASS (default: guest)AMQP_VHOST(default: /)### CLIOnce you have set the envvars you are set to run `declare-amqp`declare-amqp --config your_config.yml
Package: declare-config
declare_configThis Python module allows a declarative syntax for defining the contents of a
configuration file. It also enables easy support for features such as default
configuration values, nested configuration settings (and nested defaults), and
various other useful automatic sugars.Example:from pathlib import Path

from declare_config import Configuration,
    Setting, \
    configuration_source, \
    enable_nested_settings

@configuration_provider("$MYAPP_CONFIG")
@configuration_provider("./myapp.yaml")
@configuration_provider("~/init/myapp.yaml")
@configuration_provider("~/.myapp.yaml")
@enable_nested_settings
@enable_expanduser
class MyAppSettings(declare_config.Configuration):
    '''Settings for myapp.'''
    homepage = Setting('urls.root')
    api_root = Setting('urls.api_root', '${homepage}/api')
    timeout_ms = Setting('timeout_ms', 5000, int)
    log_file = Setting("log_location", ~/logs/myapp.log", Path)

settings = MyAppSettings.load()The above code defines a configuration file for a sample application. It
defines four locations that will be searched for the configuration file whenMyAppSettings.load()is called: first it will check the value of
the environment variable$MYAPP_CONFIGfor a file location, and then if no
such environment variable is defined it will check the other three file
locations in order for a configuration file. Whenever it finds a valid file
location, it will load the settings from that file.Because of the@enable_nested_settingsdecorator, settings are allowed to
reference one another (and default definitions are allowed to reference other
settings as well) through the${setting_name}syntax. All settings have type
information,and the@enable_expanduserdecorator ensures that for any
setting declared to be a filesystem path, the~/directory will be expanded
to the user's home directory.Currently only yaml configuration files are supported, though there are plans
to add support for JSON and INI syntaxes.DevelopmentDependencies are managed withpipenv. To install dependencies for
development, runpipenv install --devfrom the project root.To run tests once with coverage, usepipenv run pytestfrom the project
root. To run tests continuously during development, runpipenv run ptwinstead.To upload to PyPi, update setup.py with the version and any new dependencies
and runpipenv run python setup.py upload.
Package: declatravaux
DéclaTravauxDéclaTravaux est un utilitaire de télétransmission des déclarations de projet de travaux (DT), des déclarations d'intention de commencement de travaux (DICT) et des avis de travaux urgents (ATU).Le logiciel, développé dans le langage Python, est disponible sous la licence libre CeCILL (http://www.cecill.info/).ContexteLorsque des travaux sont envisagés à proximité de réseaux ou canalisations, le maître d'ouvrage et/ou l'exécutant des travaux doit déclarer ce projet de travaux aux exploitants des réseaux concernés.Pour ce faire, il doit obligatoirement consulter la plateformehttp://www.reseaux-et-canalisations.ineris.fr/: le déclarant y indique l'emprise géographique des travaux prévus, et, en retour, le téléservice lui propose de télécharger une archive contenant les déclarations à souscrire auprès des différents exploitants concernés.Il appartient ensuite au déclarant d'envoyer par courriel les différentes déclarations ainsi téléchargées aux exploitants identifiés.Objet du logicielLe présent logiciel a pour objet d'automatiser l'envoi par courriel des différentes déclarations.Par un traitement de l'archive issue du téléservice, il extrait les informations relatives aux exploitants concernés et à leurs coordonnées, et procède à l'envoi des déclarations correspondant à chacun d'eux.UtilisationLors du premier lancement du logiciel, il convient de renseigner les informations suivantes (boutonParamètres) :Configuration :Répertoire de recherche : répertoire dans lequel le logiciel va automatiquement rechercher les archives issues du téléservice ;Repertoire de traitement : répertoire dans lequel les archives sont conservées après avoir été traitées.Courriels :Adresse électronique : adresse éléectronique utilisée pour envoyer les déclarations aux exploitants ;Mot de passe : mot de passe de connexion au serveur SMTP correspondant à l'adresse électronique ;Adresse du serveur SMTP ;Port du serveur SMTP ;Nom de l'expéditeur : identité utilisée en signature des courriels.Une fois ces informations renseignées, le logiciel va automatiquement rechercher des archives ZIP téléchargées sur le téléservice ; s'il n'en détecte aucune, il propose à l'utilisateur de sélectionner manuellement une archive.Une fois le choix de l'archive confirmé par l"utilisateur, le logiciel :extrait les informations relatives aux exploitants contenues dans l'archive (notamment dans le fichier « *_description.xml ») ;associe à chaque exploitant la déclaration correspondante (au format PDF) ;se connecte au serveur de messagerie de l'utilisateur ;envoie un courriel à chaque exploitant, contenant en pièce jointe les fichiers requis ;envoie un courriel récapitulatif à l'utilisateur, confirmant l'envoi des différents courriels.Bibliothèques tierces / DépendancesLe logiciel utilise les bibliothèques tierces suivantes :keyring, disponible sous les licences MIT et PSF (https://github.com/jaraco/keyring) ;PyPDF2, écrite par la sociétéPhaseit, disponible sous la licence BSD modifiée (http://mstamy2.github.io/PyPDF2/) ;PyQt5, disponible sous la licence GPL (https://www.riverbankcomputing.com/software/pyqt/).
Package: declic
Declic (DEcorator-oriented CLI Creator) is a tiny Python 3 package for
creating command line interfaces using decorators. It was inspired by
theclickpackage and is based onargparse.Installation>From PyPI:pip install declicor from Github:pip install git+https://github.com/Septaris/declic.gitUsageHere is an example of Declic usage:fromdeclicimportgroup,argument,command# on_before callbacks are executed if:# - the group itself is called# - if any of the child of the group is calleddefbefore_bar():print('before bar')defbefore_sub(tata):print('before sub:%s'%tata)# define the root command (a group)@group(description='my description',on_before=before_bar)@argument('--version',action='version',version='<the version>')@argument('--foo',type=int,default=1)defbar():print('bar')# define a sub-group@bar.group(invokable=True,on_before=before_sub)@argument('--toto',type=int,default=2)@argument('--tata',type=str,default='aaa')defsub(toto,tata):print('toto:%s'%toto)print('tata:%s'%tata)# define a sub-command of the sub-group# chain option allows to execute each parent group (if they are invokable) before the command call# each on_before functions will be executed anyway@sub.command(chain=True)defmop(toto,**kwargs):print('kwargs:%s'%kwargs)print('toto:%s'%toto)# define a sub-command of the root group@bar.command()@argument('-x',type=int,default=1)@argument('y',type=float)deffoo(x,y):print(x,y)if__name__=='__main__':importsysbar(sys.argv[1:])# or bar()Running the cli:$ python my_file.py --help

usage: bar [-h] [--foo FOO] [--version] {sub_group,foo} ...

my description

positional arguments:
  {sub,foo}

optional arguments:
  -h, --help       show this help message and exit
  --foo FOO
  --version        show program's version number and exit
Package: de-client
de-clientde-client is a part ofDash Enterprise,
Plotly's end-to-end Dash application platform. This public copy of the package
is a stub published on pypi.org designed to shield Dash Enterprise users fromdependency confusion,
a remote code execution attack publicly disclosed in 2021 by Alex Birsan.If you are a Dash Enterprise user, you will only see this public package if your
app is not properly configured to find the local package repository built into
Dash Enterprise. Visit the docs for your Dash Enterprise installation for details.If you never see this public package, it's still doing its job of protecting you
from the dependency confusion attack!
Package: declinate
DeclinateDeclinate is a command line interface generator. It is a development tool that parses function type annotations and docstrings to generate Python CLIs:It usesbuiltin language featuresto describe CLIs.Declinate isnot a runtime dependency, it compiles to vanilla Python argparse calls during development.Generated CLIs use lazy imports, resulting inextremely fast startup time.Command completionfor Bash and Zsh are added by default.Getting startedDeclinate is published on PyPI and does not have any special dependencies. Simply install with pip:pip install declinateThe package installs thedeclinatecommand to generate a CLI for a python package:# Print python code to stdout.
declinate generate example_pkg

# Write cli.py module in example_pkg package.
declinate generate -w example_pkgOf course, declinate’s own CLI is “self-hosting” and can recreate itself:declinate generate declinateDeclinate expects the python package to declare its command and subcommands in a module nameddeclinate.py. Here is how declinate’s own “check” subcommand is declared:defcheck(package:str)->int:"""Check if generated cli is up to date.

    Args:
        package: Name of the Python package.

    Returns:
        0 if success.

    """ifres:=check_package(package):print(res)return1return0Take a closer look at the different example CLIs in the tests package that demonstrate the various features.DocumentationRead thedocumentationfor further information.ContributingThank you for considering to contribute to declinate.To submit issues or create merge requests please follow the instructions provided in thecontribution guide.By contributing to declinate you accept and agree to the terms and conditions laid out in there.DevelopmentClone the repository and setup your local checkout:git clone https://gitlab.com/ternaris/declinate.git

cd declinate
python -m venv venv
. venv/bin/activate

pip install -r requirements-dev.txt
pip install -e .This creates a new virtual environment with the necessary python dependencies and installs declinate in editable mode. The declinate code base uses pytest as its test runner, run the test suite by simply invoking:pytestTo build the documentation from its source run sphinx-build:sphinx-build -a docs publicThe entry point to the local documentation build should be available underpublic/index.html.SupportProfessional support is available fromTernaris.
Package: de-cloud-files
League Event InterfaceCreate custom callbacks to various in game events made possible with the League Client APIOriginalHeavily borrows from LeagueOfEvents -check out the original LeagueOfEvents package hereInstallingInstall thePyPI Package:pip install LeagueEventInterfaceExamplesBasic example:importleagueeventinterfacedefpentakill_handler():print("Yaay! A Penta!")leagueeventinterface.subscribe("PlayerPentakill",pentakill_handler)EventsTODO
Package: declutter
declutterFast way to quickly organize cluttered files into approximate categories.I personally use this to declutter my desktop where I have a bad habit of dumping stuff.declutter

Usage:
    declutter
    declutter [[options] <args>...]...
    declutter -h | --help

Options:
    -h --help                            Show help message.
    --exclude_files <files>...           Exclude specific list of files from being decluttered.
    --exclude_ext <exts>...              Exclude these file extensions from being decluttered.
    --include_shortcuts                  Include shortcuts with extensions .url or .lnk to be decluttered.
Examples:
    declutter --exclude_files myfile.txt random.docx
    declutter --exclude_ext gif jpg
Package: decmopy
DECMOPYPython implementation of DECMO algorithms inside the JMetalPy 1.5.5 framework.InstallationpipinstalldecmopyDECMOfromjmetal.problemimportZDT1fromdecmopyimportDECMO_FLOATdefmain():problem=ZDT1()algorithm=DECMO_FLOAT(problem,max_iterations=250)result=algorithm.run()print(f"Algorithm: ${algorithm.get_name()}")print(f"Problem: ${problem.get_name()}")print(f"Final non-dominted solution set size: ${len(result)}")if__name__=="__main__":main()DECMO2fromjmetal.problemimportZDT1fromdecmopyimportDECMO2defmain():problem=ZDT1()algorithm=DECMO2(problem,max_iterations=250)result=algorithm.run()print(f"Algorithm: ${algorithm.get_name()}")print(f"Problem: ${problem.get_name()}")print(f"Final non-dominted solution set size: ${len(result)}")if__name__=="__main__":main()
Package: decodanda
Decodanda (dog latin for “to be decoded”) is a best-practices-made-easy Python package for decoding neural data. Decodanda is designed to expose a user-friendly and flexible interface for population activity decoding, with a series of built-in best practices to avoid the most common pitfalls. In addition, Decodanda exposes a series of functions to compute the Cross-Condition Generalization Performance (CCGP, Bernardi et al. 2020) for the geometrical analysis of neural population activity.