Saravanan666/pypi-org huggingface dataset:
Package: disrank2
Disrank2Simple lib to make good looking discord rank & welcome card. For any bug report, please come on my discord bot's support server :https://discord.gg/7DW9T5prRMUsage for Rank card generatorfromdisrank2.generatorimportRankgeneratorargs={'bg_image':'',# Background image link'profile_image':'',# User profile picture link'level':1,# User current level'current_xp':0,# Current level minimum xp'user_xp':10,# User current xp'next_xp':100,# xp required for next level'user_position':1,# User position in leaderboard'user_name':'Name#0001',# user name with descriminator'user_status':'online',# User status eg. online, offline, idle, streaming, dnd'text_color':'#ff7300',# Text color in HEX}image=Generator().generate_profile(**args)# In a discord commandfile=discord.File(fp=image,filename='image.png')awaitctx.send(file=file)Usage for Welcome card generatorfromdisrank2.generatorimportWelcomegeneratorargs={'bg_image':'',# Background image link'profile_image':'',# User profile picture link'level':1,# User current level'current_xp':0,# Current level minimum xp'user_xp':10,# User current xp'next_xp':100,# xp required for next level'user_position':1,# User position in leaderboard'user_name':'Name#0001',# user name with descriminator'user_status':'online',# User status eg. online, offline, idle, streaming, dnd'text_color':'#ff7300',# Text color in HEX}image=Generator().generate_profile(**args)# In a discord commandfile=discord.File(fp=image,filename='image.png')awaitctx.send(file=file)
Package: disrepair
disrepairChecks for out-of-date Python packages in requirements filesInstallRunpip install disrepairUsagePass the requirements file to disrepair:disrepair path/to/requirements.inThere are several options:-v, --verbose           Show all package statuses
  -i, --info              Show likely package changelog/info links
  -b, --boring            Disable the rich text formatting
  -j, --json-repo TEXT    Repository URL for the JSON API
  -s, --simple-repo TEXT  Repository URL for the Simple API
  -S, --simple-only       Only use the Simple API to lookup versions
  -J, --json-only         Only use the JSON API to lookup versions
  -p, --pin-warn          Warn when a package version is not pinned
Package: disropt
Welcome to DISROPTReference docs|Install guide|Getting startedDISROPTis a Python package developed within the excellence research program ERC in the projectOPT4SMART.
The aim of this package is to provide an easy way to run distributed optimization algorithms that can
be executed by a network of peer computing systems.A comprehensive guide to DISROPT can be found in thedocumentation.
The package is equipped with some commonly used objective functions and constraints which can be directly used.DISROPTcurrently supports MPI in order to emulate peer-to-peer communication. However, custom communication protocols can be also implemented.InstallationDISROPTworks on Python 3.7 and requires an MPI implementation to be installed on your system.It relies onnumpyscipympi4pyautogradosqp (optional, but required for some features)cvxopt (optional, but required for some features)cvxpy (optional, but required for some features)pip installationpip install disroptGetting startedQuickstartTutorialDistributed optimization set-upsUsing functions and constraintsDefining local data and problemsCreating agentsAlgorithmsExamplesCitingDISROPT@article{farina2019disropt,
  title={DISROPT: a Python Framework for Distributed Optimization},
  author={Farina, Francesco and Camisa, Andrea and Testa, Andrea and Notarnicola, Ivano and Notarstefano, Giuseppe},
  journal={arXiv},
  archivePrefix = {arXiv},
  eprint = {1911.02410},
  year={2019}
}ConstributorsDISROPTis developed byFrancesco Farina,Andrea Camisa,Andrea Testa,Ivano Notarnicola, andGiuseppe NotarstefanoAcknowledgementsThis result is part of a project that has received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No 638992 - OPT4SMART).
Package: disruptive
Disruptive Technologies Python ClientDocumentationPython API ReferenceDeveloper DocumentationInstallationThe package can be installed through pip:pipinstall--upgradedisruptiveor from source:pipinstall.RequirementsPython 3.8+AuthenticationThe package is authenticated by providingService Accountcredentials in either of the following ways.By setting the following environment variables:exportDT_SERVICE_ACCOUNT_KEY_ID="<SERVICE_ACCOUNT_KEY_ID>"exportDT_SERVICE_ACCOUNT_SECRET="<SERVICE_ACCOUNT_SECRET>"exportDT_SERVICE_ACCOUNT_EMAIL="<SERVICE_ACCOUNT_EMAIL>"By providing the credentials programmatically:importdisruptiveasdtdt.default_auth=dt.Auth.service_account(key_id="<SERVICE_ACCOUNT_KEY_ID>",secret="<SERVICE_ACCOUNT_SECRET>",email="<SERVICE_ACCOUNT_EMAIL>",)SeePython API Authenticationfor more details.UsageOnce authenticated, most functionality can be accessed through resource methods on the following format.disruptive.<Resource>.<method>()A few common uses are showcased in the snippet below. See thePython API Referencefor full documentation.importdisruptiveasdt# Fetch a sensor, specified by its ID.sensor=dt.Device.get_device('<DEVICE_ID>')# Printing the returned object will list all attributes.print(sensor)# Set a new label on the sensor.dt.Device.set_label(sensor.device_id,sensor.project_id,key='nb',value='99')# Get touch- and temperature event history for the sensor.history=dt.EventHistory.list_events(sensor.device_id,sensor.project_id,event_types=[dt.events.TOUCH,dt.events.TEMPERATURE,])# Initiate an event stream for all devices in the sensor's project.foreventindt.Stream.event_stream(sensor.project_id):# Print new events data as they arrive.print(event.data)LoggingThe simplest method is enabled by settingdisruptive.log_level.dt.log_level=dt.logging.INFOIf more fine-grained control is desired, the standard libraryloggingcan also be used.logging.basicConfig(filename='example.log',format='[%(asctime)s.%(msecs)03d]%(levelname)-8s-%(message)s',datefmt='%Y-%m-%d%H:%M:%S',)logging.getLogger('disruptive').setLevel(logging.INFO)For both methods, the standard levelsDEBUG,INFO,WARNING,ERROR, andCRITICALare supported.ExamplesA fewexampleshas been provided. Before running, the required environment variables listed at the start of each example must be set.pythonexamples/example_name.pyExceptionsIf a request is unsuccessful or has been provided with invalid parameters, an exception is raised. A list of available exceptions are available in theAPI Reference.DevelopmentSet up the development virtualenv environment:makeRun unit-tests against the currently active python version:make testLint the package code using MyPy and flake8:make lintBuild the package distribution:make build
Package: disruptive-cli
disruptive-cliUnofficial Command-Line Interface (CLI) for the Disruptive Technologies (DT) API.DT REST APIDT Python APIDT Developer DocumentationInstallationThe package is hosted on PyPI and is available through pip.pipinstall--upgradedisruptive-cliSupports Python 3.8+.AuthenticationUsingService Accountcredentials, set the following environment variables.exportDT_SERVICE_ACCOUNT_KEY_ID="<SERVICE_ACCOUNT_KEY_ID>"exportDT_SERVICE_ACCOUNT_SECRET="<SERVICE_ACCOUNT_SECRET>"exportDT_SERVICE_ACCOUNT_EMAIL="<SERVICE_ACCOUNT_EMAIL>"UsageCall thedtcommand using adt NOUN VERBsyntax.List all available projects.dtprojectlistGet a single device.dtdeviceget<DEVICE_ID>Seedt -hfor additional commands.CompletionBash completion is currently supported. Copy the completion script indisruptive-cli/completionto your place of choice in path, then source it from either.bashrc,.bash_profile, or.profiledepending on your environment.source '/usr/local/bin/dt-completion.bash'FormattingA tabular human readable output is prioritized.HeadersColumn headers are removed for single columns or if the--no-headerflag is provided.FiltersA select set of columns are shown per resource. Use the--fullflag to output all available information.On the other hand, the--includecan be used to include only specified columns in output.Other FiletypesThe following formats are supported.--json--csv--tsvChaining CommandsPipes are supported using the-symbol to make chaining commands simpler.The following example lists all projects, then pipes theproject-idcolumn to theserviceaccountcommand to list all available Service Accounts per project. The output is formatted as.jsonand piped intojqfor further processing.dtprojectlist--includeproject-id|dtserviceaccountlist---json|jqDevelopmentVirtualenv is used for dependency isolation, wrapped by the following commands.Build the distribution:makebuildRemove build-files:makeclean
Package: dissect.btrfs
dissect.btrfsA Dissect module implementing a parser for the Btrfs file system, a commonly used Linux filesystem. For more
information, please seethe documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.btrfsis available onPyPI.pipinstalldissect.btrfsThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.cim
dissect.cimA Dissect module implementing a parser for the Windows Common Information Model (CIM) database, used in the Windows
operating system. For more information, please seethe
documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.cimis available onPyPI.pipinstalldissect.cimThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.clfs
dissect.clfsA Dissect module implementing a parser for the CLFS (Common Log File System) file system of Windows.
Currently only supports the persistent variant. For more information,
please seethe documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.clfsis available onPyPI.pipinstalldissect.clfsThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.contrib
dissect.contribThis project is a meta package. It reserves the namespace for Dissect packages made by external contributors.We encourage contributions to the Dissect project, in both the existing projects as well as entirely new ones.
We kindly request that you use thedissect.contribnamespace prefix for your package names. For example, a new project formyfilesystemwould be calleddissect.contrib.myfilesystem.For more information on developing for Dissect, please seethe documentation.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe style guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.contrib.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.esedb
dissect.esedbA Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB), used for example in
Active Directory, Exchange and Windows Update. For more information, please seethe
documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.esedbis available onPyPI.pipinstalldissect.esedbThis module is also automatically installed if you install thedissectpackage.ToolsImpacket compatibility shim for secretsdump.pyImpacket does not (yet) have native support fordissect.esedb,
so in the meantime a compatibility shim is provided. To use this shim, simply installdissect.esedbusing the
instructions above, and executesecretsdump.pylike so:python-mdissect.esedb.tools.impacket/path/to/impacket/examples/secretsdump.py-hImpacketsecretsdump.pywill now usedissect.esedbfor parsing theNTDS.ditfile, resulting in a nice performance improvement!Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0). For more information, see the LICENSE file.
Package: dissect.etl
dissect.etlA Dissect module implementing a parser for Event Trace Log (ETL) files, used by the Windows operating system to log
kernel events. For more information, please seethe
documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.etlis available onPyPI.pipinstalldissect.etlThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.eventlog
dissect.eventlogA Dissect module implementing parsers for the Windows EVT, EVTX and WEVT log file formats. For more information, please
seethe documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.eventlogis available onPyPI.pipinstalldissect.eventlogThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.evidence
dissect.evidenceA Dissect module implementing a parsers for various forensic evidence file containers, currently: AD1, ASDF and EWF. For
more information, please seethe documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.evidenceis available onPyPI.pipinstalldissect.evidenceThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Package: dissect.executable
dissect.executableA Dissect module implementing parsers for various executable formats such as PE, ELF and Macho-O. For
more information, please seethe documentation.RequirementsThis project is part of the Dissect framework and requires Python.Information on the supported Python versions can be found in the Getting Started section ofthe documentation.Installationdissect.executableis available onPyPI.pipinstalldissect.executableThis module is also automatically installed if you install thedissectpackage.Build and test instructionsThis project usestoxto build source and wheel distributions. Run the following command from the root folder to build
these:tox-ebuildThe build artifacts can be found in thedist/directory.toxis also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:toxFor a more elaborate explanation on how to build and test the project, please seethe
documentation.ContributingThe Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer tothe development guide.Copyright and licenseDissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc
(https://www.nccgroup.com).Developed by the Dissect Team (dissect@fox-it.com) and made available athttps://github.com/fox-it/dissect.License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.