Saravanan666/pypi-org huggingface dataset:
Package: dnszonetest
DNS Zone TestDns Zone Test tests a DNS zone file agaist a given name server.Free software: ISC licenseDocumentation:https://dnszonetest.readthedocs.ioGitHub:https://github.com/maartenq/dnszonetestPyPi:https://pypi.python.org/pypi/dnszonetestTravis CI:https://travis-ci.org/maartenq/dnszonetestCodecov:https://codecov.io/github/maartenq/dnszonetestFeaturesTest all resources in a given zonefile to given nameserver.CreditsThis package was created withCookiecutterand themaartenq/cookiecutter-pypackageproject template.History1.1.3 (2017-08-11)requirements updateRemoved Python2.6 testing1.1.2 (2017-08-11)requirements update1.1.1 (2017-01-31)Makefile update release to PyPi1.1.0 (2017-01-31)Better output.Updated requirements.1.0.7 (2017-01-16)Updated requirements.1.0.6 (2016-10-14)Updated requirements.1.0.5 (2016-09-01)Update requirements.1.0.4 (2016-08-28)Removed Travis deploy to PyPi.1.0.3 (2016-08-28)Bumped version to test Travis deploy to PyPi.1.0.2 (2016-08-28)Removed dev requirementsUpdate Travis key1.0.1 (2016-08-28)Updated dependenciesTravis key1.0.0 (2016-08-21)PyPi deployment via Travic CIREADME.rst updatesPackage removed from requirments_dev.txtRemove pytest command from setup.pyMade sure flake8 and docs will run with Py27 in tox (will fail inP26).gitignore + OS X and VIM file0.3.7 (2016-08-19)requirements: Update pytest to 3.0.00.3.6 (2016-08-13)requirements: Update dnspython to 1.14.00.3.5 (2016-08-13)ISC LicensePinned requirementsTravis/Tox fixes0.3.4 (2016-06-11)Factored outpytest-runner. Removessetuptools_scmdependency which
breaks RPM build on RHEL6.Added recursive remove on*.eggin Makefile.0.3.3 (2016-06-11)Add log to file option.0.3.2 (2016-05-12)Addedargparseas requirement for Python 2.6.0.3.1 (2016-05-12)Update installation docs.0.3.0 (2016-05-11)First working version0.2.3 (2016-02-06)Tests on cliProject stuff0.2.2 (2016-01-21)First release on PyPI.
Package: dnullproject-iot
HomeAssistant - Awtrix Light - MQTTWhat to showBinancecurrent BTC priceNotioncurrent tasksUsageInstallConfigureIconsGet icon ID fromLaMetric.Go to yourAwtric, select "Icons tab". Paste icon ID, preview and download it to Awtrix.View config to get list of icons you need to download.TODO[] nutrition[] ActualBudget - spend per day
Package: dnuos
Dnuos is a console program that creates lists of music collections, based on
directory structure.For example, a list might look like this:Album/Artist                       |  Size | Type | Quality
===========================================================
Ambient                            |       |      |
    Alva Noto                      |       |      |
        2001 - Transform           | 70.9M | MP3  | -V2
        2004 - Transrapid          | 30.2M | MP3  | -aps
        2005 - Transspray          | 31.7M | MP3  | -aps
        2005 - Transvision         | 32.3M | MP3  | -aps
    Alva Noto and Ryuichi Sakamoto |       |      |
        2002 - Vrioon              | 72.6M | MP3  | -aps
        2005 - Insen               | 99.1M | MP3  | 320 C
        2006 - Revep               | 27.9M | MP3  | -V2nThe list format is completely customizable and can be plain text or HTML.Dnuos supports MP3, AAC, Musepack, Ogg Vorbis, and FLAC audio files. Quality
profile detection is also supported, includingLAME quality presetinformation.Audio file information is saved to disk after a list is made for the first
time, making subsequent lists much faster to generate. Only audio files and
directories that have been changed since the last list was made are
analyzed.Dnuos is based on code fromOidua. Oidua makes similar lists, but is much
older, has fewer features, and is no longer maintained.
Package: dnutils
Welcome to dnutilsInstall dnutils with:pip install dnutilsChanges 0.3.6new functions in tools, console, debug, statsnew modules math, datesChanges 0.3.5fixed signals on Windows machines.Changelog 0.2.9Changelog 0.2.8import error “monotonic” in threadsafe on python 2import threads.Timer in __init__.pyfixed internal representation in Gaussian
Package: dnv-bladed-models
Bladed Next Gen Python Models APIdnv_bladed_models=0.3.44A Python package to easily work with JSON input models for Bladed Next Generation.Visithttps://bladednextgen.dnv.com/for more information.PrerequisitesRequires Python 3.7 or aboveUsageLoad a JSON model from file:importdnv_bladed_modelsasmodelsanalysis=models.BladedAnalysis.from_file('/path/to/analysis.json')Modify a model object in code:analysis.SteadyCalculation.TipSpeedRatioRange.Minimum=4.analysis.SteadyCalculation.TipSpeedRatioRange.Maximum=10.analysis.SteadyCalculation.TipSpeedRatioRange.Interval=0.1Work with a turbine assembly component in the Component Library, in code:blade:models.Blade=analysis.ComponentDefinitions['Blade']Save a model to a JSON file:analysis.to_file('/path/to/file.json')Create a new model object programmatically:beam=models.LidarBeam(MountingPosition=models.LidarMountingPosition(X=1,Y=2,Z=3))Render a model as a JSON string:json_str=blade.to_json()Load a model from a JSON string:blade=models.Blade.from_json(json_str)
Package: dnx-data
dnx-dataThis is the DNX data solution package.SetupDependenciesPython 3Python Virtual Environment# Create environmentpython3-mvenvenv# To activate the environmentsourceenv/bin/activate# When you finish you can exit typingdeactivateInstall and test module#### Install dependencies and modulepip3install--editable.AuthorsModule managed byDNX Solutions.LicenseApache 2 Licensed. SeeLICENSEfor full details.
Package: dnxmy
Dnxmy: Dummy Data for Machine Learning and StatisticsPython module for creating dummy data sets for testing machine learning and statistical analysis.UsageRequirementsTested in the following environments.Python 3.6 or higherNumpy 1.22.4 or higherPandas 1.4.4 or higherInstallationUse pip to install the binary wheels on PyPI.$pipinstalldnxmyImportimportdnxmyExampleThe following notebook is a reference case study using this library.Experiments on missing data completionExperiments on model selection for AIC and BICSupportBugs may be reported atissues.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.DocumentationThe documentation is available atdocs.ContactIf you have any questions or comments about Dnxmy,
please feel free to contact me via
eMail:curious.yamamon@gmail.comor Twitter:https://twitter.com/rosei_richoThis project is hosted athttps://github.com/roseiricho/dnxmy
Package: dnxsso
dnxssoYet Another AWS SSO - sync up AWS CLI v2 SSO login session to legacy CLI v1 credentials.Do I need it?Seehttps://github.com/DNXLabs/dnxsso/wikiPrerequisiteRequiredAWS CLI v2Assume you have already setupAWS SSOfor your organizationTL;DRInstalllatest from PyPIlike so:pip install dnxssoDo your per normal SSO login and, have at least one org-level SSO login session cache:aws sso login --profile=devTo sync for all named profiles (e.g. dev, prod, stag, ...), then just:dnxssoTo sync default profile and all named profiles, do:dnxsso --defaultTo sync default profile only, do:dnxsso --default-onlyTo sync for selected named profile, do:dnxsso -p devTo sync for multiple selected named profiles, do:dnxsso -p dev prodTo sync for default profile as well as multiple selected named profiles, do:dnxsso --default -p dev prodTo sync for all named profiles start with prefix patternlab*, do:(zsh)
dnxsso -p 'lab*'

(bash)
dnxsso -p lab*To sync for all named profiles start with prefix patternlab*as well asdevandprod, do:dnxsso -p 'lab*' dev prodUse-eflag if you want a temporary copy-paste-able time-gated access token for an instance or external machine. It usedefaultprofile if no additional arguments pass. The main use case is for those who usedefaultprofile, and would like to PIPE like thisaws sso login && dnxsso -e | pbcopy. Otherwise for named profile, dodnxsso -e -p dev.PLEASE USE THIS FEATURE WITH CARE SINCEENVIRONMENT VARIABLES USED ON SHARED SYSTEMS CAN GIVE UNAUTHORIZED ACCESS TO PRIVATE RESOURCES:dnxsso -e
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
export AWS_SESSION_TOKEN=xxxYou can also usednxssosubcommandloginto SSO login then sync all in one go:dnxsso login -h
dnxsso login
dnxsso login -e
dnxsso login --this
dnxsso login --profile dev
dnxsso login --profile dev --thisPrint help to see other options:dnxsso -hThen, continue per normal with your daily tools. i.e.cdk deploy ...terraform ...cw ls -p dev groupsawsbw -L -P devDevelopCreate virtual environment, activate it and then:make install
make test
python -m dnxsso --trace versionCreate issue or pull request welcomeLicenseMIT License
Package: dnzapi
This library provides a Python client to interact with the DigitalNZ
API version 3. It supports searching records and getting metadata for
a specific record, returning all results as Python dictionaries loaded
from the returned JSON.Usagefrom dnz_client import get_client
client = get_client("my API token")  # Omit token for anonymous use
_and = {"collection": "Music 101", "subject": "Cats", "Weddings"}
_or = {"category": ["Books", "Articles"]}
results = client.search(
    text="Wanganui OR Whanganui", _and=_and, _or=_or,
    geo_bbox=["-41", "174", "-42", "175"], "direction": "asc")
metadata = client.metadata(record_id=6330666, fields=["id", "title"])The keyword arguments passed to thesearchmethod are those
specified in theAPI documentation.The arguments_and,_or, and_withoutcontain dictionaries keyed
to the fields that are so joined; each value may be a string or list
of strings.The keyword argumentsfacets,fields, andgeo_bboxeach take a
list of strings.The other fields (direction,exclude_filters_from_facets,facets_page,page,per_page,sort, andtext) are either
string or integer values, as appropriate.The return values of bothsearch()andmetadata()are dictionaries
loaded from the JSON returned by DigitalNZ.LimitationsOR filters combined across multiple fields are not supported. For
example, it is supported to search for records where thecategoryis
either “Audio” or “Videos”, but searching for those records where thecategoryis either “Audio” or “Videos”andtheyearis either
“2014” or “2015” is not.The client does no checking that supplied values are sensible or
permitted by the DigitalNZ API. For example, any string may be passed
as thedirectionfield, though the API permits only “asc” and
“desc”.ExceptionsSee the underlyingapi-client documentationfor the exceptions the
client raises.
Package: doac
Django OAuth2 Consumer (doac) |Build Status|============================================django-oauth2-consumer (DOAC) is a reusable application that can be usedto provide an OAuth2 cosumer for your project. It is based on `RFC6749 <http://tools.ietf.org/html/rfc6749>`__ for the `OAuth2authorization framework <http://oauth.net/2/>`__.This project is in active development in the alpha stage. It is notrecommended for use in production and is not complete.What do I need to use this?----------------------------  Django 1.3+-  Django `authenticationapplication <https://docs.djangoproject.com/en/1.5/topics/auth/>`__-  Python 2.6+This plugin has not been tested on other configurations. If it workswith different requirements, or if a requirement is missing from thelist, feel free to bring up an issue.What else does this have support for?--------------------------------------  Django `adminapplication <https://docs.djangoproject.com/en/1.5/ref/contrib/admin/>`__Where is the documentation?---------------------------The documentation is not complete, but we try our best to keep themcurrent and comprehensive.`You can view them here onReadTheDocs. <https://django-oauth2-consumer.readthedocs.org/en/latest/>`__Where are the tests?--------------------We are trying our best to keep them up to date. Feel free to submit apull request with tests for code that is missing it.| You can run the tests with:| ``python runtests.py``| The test runner has support for coverage.py along with some otheroptions... |Build Status| image:: https://travis-ci.org/kevin-brown/doac.png?branch=master:target: https://travis-ci.org/kevin-brown/doac
Package: doapfiend
Doapfiend is a command-line client and library for fetching, displaying, creating, and manipulatingDOAP(Description of a Project) files.Doapfiend uses RDFAlchemy/rdflib as an ORM to query and create DOAP.Seedocs/apifor Epydoc generated API documentation.FeaturesDisplay metadata in DOAP in a human-readable formatGet DOAP by a !SourceForge, Freshmeat, PyPI, Ohloh etc. project nameSearch all DOAP spidered on the web (pingthesemanticweb.com)Access the metadata in the DOAP file using Python dot notationFetch DOAP by using the short name of a DOAP PURLdoapurl.orgFetch and display DOAP mentioned in FOAF by project homepageWritten in Python (Yes, that’s a feature.)Extensible with plugins using setuptoolsOptional Plugins availableGenerate a web page with CSS from a DOAP file (usinghdoap)Search for DOAP using a Gentoo Linux pacakge name (ThanksGLEP 46)Plugins in developmentSearch for DOAP by names you know, such as your distribution’s package namesCreate a Gentoo ebuild from a DOAP fileInstallaionYou can InstallDoapfiend using distutils, easy_install or subversion. There is also a Gentoo Linux ebuild available.Example command-line usageFetch DOAP for SourceForge project named ‘nut’:$ doapfiend --sf nutYou have a project’s homepage, display DOAP if any has been spidered:$ doapfiend -o http://librdf.org/raptor/You have the URL or local path to a DOAP file:$ doapfiend -d http://librdf.org/raptor/raptor.rdfDisplay DOAP as RDF/XML for the SourceForge project ‘nut’:$ doapfiend -x --sf nutDisplay DOAP as N3 (Notation Three) for the SourceForge project ‘nut’:$ doapfiend -n --sf nutExample library usageUse a Freshmeat project name to fetch and display DOAP:>>> from doapfiend.doaplib import get_by_pkg_index

>>> print get_by_pkg_index('fm', 'nut')Get some DOAP and access its metadata:>>> from doapfiend.doaplib import get_by_pkg_index, load_graph
>>> doap = load_graph(get_by_pkg_index('fm', 'nut'))
>>> print doap.name
'nut'
>>> print doap.created
'2008-04-19'Use a project’s homepage to fetch DOAP and print the RDF/XML.
Note there may be more than one DOAP profile out there; we just use the first found in our example.>>> from doapfiend.doaplib import query_by_homepage, print_doap
>>> url = query_by_homepage('http://news.tiker.net/software/tagpy')[0][1]
>>> print fetch_doap(url)Same as above but display DOAP in human readable text:>>> print_doap(fetch_doap(url))
Package: doapi
(Until v1.0 is released, backwards compatibility will be broken at will.)As yet another Python wrapper library for version 2 of theDigitalOceanAPI,doapioffers:Individual methods for every operation listed in the API docs plus methods
for making arbitrary “freeform” requests or actionsMethods for waiting for multiple droplets to come up or multiple actions to
complete in parallel (and if you get tired of waiting, you can hit Cntrl-C to
make the methods return immediately)Connection pooling viarequests’Session
objectsPaginated results are returned as generators that make requests when
necessary, so your account’s entire action history isn’t fetched all at onceA command-line interface to all of the above that outputs JSON objects in the
same format as used by the API (perfect for massaging withjq!)When creating droplets from the command line, new SSH public keys can be
specified without having to register them explicitly beforehand.
Package: doas
doasThis project contains utility modules and libraries to process DOAS data.InstallationInstall the latest version from PyPI by typing this command:pip install -U doasDocumentationFull documentation and tutorials are available atdocs/directory.ContributingSeeCONTRIBUTING.mdto learn how to contribute to this project.SupportThis project is maintained by Indra Rudianto. If you have any question about
this project, you can contact him atindrarudianto.official@gmail.com.LicenseBy contributing to the project, you agree that your contributions will be
licensed under its MIT license.
SeeLICENSEfor details.
Package: dobaos
dobaos.pyInstallationpip install dobaosUsage# simple example, may be wrongimporttimeimportdobaosdoba=dobaos.Dobaos()# description of datapoints# allprint(doba.get_description(None))# singleprint(doba.get_description(1))# multipleprint(doba.get_description([1,2,3]))# same for datapoint values: all, single, multipleprint(doba.get_value(None))print(doba.get_value(1))print(doba.get_value([1,2,3]))# send read request to bus. datapoints should have "UPDATE" flagdoba.read_value(1)doba.read_value([1,2,3])# set and send value to busdoba.set_value({"id":1,"value":True})# multiple valuesdoba.set_value([{"id":1,"value":True},{"id":2,"value":False}])# without sending to busdoba.put_value([{"id":1,"value":True},{"id":2,"value":False}])# get BAOS informationprint(doba.get_server_items())# get programming mode infoprint(doba.get_progmode())# set KNX programming modedoba.set_progmode(1)# get daemon versionprint(doba.get_version())# send reset requestdoba.reset()# now process incoming messagesdefprocess_baos_value(payload):did=payload['id']value=payload['value']raw=payload['raw']print(did,value,raw)defprocess_server_item(payload):sid=payload['id']value=payload['value']print(sid,value)whileTrue:time.sleep(0.01)dpoints=doba.get_dpcast()fordindpoints:process_baos_value(d)sitems=doba.get_sicast()foriinsitems:process_server_item(i)
Package: dobbi
🌴 dobbi 🦕Takes care of all of this boring NLP stuffDescriptionAn open-source NLP library: fast text cleaning and preprocessing.TL;DRThis library provides a quick and ready-to-use text preprocessing tools for text cleaning and normalization.
You can simply remove hashtags, nicknames, emoji, url addresses, punctuation, whitespace and whatever.InstallationTo downloaddobbi, either fork this GitHub repo or simply usePypivia pip:$pipinstalldobbiUsageImport the library:importdobbiInteractionThe library uses method chaining in order to simplify text processing:dobbi.clean()\.hashtag()\.nickname()\.url()\.execute('Check here: https://some-url.com')Supported methods and patternsThe process consists of three stages:Initialization methods: initialize adobbiWork objectIntermediate methods: chain patterns in the needed orderTerminal methods: choose if you need a function or a resultInitialization functions:dobbi.clean()dobbi.collect()dobbi.replace()Intermediate methods (pattern processing choice):regexp()- custom regular expressionsurl()- URLshtml()- HTML and "<...>" type markupspunctuation()- punctuationhashtag()- hashtagsemoji()-emojiemoticons()-emoticonswhitespace()- any type of whitespacesnickname()- @-starting nicknamesTerminal methods:execute(str)- executes chosen methods on the provided string.function()- returns a function which is a combination of the chosen methods.Examples1) Clean a random Twitter messagedobbi.clean()\.hashtag()\.nickname()\.url()\.execute('#fun #lol    Why  @Alex33 is so funny? Check here: https://some-url.com')Result:'Why is so funny? Check here:'2) Replace nicknames and urls with tokensdobbi.replace()\.hashtag('')\.nickname()\.url('__CUSTOM_URL_TOKEN__')\.execute('#fun #lol    Why  @Alex33 is so funny? Check here: https://some-url.com')Result:'Why TOKEN_NICKNAME is so funny? Check here: __CUSTOM_URL_TOKEN__'3) Get the text cleanup function (one-liner)Please, try to avoid the in-line method chaining, as it is less readable.Do as your heart tells you.func=dobbi.clean().url().hashtag().punctuation().whitespace().html().function()func('\t#fun #lol    Why  @Alex33 is so... funny? <tag>\nCheck\there: https://some-url.com')Result:'Why Alex33 is so funny Check here'Chain regexp methodsdobbi.clean()\.regexp('#\w+')\.regexp('@\w+')\.regexp('https?://\S+')\.execute('#fun #lol    Why  @Alex33 is so funny? Check here: https://some-url.com')Result:'Why is so funny? Check here:'AdditionalPlease pay attention that the functions are applied in the order you've specified them.
So, you're better to chain.punctuation()as one of the last functions.Call for collaboration 🤗If you enjoyed the project I would be grateful if you supported it :)Below is the list ofdifferent stuffuseful features I would be happy to share with you:Finding bugsMaking code optimizationsWriting testsHelp with new features development
Package: dob-bright
dob-brightis a component ofdob,  an interactive, terminal-based,
time tracking, journaling, note-taking, and life-hacking application.dob-brightprovides the basic, non interesting functionality used
by the variousdobcomponents, such as the CLI user configuration
settings, thenark.Controlshim, some basic terminal I/O methods,
and some (packaged) test infrastructure shared with other projects.Please see theDob documentationfor lots more help and instruction.
Package: dobby
DobbyA tiny lambda handler generalizing framework for PythonWorkflowRequirementsTherequirements.txtstates the required dependencies for the project.To install the requirements (preferably in theactive virtual environment) runpip install -r requirements.txtInstallationRunpip install dobbyto install the package for usage.ScriptsThe workflow scripts for the project are provided usingpyinvoke.CommandPurposeinvoke --listShows the list of available commandsinvoke testRuns all the tests for the packageinvoke clean-cacheRemoves all the__pycache__/and.pytest_cache/filesPublish packageTo publish a new version of the package usethis tutorial.
Package: doberman
MonitoringAndUploadA watchdog tool that uploads the modifications of local files to a remote server.
It is very simple it needs only to have:one local directory to be watchedone remote directory that you would like to sync with the local onepassword and ip of the serverCompatibility:MacOs -> nativelyLinux -> nativelyWinOs -> we don't like it but if you install Ubuntu subsystem it will hopefully work:)[SETUP]Make a list of the things that you would like to monitor! An example here:importosdefto_watch(dir_path):withopen("./files_to_monitor.txt",mode="w")asff:ff.write("\n".join(arr))to_watch(...)Does the txt file need to be called "files_to_monitor.txt"? Yes, please.[RUN] To run the tool enter the directory of this app with the command:cd/Users/...fillwiththeactualpathhere.../MonitoringAndUpload[RUN] Then type this:python3main.pydirectory_to_watch_pathusernamepasswordserver_ipremote_directoryIssues:Drop me an email:riccardo.bernardi@rocketmail.comLinkedin:https://www.linkedin.com/in/riccardobernardi/Are you happy with this?drop me a starforkwrite me an email and we can start a partnership
Package: dobg
DOBGCLICommand line tool for easier management of your Digital Ocean droplets.Getting startedPrerequisitiesYou will need to installPython3. Pip3 should be included in Python3 installation. Otherwise, installpip3manually.InstallingUsepip3 install dobgto install dobgcli globally orpip install dobginside your virtual environment. Make sure, though, that virtual environment is using Python3.Start using dobgcliThis command will display general help message where you can see all subcommands and what they're used for:dobg [-h]You will need to set up config file with your Digital Ocean token:dobg settoken <your_token>After that, you will be able to use all other subcommands.SubcommandsList of subcommands:settokensets the user's Digital Ocean token in config file;createdropletcreates new droplet;deletedropletdestroys a droplet;listdropletslists all of user's droplets;listsizeslists all available sizes;listimageslists all available images;