Saravanan666/pypi-org huggingface dataset:
Package: dcn
Nodegithub|dockerhubClientgithub|pypiSetup guideUsing PyPiLinux and MacOSpip3 install dcnWindowspip install dcnUsing githubLinux and MacOSgit clone https://github.com/draklowell/DCNLibrary && cd DCNLibrary && python3 setup.py installWindowsDownload client and in downloaded folder runpython setup.py installDependenciesrequests (2.22.0)pycryptodome (3.9.9)InfoPrivacyConnection between two nodes is wrapped byTLSv1.2( without certificate verification ), but packet is opened, and can be read by any user.High-level protocols conflictTo avoid protocol conflicts, we recommend to useprotocol sign, it is some bytes in begin of packet, that indicate what protocol is usingLicenseApache License 2.0Using guidePacket format2 BYTES - Size of packet
16 BYTES - Custom UUID
65520 BYTES - ContentMax size of content in packet -65520(pow(2, 16) - 16).Create clientThere are two arguments -friendly_hostsandlimit_queuefriendly_hosts- known nodes in format ( example:("1.2.3.4", 300)), also it request official nodes, from official trackerlimit_queue- max size of queue (-1- unlimited ), recommended65536importdncclient=dnc.client.Client(friendly_hosts=[],limit_queue=-1)Send packetAfter generating packet, client sends it to all known nodes. After that, it returns the count of successfully sent copies of the packet and packet hash ( as bytes )importbase64count,hash=client.send(b"Hello, world!")print(f"Sended copies of packet:{count}")print(f"Packet hash ( base64 encoded ):{base64.b64encode(hash).decode()}")Output:Sended copies of packet: 1
Packet hash ( base64 encoded ): oZ/dl88Jbb2CiCCQadpxeQSU/HVpHN3k6A+jAIT8G4k=Receive next packetWhen the client gets the new massage from the node, client adds the packet to the queue. When we callclient.accept(), we get the first element of the queue, and then remove it ( we can limit the queue, while initializing client )importbase64content,hash=client.accept()# or client.next() or next(client)print(f"Content of packet:{content.decode()}")print(f"Packet hash ( base64 encoded ):{base64.b64encode(hash).decode()}")Output:Content of packet: Hello world!
Packet hash ( base64 encoded ): oZ/dl88Jbb2CiCCQadpxeQSU/HVpHN3k6A+jAIT8G4k=Close clientYou need close client in end of workclient.close()
Package: dcnnt
dcnntNO WARYet another tool to connect Android phone with desktop similar to KDE Connect.FeaturesWorks in backgroundControlled via phone appConfigurable via JSON filesConfiguration overridesUpload files from phone to desktopDownload files from pre-defined directories at desktop to phoneOpen files and web URLs from phone on desktopShow phone notificationExecute pre-defined commands on desktopPeriodically running sync tasks (directories, contacts)InstallFrom git repository:git clone https://github.com/cyanomiko/dcnnt-py.git
cd dcnnt-py
python3 setup.py sdist bdist_wheel
pip3 install dist/dcnnt-0.10.0-py3-none-any.whlFrom PyPI:pip3 install dcnntUsagePairing mode:dcnnt pairRun as daemon:dcnnt startStop daemon:dcnnt stopRun in foreground mode:dcnnt foregroundPlugins:doc/plugins.md(https://github.com/cyanomiko/dcnnt-py/blob/master/doc/plugins.md)Configuring:doc/config.md(https://github.com/cyanomiko/dcnnt-py/blob/master/doc/config.md)
Package: dcodelib
dcodelibCollection of various serialization methods with cliQuickstart# From pypipipinstall--upgradedcodelib# From sourcepipinstall--upgradegit+https://github.com/trisongz/dcodelibUsagedcodeb64decode...

decodebgzencode...Libraries & DependenciesPython 3.6pylogzboltonspyyamlThis Python Library has been autogenerated withpylibup.
Package: dcode.py
dcode.pyWelcome to dcode.py - the package designed to do everything!InstallationLinux / macOS (python3):python3-mpipinstalldcode.pyLinux  / macOS (python2):python-mpipinstalldcode.pyWindows:py-mpipinstalldcode.pyModulesBelow are listed the modules in dcode:dcode.io.fileDocsdcode documentation
Package: dcoder
dcoder 0.2.1dcoder is a python module that provides various functions for decoding/encoding text. It also has functions for encrypting or decrypting text in various ciphers.PyPI:https://pypi.org/project/dcoder/Docs:https://dcoder.readthedocs.io/en/latest/InstallationYou can install released versions of dcoder from the Python Package Index with pip or a similar tool:Stable Release:pip install dcoderWorking Version:pip install git+https://github.com/CodeWithSwastik/dcoder.gitUsage:>>>importdcoder>>>dcoder.text2hex("Hello!")#Encodes the string and returns the hex string'48 65 6c 6c 6f 21'>>>dcoder.hex2text("48 69 20 74 68 65 72 65 21")#Decodes the hex string and returns the plain text'Hi there!'>>>dcoder.text2caesar("How are you?")#Encrypts the text in caesar's cipher and returns it'Krz duh brx?'>>>dcoder.caesar2text("L dp ilqh, wkdqn brx.")#Decrypts the cipher text and returns the decrypted text'I am fine, thank you.'Functions available:The current list of functions available are:Encoding:text2bin(text)text2oct(text)text2hex(text)text2ascii(text)Decoding:bin2text(binary_text)oct2text(oct_text)hex2text(hex_text)ascii2text(ascii_text)Encryption:text2atbash(text)text2caesar(text,shift=3)text2railfence(text,key=3)Decryption:atbash2text(encrypted_text)caesar2text(encrypted_text,shift=3)caesarBruteforce(encrypted_text)railfence2text(cipher,key=3)railfenceBruteforce(encrypted_text)Misc:reverse(text)capitalLetterCipher(ciphertext)firstLetterCipher(ciphertext)
Package: dcodex
dcodexThis is an alpha release of D-Codex: A software framework for manuscript analysis.Documentation to come. For now, contact me to get a pre-publication version of my PhD thesis where I go into detail regarding the design of the software and each of the components.InstallationFor a brand new D-Codex site, it is easiest to install usingdcodex-cookiecutter.To install dcodex as a plugin in a Django site already set up. Install with pip:pip install dcodexThen add to your installed apps:INSTALLED_APPS += [
    # dcodex dependencies
    "adminsortable2",
    'easy_thumbnails',
    'filer',
    'mptt',
    'imagedeck',
    # dcodex apps
    "dcodex",
]Then add the urls to your main urls.py:urlpatterns += [
    path('dcodex/', include('dcodex.urls')),    
]Other DCodex packagesThe base DCodex app (i.e. this repository) is designed to be used with other apps to give the details for the types of manuscripts being used as well as the textual units. For example, seedcodex_bibledcodex_lectionarydcodex_chrysostomdcodex_ashurnasirpalThere are other DCodex packages to extend the functionality of DCodex such as:dcodex_collationdcodex_variantsTests and CoverageTo run the tests use the following command:./runtests.pyTo check the coverage:coverage run -m runtests
coverage report
Package: dcolor
dcolordcolor is open-source package for Python.dcolor for easily modifying charactor.Install$ pip install dcolorUsageprint("Hello World")output:for dcolor import colors

color_string = colors("Hello World", "red")

print(color_string)output:for dcolor import backgrounds

back_string = backgrounds("Hello World", "red")

print(back_string)output:for dcolor import attributes

attr_string = attributes("Hello World", "bold")

print(attr_string)output:LICENSEdcolor project is licensed under the terms of MIT license.
Package: dcompressee
dcompressee: a small Python library to generate temporarirly decompressed filesBackgroundA common use case in Bioinformatics is having to temporarily decompress a file in
order to run it through some tool. For instance,blastncan only read uncompressed
FASTA files. This library provides a simple way to do this. The library will automatically
detect the compression format of the file and decompress it to a temporary file. The
temporary file will be automatically deleted when the program exits. The library
currently supports the following compression formats:gzip,bzip2,xz,lz4, andlzma.Usagefromdcompresseeimportunpack# A list of file paths as pathlib.Path objects with various compression formats,# and some are not compressedfiles=["/path/to/file1.fasta.gz","/path/to/file2.fasta.bz2","/path/to/file3.fasta.xz","/path/to/file4.fasta"]# Generate a list of paths as pathlib.Path objects to temporarily decompressed# files (these will be created in $TMPDIR) if necessary. For files that are not# compressed, the function will return the original path.# The created temporary files will be automaicallly deleted when the program exits.paths=[unpack(f)forfinfiles]InstallationpipinstalldcompresseeExamplesTwo examples are provided in theexamplesdirectory. The first example shows how to
usedcompresseein a simple Python script. The second example shows how to usedcompresseein a asynchronous manner.AuthorAnders Goncalves da Silva (@andersgs)
Package: dcomputationaltool
# dcomputationaltoolDcomputationaltool is a Django app which handle the genome coordinatesQuick startAdd “dcomputationaltool” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'dcomputationaltool',
]Include the dcomputationaltool URLconf in your project urls.py like this:url(r'^dcomputationaltool/', include((dcomputationaltool.urls, 'dcomputationaltool'), namespace='dcomputationaltool')),Runpython manage.py migrateto create the dcomputationaltool models.
Package: dconf
dconfor DotConfMake Config Great Again.Easy dot representation configuration module to make config life better.How to useExample:config.tomltitle="TOML Example"[owner]name="Tom Preston-Werner"dob=1979-05-27T07:32:00-08:00[database]enabled=trueports=[8000,8001,8002]data=[["delta","phi"],[3.14]]temp_targets={cpu=79.5,case=72.0}[servers][servers.alpha]ip="10.0.0.1"role="frontend"[servers.beta]ip="10.0.0.2"role="backend"[[products]]name="Hammer"sku=738594937[[products]]name="Nail"sku=284758393>>>importtomli...fromdotconfigimportDotConfig...CONFIG=DotConfig()...CONFIG.load(tomli.load,"config.toml")>>>CONFIG{'title':'TOML Example','owner':{'name':'Tom Preston-Werner','dob':datetime.datetime(1979,5,27,7,32,tzinfo=datetime.timezone(datetime.timedelta(days=-1,seconds=57600)))},'database':{'enabled':True,'ports':[8000,8001,8002],'data':[['delta','phi'],[3.14]],'temp_targets':{'cpu':79.5,'case':72.0}},'servers':{'alpha':{'ip':'10.0.0.1','role':'frontend'},'beta':{'ip':'10.0.0.2','role':'backend'}},'products':[{'name':'Hammer','sku':738594937},{'name':'Nail','sku':284758393}]}>>>CONFIG.title'TOML Example'>>>CONFIG.database.ports[8000,8001,8002]>>>CONFIG.database.temp_targets.cpu79.5>>>CONFIG.servers{'alpha':{'ip':'10.0.0.1','role':'frontend'},'beta':{'ip':'10.0.0.2','role':'backend'}}>>>CONFIG.servers.alpha.role'frontend'>>>CONFIG.products[{'name':'Hammer','sku':738594937},{'name':'Nail','sku':284758393}]>>>CONFIG.products[0].sku738594937Another way to load the configuration>>>config={'alpha':{'ip':'10.0.0.1','role':'frontend'},'beta':{'ip':'10.0.0.2','role':'backend'}}...CONFIG=DotConfig(config)>>>CONFIG.beta.ip'10.0.0.2'ContributeFeel free to fork and pr.
Package: dconfig
Dconfig - Bootstrap Configuration for Django projectDconfig is configuration by console for the Django web
development framework.Support Django >= 2.2InstallationPython packagepip install dconfigAdd 'dconfig' to INSTALLED_APPS:'dconfig',Usagepython manage.py confHelppython manage.py conf>>> helpWizard Setuppython manage.py conf>>> initWARNING: this action will wipeout all data in settings.py
Package: dconfjson
Dconf JsonConvert linux gnome config to json and backTo get the gnome .conf file use:dconfdump/>FILENAME.confExample usage to convert conf and store as json file and take json and store as conf fileimportdconfjsondconfjson.json_writer("FILENAME.conf",dest="FILENAME.json")dconfjson.dconf_writer("FILENAME.json",dest="FILENAME_2.conf")To load new dconf parameters into gnome use (bash):dconfload/<FILENAME_2.confTo get the gnome config out as a python dict use:importdconfjsonwithopen(dconf_path,"rb")asfin:dconf=fin.read().decode("utf-8")config_dict=dconfjson.dconf_json(dconf)Without using filesTo get the dconf out as dict without using files:importdconfjsonimportsubprocessdefdconf_get():spath="/org/gnome/terminal/legacy/profiles:/"cmd="dconf dump%s/"%spathtmp=subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE)(out,err)=tmp.communicate()returnouts_out=dconf_get().decode("utf-8")config_dict=dconfjson.dconf_json(s_out)
Package: dconnector
The dconnector Python package facilitates MongoDB database interactions through the MongoDBConnection class. This class extends streamlit.connections.ExperimentalBaseConnection and integrates with the pymongo library to offer a comprehensive set of functionalities for working with MongoDB collections. Users can establish connections by specifying the MongoDB connection string, database name, and collection name, either through explicit parameters or by relying on stored secrets.The provided methods cover a wide range of MongoDB operations, including querying documents based on filters, retrieving all documents, finding a single document, and executing custom queries. The package supports caching mechanisms to enhance performance, allowing users to set time-to-live values for cached results.In addition to query operations, the MongoDBConnection class supports document insertion, either for a single document or multiple documents in a batch. Users can also update and delete documents based on specified queries. The class further provides methods for counting documents, retrieving distinct values for a given field, and paginating through the collection.To ensure flexibility, the class exposes several optional keyword arguments for each operation, allowing users to customize their MongoDB queries. The pandas library is leveraged to convert query results into easily manipulable DataFrames, simplifying data analysis and manipulation tasks.This package aims to streamline MongoDB interactions within Python applications, offering an abstraction layer that balances ease of use with robust functionality.
Package: dcontainer
dcontainer CLIInstallationpip install dcontainerFeature Generation:Usage: python -m dcontainer generate devcontainer-feature [OPTIONS]
                                                        FEATURE_DEFINITION
                                                        OUTPUT_DIR

Arguments:
  FEATURE_DEFINITION  [required]
  OUTPUT_DIR          [required]

Options:
  --help                          Show this message and exit.Input for feature generation is afeature-definition.jsonfile
This is anextendedversion of thedevcontainer-feature.jsonfile withadditional fields:{...regular devcontainer-json fields  like id,name,description etc...# dependencies are list of features and options  (those will be installed as prerequisites to your feature)"dependencies":[{"feature":"ghcr.io/devcontainers-contrib/features/asdf-package:latest","options":{"plugin":"act","version":"latest"}}],# This command will be executed after the dependency feature list has been installed"install_command":"echo'Done'",# this example test scenario checks the default options (empty options dict), each test_command should exit wth code `0` if your feature is installed correctly."test_scenarios":[{"name":"test_defaults","image":"mcr.microsoft.com/devcontainers/base:debian","test_commands":["act--version"],"options":{}}]}redirect input{..."options":{"version":{"type":"string","default":"latest","description":"Selecttheversionofacttoinstall2."}},# you can also redirect one of your actual devcontainer-feature.json options values into a dependency input, note the `$options.version` pointer to the asdf-package version option"dependencies":[{"feature":"ghcr.io/devcontainers-contrib/features/asdf-package:latest","options":{"plugin":"act","version":"$options.version"}}],...}Usage examplethis will generate the Elixir feature
It assumes you have the dcontainer cli already installedgitclonehttps://github.com/devcontainers-contrib/cli--depth1cdcli


dcontainergeneratedevcontainer-feature"./test/resources/test_feature_definitions/elixir-asdf/feature-definition.json""./output_dir"
Package: dco-org-check
DCO org checkScript to check a GitHub org for commits without a DCO signoff that should have one.Loads config file ( defaults to dco_org_check.yaml, or specify at the command line after -c ) for credentialsConfig file options ( set argument is the default if not specified )# GitHub access token ( required )token:# Github org name ( required )org:# name of csvfilecsvfile:dco_issues.csv# list of directory names where previous commit signoffs are in the repodco_signoffs_directories:-dco-signoffs# set to 1 if you want to have the script create the previous commits signoff filescreate_prior_commits_file:1# directory where to store the prior commits filescreate_prior_commits_dir:dco-signoffs# list of repos to ignore when scanningignore_repos:-repo1-repo2-...# list of repos to only look at when scanningonly_repos:-repo1-repo2-...Useful tools to make doing DCO signoffs easierThere are a number of great tools out there to manage DCO signoffs for developers to make it much easier to do signoffs.DCO command line tool, which let's you do a single signoff for an entire repo (https://github.com/coderanger/dco)GitHub UI integrations for adding the signoff automatically (https://github.com/scottrigby/dco-gh-ui)Chrome -https://chrome.google.com/webstore/detail/dco-github-ui/onhgmjhnaeipfgacbglaphlmllkpoijoFirefox -https://addons.mozilla.org/en-US/firefox/addon/scott-rigby/?src=searchSPDX-License-Identifier: Apache-2.0
Package: dcor
dcordcor: distance correlation and energy statistics in Python.E-statistics are functions of distances between statistical observations
in metric spaces.Distance covariance and distance correlation are
dependency measures between random vectors introduced in[SRB07]with
a simple E-statistic estimator.This package offers functions for calculating several E-statistics
such as:Estimator of the energy distance[SR13].Biased and unbiased estimators of distance covariance and
distance correlation[SRB07].Estimators of the partial distance covariance and partial
distance covariance[SR14].It also provides tests based on these E-statistics:Test of homogeneity based on the energy distance.Test of independence based on distance covariance.Installationdcor is on PyPi and can be installed usingpip:pip install dcorIt is also available forcondausing theconda-forgechannel:conda install -c conda-forge dcorPrevious versions of the package were in thevnmabuschannel. This
channel will not be updated with new releases, and users are recommended to
use theconda-forgechannel.Requirementsdcor is available in Python 3.8 or above in all operating systems.
The package dcor depends on the following libraries:numpynumba >= 0.51scipyjoblibDocumentationThe documentation can be found inhttps://dcor.readthedocs.io/en/latest/?badge=latestReferences[SR13]Gábor J. Székely and Maria L. Rizzo. Energy statistics: a class of
statistics based on distances. Journal of Statistical Planning and
Inference, 143(8):1249 – 1272, 2013.
URL:http://www.sciencedirect.com/science/article/pii/S0378375813000633,
doi:10.1016/j.jspi.2013.03.018.[SR14]Gábor J. Székely and Maria L. Rizzo. Partial distance correlation
with methods for dissimilarities. The Annals of Statistics,
42(6):2382–2412, 12 2014.
doi:10.1214/14-AOS1255.[SRB07](1,2)Gábor J. Székely, Maria L. Rizzo, and Nail K. Bakirov. Measuring and
testing dependence by correlation of distances. The Annals of
Statistics, 35(6):2769–2794, 12 2007.
doi:10.1214/009053607000000505.
Package: dcoraid
DCOR-Aid is a GUI for managing data on DCOR (https://dcor.mpl.mpg.de).InstallationInstallers for Windows and macOS are available at therelease page.If you have Python 3 installed, you can install DCOR-Aid withpip install dcoraid[GUI]TestingBy default, testing is done withhttps://dcor-dev.mpl.mpg.deand the user
“dcoraid”. The API key must either be present in the environment variableDCOR_API_KEYor in the filetests/api_key.pip install -e .[GUI]
pip install pytest pytest-qt
pytest tests
Package: dcor-control
DCOR development status matrixNameRepositoryReleaseCICoverageckanext-dc_log_viewckanext-dc_serveckanext-dc_viewckanext-dcor_depotckanext-dcor_schemasckanext-dcor_themedcor-remote-testsNANAdcor_controldcor_sharedDCOR-AidThis is partly a meta package and partly a control/configuration
package for the DCOR extensions in CKAN.InstallationSee theofficial instructionsfor more information.Testingvagrant plugin install vagrant-vbguest
vagrant up
vagrant ssh -- sudo bash /testing/vagrant-run-tests.sh
Package: dc-ore-packager
dc-ore-packagerA tool to create aSimpleArchivePackagepackage from a BaseURL and a Handle of an item of any repository that supports OAI protocol, which can be imported byDSpace's Batch Importtool.The objective is to create a clone of the given item using a link to its bitstreams and a copy of its bitstreams. The link is made usingORE format, so that the bitstreams are shown in the graphical interface in the exactly same way as the original item.To use it:fromdc_ore_packagerimportDCOREPackagerrepositoryURL='http://demo.dspace.org'handleList=['10673/3','10673/4','10673/5','10673/6','10673/7']i=DCOREPackager(repositoryURL,handleList,outDir='/tmp')print(i.getPackage())A sample WebApp that receives a URL and send a package file:dc-ore-packager-webapp
Package: dcor-shared
Functionalities shared by the DCOR CKAN extensionsInstallationTo install the latest release, simply run:pip install dcor_sharedTestingTesting is done via vagrant in a virtualmachine using thedcor-test <https://app.vagrantup.com/paulmueller/boxes/dcor-test/>image.
Make sure thatvagrantandvirtualboxare installed and run the
following commands in the root of this repository:# Setup virtual machine using `Vagrantfile`
vagrant up
# Run the tests
vagrant ssh -- sudo bash /testing/vagrant-run-tests.sh
Package: dcoscli
DC/OS Command Line Interface===========================The DC/OS Command Line Interface (CLI) is a command line utility thatprovides a user-friendly yet powerful way to manage DC/OS installations.This project is open source. Please see GitHub_ to access source code and to contribute.Full documentation is available for the DC/OS CLI on the `Mesosphere docs website`_... _GitHub: https://github.com/mesosphere/dcos-cli.. _Mesosphere docs website: https://dcos.io/docs/usage/cli/
Package: dcos-monitor
# dcos monitor## Installation / Setup
This is written to be used as a Python egg/app. Once you have a DC/OS master available, you can point this application to it and run queries.### SSH Proxy
The easiest way to run queries with this application is to use an SSH proxy. Once you get the mesos.master’s internal IP and public IP, you can run queries. You can accomplish this by following the steps in this blog post:https://eric.lubow.org/2017/external-access-dc-os-master/Once you have the SSH Proxy running, you can begin to run commands. A simple command to test to ensure things are setup correctly is to get a list of the available slaves in the cluster using:dcos_monitor print_slave_data –list_slaves## Running
This is a self-documented application. So just run any command or subcommand with–helpand you’ll get more information on what’s available. Both commands and subcommands offer different help menus as well.# Contributing
I get it, this is a pretty useful and cool app. And I’m not the best programmer, so you want to make this cleaner and more useful. The more the merrier.Just make sure that whatever you add works and is well documented in the help section and I’ll test it out and merge it. Easy as that.