Saravanan666/pypi-org huggingface dataset:
Package: deaddrops
deaddropsA simple python library to interact with thedead drops websitefunctionalities.FeaturesWith this you can :Get the dead drop database statistics and content ;Search through dead drop database content ;Sumbit a dead drop ;InstallationInstall it with pip :$ pip install deaddropsUsageSee thedocs/README.md file to get the library documentation.Ideas and enhancementsIf you have any idea to enhance this tool, please express them in the issue section.
Package: dead-function-finder
Utility to locate functions that are declared but never used in a
codebase.Languages supportedPythonPHPInstallationUsing PIPpip3installdead-function-finderFrom sourcesgitclonehttps://github.com/gabfl/dead_function_finder.git&&cddead_function_finderpip3install.Usagedead_function_finder--path"~/my/codebase"--languagepython# Specific patterns can be excluded with --exclude:dead_function_finder--path"~/my/codebase"--languagepython--exclude'/venv/,/unittest/'LimitationsThe program searches for unique function names; it is not currently
aware of class context.Functions called with magic methods or whose names are dynamically
resolved might result in false positives.
Package: deadgargoyle
Identifies Gargoyle switches that are no longer necessaryFree software: Apache2Documentation:https://deadgargoyle.readthedocs.org.FeaturesSearch through Gargoyle switches configuring in Djangosettingsmodules.TODO: Reports Gargoyle switch record orphans.ThanksBartek Ogryczak (@vartec) for giving me the inspiration.History0.1.0 (2015-03-27)First release on PyPI.
Package: dead-hosts-launcher
The launcher of the Dead-Hosts infrastructure and project.Installation$ pip3 install --user dead-hosts-launcherConfigurationTo work, the launcher will look for a file namedinfo.jsonin
your current directory.The file should look like follow:{
    "currently_under_test": false, # Don't touch this.
    "custom_pyfunceble_config": {}, # Put your PyFunceble custom configuration here.
    "days_until_next_test": 0.0,  # Ask an admin. Otherwise, this is the number of days between each authorizations.
    "name": "[repository-name]",  # The name of the current repository. WARNING: Paritially autocompleted under CI.
    "own_management": false,  # You are the one managing the PyFunceble configuration.
    "ping": [],  # Put your GitHub username here to get a mention at the end of the test of your file.
    "raw_link": "[URL]" # Put the link to your file. Or leave empty and fill the origin.list file.
}Persistent configurationThe launcher has some hard-coded configuration that can’t be changed. Even
if you try to overwrite them, the configuration will just overwite them.Please consider the following as a flatten representation of the PyFunceble
configuration. Meaning that each.is a nested dictionary.{
    "cli_testing.cooldown_time": 1.25,
    "cli_testing.display_mode.execution_time": True,
    "cli_testing.ci.max_exec_minutes": 20,
    "cli_testing.max_workers": 1,
}Usageusage: dead_hosts_launcher [-h] [-d] [-s] [-e] [-v]

The launcher of the Dead-Hosts infrastructure.

optional arguments:
    -h, --help     show this help message and exit
    -d, --debug    Activate the logging in verbose mode..
    -s, --save     Declare a test as 'to be continued'.
    -e, --end      Declare a test as completly finished and generate
                    `clean.list`.
    -v, --version  Show the version of and exit.

Crafted with ♥ by Nissar Chababy (@funilrys)LicenseMIT License

Copyright (c) 2019, 2020, 2021, 2022 Dead Hosts
Copyright (c) 2019, 2020. 2021, 2022 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: deadline-docker-submission
Deadline Docker submission™Deadline Docker Submission allows for submission of docker jobs to the deadline
render farm manager. Assumptions are that the docker daemon is of course installed on
the workers, and that the daemon is actually running. This should also support any flavor of
host operating system for clients/workers.deadline-docker-submission officially supports python 2.7 and up.Behold, the power of deadline-docker-submission. This will run the canonical "docker hello-world example on
any deadline worker in the "docker" pool :>>> from dds import DeadlineDockerSubmitter as dds
>>> return dds()('run hello-world', 'docker hello world job, 50)
0From the command linedeadline_docker_submission.exe -d -c "run hello-world" -n "docker hello world job" -p 50gitlab-projectInstallationdeadline_docker_submission is available on pypi.orgTo install deadline-docker-submission, simply usepipenv(or pip, of course):$ pipenv install deadline_docker_submission
Package: deadlineutils
Deadline Standalone API utilitiesDeadlineConnectionWrapsDeadline.DeadlineConnect.DeadlineConproviding additional
functionality. Can be used as a ContextManager:with DeadlineConnection('localhost', 8080) as c:
    best_pool = c.get_best_pool(prefix='maya')Here we get the best possible pool for the next job submission with the
prefixmaya.
Package: deadlink
Parses text files for HTTP URLs and checks if they are still valid. Install withpip install deadlinkand use asdeadlinkcheckREADME.md# or multiple files/directories# or deadlink c README.mdTo explicitly allow or ignore certain URLs, usedeadlink check README.md -a http: -i stackoverflow.com githubThis only considers URLs containinghttp:andnotcontainingstackoverflow.comorgithub. You can also place allow and ignore lists in the config file~/.config/deadlink/config.toml, e.g.,allow_urls=["https:"]ignore_urls=["stackoverflow.com","math.stackexchange.com","discord.gg","doi.org"]igonore_files=[".svg"]Seedeadlink check -hfor all options.
Usedeadlinkreplace-redirectspaths-or-files# or deadlink rr paths-or-filesto replace redirects in the given files. The same filters as fordeadlink checkapply.Example output:Similar projects:awesome_botbröklink-verifier
Package: dead-link-detective
Dead Link DetectiveDead Link Detective is a simple asynchronous dead link detector for any website. It can be used to check the status of all the links on a given website.InstallationTo install Dead Link Detective, you need to have Python installed on your machine. You can then install it using pip:pipinstalldead-link-detectiveUsageDead Link Detective can be used as a command line tool or as a Python library.Command LineTo use Dead Link Detective as a command line tool, you can run the following command:dead-link-detective<url>-aThis will check all the links on the given website asynchronously and print out the results. You can also use the-sflag to check the links synchronously. You can use the-hflag to see all the available options.TestsTo run the tests, you can use the following command:python-munittestdiscoverLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactAhmed Munna -munnaa329@gmail.com
Package: deadlinks
Health checks for your documentation links.FeaturesConcurrent and recursive checksRespect robots.txt restrictions (content only)External links checksChecking links within base url pathRetries in the case of502,503and504http errorsInstallingUsing package installer for Python# using pip - package installer for PythonpipinstalldeadlinksMac# we using custom tap to install deadlinksbrewinstallbutuzov/deadlinks/deadlinksUsing forked repo for development propose.# activate virtual environment to keep your local site-packages clean.python3-mvenv.venvsource.venv/bin/activate
pipinstall--upgradepip# in case if you developing within forked repositorycd/home/path/to/deadlinks
pipinstall-rrequirements.txt
pipinstall-e.UsageSee more examples atdocs# Check links (including external) at http://gobyexample.com/ in 10 threads,# but not ones that leading to domains play.golang.org or github.comdeadlinksgobyexample.com-n10-e-dplay.golang.org-dgithub.com# Limiting check only to links found within /docs path.deadlinkshttp://localhost:1313/docs# Running checks for all local links that belong to a domain.deadlinkshttp://localhost:1313/docs/-n10--full-site-check# Checking local html filesdeadlinksinternal-n10--root=/var/html# Help yourselfdeadlinks--helpContributingHere is a quick start guide to contributing todeadlinksForkdeadlinksrepository.Createfeaturebranch based ondevelop.Install package usingdevelopmentinstructions.Implement your feature and test it withmake testsandmake lints.Createpull requestback todevelopmentbranch.All your contributions are welcome!
Package: deadlinkz
deadlinkzPython tool that checks for dead urls in a txt or html fileFeaturesGood links will appear green, bad will appear red, and unknown will appear greySupports windows and linux style arguments (e.g, --version and -v both work for version)Supports parallelization via the use of threadsGets only request headers for optimizationRun InstructionsTo run open cmd in root of the repo, and type main.py followed by one of the supported arguments:-a or --all filename.extension to check all URLs in file-g or --good filename.extension to check only good URLs in file-b or --bad filename.extension to check only bad URLs in file-v or --version-h or --helpError CodesAn error code of0means that the program functioned as correctly,1can appear when checking for all files and means that
a broken/invalid URL was found in the file, and2means that the specified file could not be found.To get the error code after the program has functioned, you can use:echo %ERRORLEVEL%after execution finishes.Please note that index.txt is for test purposes only and you can modify/remove the file if you want to
Package: deadlock-cli
Tools to create, run your Deadlock challenges.Helpdcli--helpDocumentation about challenges.Install from pippipinstalldeadlock-cli--userIf it does not work make sure you have your PATH correctly set:export PATH=$PATH:/home/$USER/.local/binInstall from sourcesgitclonehttps://github.com/deadlock-resources/dcli.gitcddcli/
pip3install.Get dcli versiondcliversionGenerate missiondcligen(java|python|cpp|c|kotlin)Execute missiondclisolve./mission_path
dclirun./mission_pathExecute metamorph missionTo execute your multi language mission:# running the Java codedclisolve.java
dclirun.java# running the Python codedclisolve.python
dclirun.pythonUse verbose modeIf you want more information when you launch the containers you can use the verbose mode with the flag--verbose. It also allows you to have more detail on some errors.# running code with verbose modedclirun.--verbose
dclisolve.--verboseTodoAdd Haskell generator languageBuild archive from sourcespythonsetup.pysdist
Package: dea-dnsup
dea-dnsupCommand line utility to update DNS on route53 from EC2 instanceInstallationpip install dea-dnsupUsageRundea-dnsup --helpModify DNS record of EC2 instance:

arguments: domain_name|tag/<tag name containing domain name> [auto|delete|ip]

Examples:
  test.devbox.dea.ga.gov.au
  test.devbox.dea.ga.gov.au auto
  test.devbox.dea.ga.gov.au 3.44.10.22
  tag/domain auto
  tag/domain deleteFor this to work, EC2 instance should have permissions to update DNS record in
the right zone. For DEA when using{something}.devbox.dea.ga.gov.authe policy
isdevbox-route53.
Package: dead-salmon-brain
Dead salmon brainPython API for analysis A/B experimentsGetting StartedBuild from source1) Clone git repository
2) Create virtual environment or activate existed pyspark env
3) Check spark,scala,hadoop and set correct in 4 step
4) bash setup.sh spark=3.1.2 scala=2.12.15 hadoop=3.2 is_build=true is_install_python_lib=trueSetup from released packages1)Clonegitrepository2)Createvirtualenvironmentoractivateexistedpysparkenv3)Checkspark,scala,hadoopandsetcorrectin4step4)bashsetup.shversion=0.0.4spark=3.1.2scala=2.12.15hadoop=3.2is_build=falseis_install_python_lib=trueExamplesColab example
https://colab.research.google.com/drive/1uzxBpkpxVDLNhIcS2clfeOJK57AbH-pf?usp=sharing

Jupyter example you can find in python/examples.
But before you should read how to configure jupyter with pyspark.
Package: deadsimple
deadsimpleA dependency injection library for python, aimed for the least amount of magic.Heavily influenced byFastAPI's dependency injection classes and logic.Simple ExamplefromdataclassesimportdataclassfromdeadsimpleimportDepends,resolve@dataclassclassDepA():dep_b:DepB@dataclassclassDepB():value:strdefget_dep_b()->DepB:returnDepB(value="some val")defget_dep_a(dep_b:DepB=Depends(get_dep_b))->DepA:returnDepA(dep_b=dep_b)my_a=resolve(get_dep_a)assertmy_a.dep_b.value=="some val"Dependencies will instantiate once per factory for each call toresolve.@dataclassclassDepC():dep_a:DepAdep_b:DepBdefget_dep_c(dep_a:DepA=Depends(get_dep_a),dep_b:DepB=Depends(get_dep_b),)->DepC:returnDepC(dep_a=dep_a,dep_b=dep_b)my_c=resolve(get_dep_c)assertmy_c.dep_bismy_c.dep_a.dep_bFor Singleton uselru_cacheorcachefromfunctoolsfromfunctoolsimportlru_cache# or from functools import cache if you're 3.9+@dataclassclassSingleton():pass@dataclassclassNotSingleton():singleton_dep:Singleton@lru_cachedefget_singleton()->Singleton:returnSingleton()defget_not_singleton(singleton:Singleton=Depends(get_singleton))->NotSingleton:returnNotSingleton(singleton_dep=singleton)not_singleton_a=resolve(get_not_singleton)not_singleton_b=resolve(get_not_singleton)assertnot_singleton_aisnotnot_singleton_bassertnot_singleton_a.singleton_depisnot_singleton_b.singleton_depOverride dependencies:override_dep_b=DepB(value="some other val")my_a=resolve(get_dep_a,overrides={get_dep_b:override_dep_b})assertmy_a.dep_b.value=="some other val"Generator factory methods:defget_dep_b()->DepB:print("enter b")yieldDepB(value="some val")print("exit b")defget_dep_a(dep_b:DepB=Depends(get_dep_b))->DepA:print("enter a")yieldDepA(dep_b=dep_b)print("exit a")resolve(get_dep_a)# prints:# enter b# enter a# exit a# exit bLazy / optional resolution:fromdeadsimpleimportLazydefget_dep_b()->DepB:print("enter b")returnDepB(value="some val")defget_dep_a(dep_b=Lazy(get_dep_b))->DepA:print("enter a")returnDepA(dep_b=dep_b.lazy)resolve(get_dep_a)# prints:# enter a# enter bControlled dependency lifetime scope:fromdeadsimpleimportresolve_opendefget_dep_b()->DepB:print("enter b")yieldDepB(value="some val")print("exit b")withresolve_open(get_dep_b)asdep_b:print("inside")# prints:# enter b# inside# exit bTodoLazy resolutionAsync supportBetter performance benchmarksInstallingpip install deadsimple
Package: deadsimplevenv
💀💀💀 deadsimplevenvSimple wrapper for python venvIf you want to automate python project structure creation and great projects asPOETRYcannot be used in your envinronment, you can trydeadsimplevenv. It does not add anything special and it stucks with basic python setuptools 🛠.How to useWhat it does for meIt will create following folder structure by default:.
├──.cz.toml
├──.git
├──.gitignore
├──.venv
├──LICENSE
├──README.md
├──my_ultra_mega_project
│└──__ini__.py
├──setup.cfg
└──setup.pyIt will create venv and install/upgrade following packages (you can add/remove packages in yourconfig):pipsetuptoolswheelblackpylintcommitizenIt will connect to your devops platform (github or gitlab) and create project and make initial commit.Installation# Make dir for deadsimplevenvλmkdirdeadsimplevenv&&cddeadsimplevenv# Use python -m venv for the last time :))λpython-mvenv.venv&&source.venv/bin/activate# Install deadsimplevenvλ[.venv]pipinstalldeadsimplevenv# OPTIONAL - make alias for deadsimplevenvλ[.venv]whichdeadsimplevenv
/path/to/the/deadsimplevenv/.venv/bin/deadsimplevenv
λ[.venv]echo"alias deadsimplevenv=/path/to/the/deadsimplevenv/.venv/bin/deadsimplevenv">>~/.bashrc
λ[.venv]source~/.bashrcToken neededYou need to specifygitlaborgithubtoken in theconfig file.OptionsUsage:deadsimplevenv[OPTIONS]Youcanloadcustomconfigfrom~/.config/deadsimplevenv

Options:-p,--projectPATHProjectname-d,--descriptionTEXTBriefprojectdescription-u,--usernameTEXTYourusername-n,--nameTEXTYourfullname-e,--emailTEXTYouremailadress-l,--license[MIT|GNU|EMPTY]Projectlicense--devops_platform[github|gitlab]Yourdevopsplatform--devops_urlTEXTYourdevopsurl--devops_groupTEXTYourdevopsgroup--makerepoCreaterepoinDEVOPS--norepoDonotcreaterepoinDEVOPS--private/--publicCreaterepoinDEVOPS[default:True]--tokenTEXTDEVOPStoken--helpShowthismessageandexit.Config fileYou can make your own config file in default config locations for each platform:Other Unix: $XDG_CONFIG_HOME/app and ~/.config/deadsimplevenvOS X: ~/.config/app and ~/Library/Application Support/deadsimplevenvCheckexample configin examples folder for possible parameters.
Package: deafadder-container
deafadder-containerA container library to manage dependencies between services and componentà la springbut usingmetaclass.This library provide a way to manageComponentsin a python application.
AComponentbeing a kind of singleton (meaning, unless specified, it will be a singleton) that can automatically link (inject) dependencies if
those dependencies are other v`Components`.For those familiar with Java, the base idea comes from Spring where it is easy to inject Components into other Components without having to deal with
the all the manual wiring and object initialization. While this library as been inspired by the autowiring mechanism of Spring, it is still immature,
with a reduced scope and present some limitation (due tometaclass). While some limitation are expected to change in future version, it’s future is still
uncertain, so use with caution.DocumentationJust follow this link:https://deaf-adder.github.io/deafadder-container/#/Fancy a more example base approach ? The documentation is full of examples and the tests files should be enough to have a better understanding of
what can be achieved.Expected future developmentsgetting rid of themetaclassto achieve the same, or similar, result(why ? Because I’d like to include dependency injection based on ABC class
which are :code:`metaclass` and one object could not extends an ABC class and be have a :code:`Component` metaclass as well)add a section to present projects build around this library
Package: deafrica-tools
Digital Earth Africa Tools PackagePython functions and algorithms developed to assist in analysing Digital Earth Africa data (e.g. loading data, plotting, spatial analysis, machine learning).InstallationThis module is automatically installed on the Digital Earth Africa Sandbox. If for some reason the module isn't available on the Digital Earth Africa Sandbox, you can alsopip installthe module from the terminal.You can install thedeafrica-toolspackage from PyPI using:python -m pip install --extra-index-url="https://packages.dea.ga.gov.au" deafrica-toolsor install the package from theToolsdirectory:python -m pip install --extra-index-url="https://packages.dea.ga.gov.au" -e Tools/To install this module from the source on any other system withpip:python -m pip install --extra-index-url="https://packages.dea.ga.gov.au" git+https://github.com/digitalearthafrica/deafrica-sandbox-notebooks.git#subdirectory=ToolsCiting Digital Earth Africa ToolsThe code in this module is an adaptation of code from theDigital Earth Australiadea-toolspackage. If you use any of the code in this repository in your work, please reference them using the following citation:Krause, C., Dunn, B., Bishop-Taylor, R., Adams, C., Burton, C., Alger, M., Chua, S., Phillips, C., Newey, V., Kouzoubov, K., Leith, A., Ayers, D., Hicks, A., DEA Notebooks contributors 2021. Digital Earth Australia notebooks and tools repository. Geoscience Australia, Canberra. https://doi.org/10.26186/145234TranslationTranslation of the module into other languages is done usinggettextandpot/po/mofiles.We welcome contributors to help in translating the project by joining this projecthttps://poeditor.com/join/project?hash=0Q33A7sRM6.The template.potfile can be generated by runningpybabel extract -o deafrica_tools.pot *from theTools/directory.This file can then be uploaded to thedeafrica_tools projecton POEditor.comTo get the most recent terms and translations, download the files from thedeafrica_tools projectand export the thedeafrica_tools.poanddeafrica_tools.mofiles to thedeafrica_tools/locales/fr/LC_MESSAGES/directory.Currently, uploading and downloading terms and translations is accomplished using Github Actions.In python code, strings surrounded by an underscore function_('')will be translated.This_()function is declared as a global afterdeafrica_tools.set_lang('fr')is called.Callingdeafrica_tools.set_lang()with no argument will use the language set by JupyterLab underSettings -> Language.Seewetlandsinsighttool.pyas an example.
Package: deahub
安装Deatool首先需要您电脑内装有Python，且版本号低于3.9在CMD命令行输入：pip install deahub由于需要安装相关依赖库，可能需要一段时间，请您耐心等待安装完成使用Deatool可以选用以下两种方式打开Deahub在CMD命令行输入：python -m deahub[推荐]直接在CMD命令行输入：deahubDeatool功能介绍恭喜您已经成功打开了Deahub，接下来将向您介绍这个Python库的功能：计算CCR模型、BCC模型、SBM模型、DDF模型的效率值针对以上模型可以选取不同的规模报酬性，分别是：CRS（constant returns to scale），VRS（variable returns to scale）选择CCR模型，会自动输出CCR、BCC模型下的效率值，并判断规模报酬情况针对DDF模型可以选取不同的方向并设置对非期望产出的处置性针对SBM模型可以输出相应指标的改进量（投入冗余与产出不足）可以处理包含非期望产出的模型可以选取不同的主流处理器，目前支持：Gurobi，Cplex，Glpk，请根据您的求解器安装情况来选取求解器