Saravanan666/pypi-org huggingface dataset:
Package: dyma
Dyma: Your Dynalist ManagerNote: This project is in very early stage. Major changes could happen and cause conflict with current usage.FeaturesDynalist API manager, written in Python.Back up all your files and folders in just one line.Usage0. setupYou can install this package from PyPIpip install dyma1. startfromdymaimportDyManagerdm=DyManager(token="")# insert your token here# ordm=DyManager()dm.token=""# insert your token here2. file-level usage# fetch all filesfiles=dm.file.fetch_all()# make changes: move, edit, createresults=dm.file.edit(type='document',id="your document id",title="new title")results=dm.file.move(type='folder',id="your foler id",parent_id="parent id",index=3)results=dm.file.create(type='document',parent_id='parent id',index=3,title='new title')# the above equals toresults=dm.file(action='edit',...)# action= edit | move | create, other paramters are the same3. document-level usage# get content of a documentresults=dm.doc.get(id="your file id")# check if documents has been updatedresult=dm.doc.check(ids="your file ids")# or use list of file ids# make change to che content of a documentresults=dm.doc.insert(id='your doc id',parent_id='parent node id (default: root)',content='hello world')result=dm.doc.edit(id='your doc id',node_id='node id',content='hello world')result=dm.doc.move(id='your doc id',node_id='node id',parent_id='parent node id',index=3)result=dm.doc.delete(id='your doc id',node_id='node id')results=dm.doc(action='insert',...)# action= insert | edit | move | delete, other paramters are the same4. account-level usage# sent to inboxresults=dm.send_to_inbox(index=-1,content='hello world',note="",checked=True,checkbox=True)# upload file (Pro only)results=dm.upload(filename='',content_type='',data='')# get preferenceresult=dm.get_preference(key='')# set preferenceresult=dm.set_preference(key='',value='')5. advanced features# one-line backupdm.backup()
Package: dymaxion
GeoidDymaxionUnit Geometry LibraryTable of ContentsAboutQuick StartUsageAuthorsRoadmapContributingLicenseDisclaimerLinksAboutQuick Start...Usage...AuthorsDymaxionis an open-source project byGeoid.Geoid is a spatial operating system that covers our entire planet with an extended intelligent dimension.This self-organizing network bridges our virtual and physical environments and is formed by all the people of our planet and the information and communication technologies that connect them. Geoid functions as a nervous system that mediates the data we produce and use in our daily lives, adds value to interconnectivity and cherishes spontaneous connections between people and the places and things they love.website:www.geoid.orgRoadmap...ContributingWe'd love for you to contribute and to makeDymaxioneven better than it is today!
Please refer to thecontribution guidelinesfor information.LicenseExcept where otherwise noted,Dymaxionby Geoid is licensed under the terms of theCreative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visithttps://creativecommons.org/licenses/by-sa/4.0/or write to Creative Commons, 171 Second Street, Suite 300, San Francisco, CA 94105, USA.DisclaimerTHIS SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
Package: dy-menu
dumb_menusimple_term_menu don't support windows, so I made dumb_menu.dumb_menu is not as powerful as simple_term_menu , but this aGOOD OLD MENU.dumb_menu is a light weight command line menu that supportsWindows,MacOS, andLinux.Installationpip install dumb-menuhttps://pypi.org/project/dumb-menu/https://github.com/cornradio/dumb_menu(I want stars ⭐ uwu)Usageexample:importdumb_menuoptions=["[1]Option 1","[2]Option 2","[3]Option 3","[q]quit"]index=dumb_menu.get_menu_choice(options)print(f"You selected option{index+1}:{options[index]}")another example:importosimportdumb_menudefloopmenu():options=["[1]happy","[2]sad","[3]give me a cookie","[q]quit"]index=dumb_menu.get_menu_choice(options,isclean=True)# clear screen, cls for windows, clear for linuxos.system('cls')# Python 3.10+ only,old version could use if-elsematchindex:case0:print(":)")case1:print(":(")case2:print("🍪ヾ(•ω•`)o")case3:exit()input('Press ENTER to continue...')if__name__=="__main__":whileTrue:loopmenu()Get helpGet help ➡️Github issueUpdate log1.0.8add "return key string" option , adddemo.pyAs a straightforward exampledumb_menu.get_menu_choice(options,give_key_str=True)1.0.7fix "flickering on mac zsh"1.0.6forget write log in 1.0.51.0.5fix bug in 1.0.41.0.4support "clean mode"1.0.3show selected index also when using hotkey1.0.2first useable version1.0.1fix bug1.0.0first releasehow to upload a new version (for me)en:https://packaging.python.org/tutorials/packaging-projects/zh:https://python-packaging-zh.readthedocs.io/zh_CN/latest/minimal.html#id2make sure have twine installed firstchangesetup.pytestingpython3 setup.py developpython3 setup.py sdisttwine upload dist/*test code :python3

import dumb_menu
dumb_menu.demo()
Package: dymopy
dymopySimple http client for creating labels using the DYMO Connect Web Service.Heavily influenced by thedymojs packageavailable for node.ExampleExample using a Dymo Twin Turbo. You may need to modifymake_params()to
suit your printer.from dymopy import Dymo

dymo = Dymo()

status = dymo.get_status()
assert status['status_code'] == 200

printer = dymo.get_printer()
assert printer['status_code'] == 200

# Helpers for with text XML to send to the printer
label_params = make_params(side="Right")
label_xml = make_xml("Hello", "I am Bill!")
    
print_resp = dymo.print(label_xml=label_xml, label_params=label_params)
assert print_resp.status_code == 200
Package: dymoval
Build statusToolsWhat is it?Dymoval(DynamicModelValidation) is a Python package for analyzingdatasetsand validatemodels.It does not matter if your model is a Deep Neural Network, an ODE or something more complex, nor is important if you use Modelica or Simulink or whatever as modeling tool.
All you need to do is to feedDymovalwith real-world measurements and model-generated data and you will get a model quality evaluation in r-squared fit, residuals norms and coverage region.If you are developing your models in a CI/CD environment, thenDymovalcan help you in deciding if merging or not the latest model changes.
In-fact,Dymovalfunctions can also be included in development pipelines scripts, so the whole CI/CD process can be fully automatized.Dymovalfinally provides you with some essential functions for dealing with dataset analysis and manipulation.Although the tool has been thought with engineers in mind, no one prevents you to use it in other application domains.Main FeaturesDatasets analysis and manipulationTime and frequency analysisPhysical unitsEasy plotting of signalsMissing data handlingLinear filteringMeans and offsets removalRe-samplingModel validationValidation metrics:R-square fitResiduals auto-correlationInput-Residuals cross-correlationCoverage regionEnable model unit-testsWork for both SISO and MIMO modelsModeling tool independenceEasily integrate with CI/CD pipelines.InstallationDymoval exists on bothpipandconda, so you can choose between the
following:pip install dymoval
conda install -c ubaldot dymovalGetting startedIf you are already familiar with model validation, then the best way to get started with dymoval is to run the tutorial scripts that you can open withimport dymoval as dmv
dmv.open_tutorial()This will copy thedymoval_tutorial.ipynbJupyter notebook from your installation folder to yourhomefolder.For more info on what is model validation and what is implemented indymovalalong with thedymovalcomplete API, you can check thedocs.NoteIf your system don't have a default app for opening.ipynbfiles, then the
tutorial won't automatically open.
However, you have a copy of it in yourhomefolder that you can manually open with your preferred app.LicenseDymoval is licensed underBSD 3license.
Package: dympy
A tool to communicate with Dymola from python on Windows
dympy communicates with dymola through DDE (Dynamic Data Exchange).
After a connection with an open Dymola window is established, commands can be sent as if they were typed in the Dymola command line.
Several usefull commands (opening models, setting model parameters, compiling, writing a dsin.txt file, simulating, and loading results,…) have been predefined for ease of use.Check the example below for a quickstart or the docstrings for a more complete guide.Installationrequires:numpyscipypywin32available here.To install download the latestrelease., unpack, cd to the unpacked folder and run:python setup.py installExampleFirst initialize the Dymola connection. It is good practice to clear all open models from Dymola after initialization to avoid redefinition conflicts, however this is not necessary:dymola = dympy.Dymola()
dymola.clear()Next we’ll open a model and compile it:dymola.openModel('example.mo')
dymola.compile('example')Parameters can be changed using theset_parametersmethod. The method takes a dictionary with name, value pairs as input.
Inputs can be written to a dsu.txt file  using thewrite_dsumethod. The method again takes a dictionary with name, value pairs as input,timemust always be one of the inputs:dymola.set_parameters({'C_in.C':5e6,'C_em.C':10e6,'UA_em_in.G':1600,'UA_in_amb.G':200})
dymola.set_parameters({'C_em.T':300})
dymola.write_dsu({'time':[0,43200,86400],'Q_flow_hp':[1000,5000,2000],'T_amb':[273.15,278.15,273.15]})The simulation can now be started within a certain time range:dymola.simulate(StopTime=86400)After the simulation is finished you can load the results as a dictionary usingget_result().
The result is a dictionary with the variable names in dot notation as keys:res = dymola.get_result()
print(res.keys())There is also aget_resmethod implemented which will return all result keys which are children of the supplied argument key.
If the argument has no children it’s value is returned:dymola.get_res('UA_em_in')
Package: dyn53
A tool for updating route53 addresses, simulating a dynamic DNS service by
askingipify.organd using boto3, it is meant to run
via crontab on python3 enabled devices. It uses, dnspython, certifi, requests,
and boto3.Dyn53 is tested against python versions 3.3, 3.4 and 3.5.Installpip3 install dyn53Alternatively, download the package, decompress and run:python setup.py installUsageConfigure dyn53 by editing ~/.config/dyn53.conf, if the file is not present,
a sample one will be created. Boto3 config is not required, nor used.>dyn532016-07-2514:22:58,212-dyn53-INFO-Creatingsampleconfigfile:/home/user/.config/dyn53.conf.sampleNoconfigfilefound,exiting.>cat~/.config/dyn53.conf.sample[dyn53]hosted_zone_id=MyhostedZoneIddomain=domain.tld.ttl=300debug=Falseaws_sec_key=MYSECRETKEYaws_key=MYKEY>mv~/.config/dyn53.conf.sample~/.config/dyn53.conf>vi~/.config/dyn53.conf>dyn53-smyhost--debug2016-07-2600:42:31,646-dyn53-DEBUG-Gotip:52.37.72.892016-07-2600:42:31,707-dyn53-DEBUG-FQDNisalreadypointingat52.37.72.89NotesIf no address is passed as argument ([-a address]), ipify.org service will
be checked via https to resolve the current public IP address.dyn53 is lazy, if the domain is already pointing to the resolved or given
address, it wont update the record.
Package: dynaddrmgr
dynaddrmgrTools to manage actions based on dynamic host address changes.FeaturesFully typed with annotations and checked with mypy,PEP561 compatibleManages content of files based on current ipaddress(es) of specified hostname(s), using jinja2 templatesInstallationpipinstalldynaddrmgrExampleShowcase how your project can be used:fromdynaddrmgr.exampleimportsome_functionprint(some_function(3,4))# => 7LicenseMITCreditsThis project was generated withwemake-python-package. Current template version is:9899cb192f754a566da703614227e6d63227b933. See what isupdatedsince then.
Package: dynaflow
DynaflowDynaflow implements a serverless AWS dynamodb tracking store and model registry for MLFlow. It
allows to directly log runs and models to AWS Dynamodb using your AWS credentials. Further
authorisation can be implemented using Dynamodb fine-grained access control.SetupDynaflow includes a simple CLI that helps to easily provision the Dynamodb tables. To deploy the
tables, rundynaflow deploywhich will deploy two AWS Dynamodb tables. To delete the tables, rundynaflow destroyConfigurationTo use the deployed Dynamodb tables as the backend to your tracking store and model registry,
use a tracking store uri of the following format:dynamodb:<region>:<tracking-table-name>:<model-table-name>where  is the name of the dynamodb table you want to use as tracking backend,
  is the name of the table used for the model registry and  is the region
in which the tables reside.E.g. when using the python client, you can configure the client to use the dynamodb tracking
backend by running the following statement:mlflow.set_tracking_uri("dynamodb:eu-central-1:mlflow-tracking-store:mlflow-model-registry")To use a table named "mlflow-tracking-store" for tracking and a table named "mlflow-model-registry" as
the model registry backend. Note that these are also the default names you get when runningdynaflow deploy.If you want to log your artifacts to s3 by default, you can set the environment variableDYNAFLOW_ARTIFACT_BUCKET:export DYNAFLOW_ARTIFACT_BUCKET=<artifact-bucket-name>When running a tracking server, set the dynamodb tracking backend using the following command:mlflow server
    --backend-store-uri dynamodb:<region>:<tracking-table-name>:<model-table-name>
    --default-artifact-root s3://<artifact-bucket-name>/
Package: dynai
DynamicAIdynaiis a Python library that allows you to scrape web pages, cleanse data and save the content to a file. Currently it provides a simple interface for web scraping and file management. You can use PyScraper to fetch the HTML content of a webpage, save it to a file, and clean up the output directory by keeping only the most recent files. In the future more features will be addedInstallationYou can install dynai usingpip:pip install dynaiUsageImporting the LibraryfromdynaiimportcoreInitialising the Scraperurl="https://www.example.com"scraper=core(url)Scraping the WebpageYou can scrape the webpage and get the HTML content as a string:webpage_content=scraper.scrape()Saving the Webpage to a FileYou can save the scraped webpage to a file in the output directory with a specified file extension (e.g.,.html):extension=".html"scraper.scrape_to_output(extension)Setting Custom Name and Output DirectoryYou can set a custom name for the scraped content and specify the output directory:scraper.set_name("custom_name")scraper.set_output_dir("custom_output_directory")Cleaning up the Output DirectoryYou can clean up the output directory and keep a specified number of most recent files:keep_files=3scraper.cleanup(keep_files)Documentationclass core(url)Methodsset_name(name): Sets the name of the core instance.get_name() -> str: Returns the name of the core instance.set_output_dir(out): Sets the output directory of the core.get_output_dir() -> str: Returns the path to the output directory.scrape() -> str: Scrapes the webpage defined in the constructor and returns the whole page as a string.scrape_to_output(extension): Scrapes the webpage and saves it to a file in the output directory with the specified extension.cleanup(keepme=0): Cleans the output directory and keeps the specified number of most recent files.Examplefromdynaiimportcoreurl="https://www.example.com"scraper=core(url)webpage_content=scraper.scrape()scraper.set_output_dir("output")scraper.scrape_to_output(".html")scraper.cleanup(3)This example scrapes the webpage, saves it to an HTML file in the "output" directory, and keeps the 3 most recent files in the output directory.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.AcknowledgmentsBeautiful Soup: For HTML parsing.Requests: For making HTTP requests.Validators: For URL validation.
Package: dynalist
DynalistUnofficial Dynalist API Written in Python.Installingpip install dynalistDocumentationFull documentation here:https://dynalist.readthedocs.io/Usage ExampleBelow are some of the methods available in the wrapper.For the full list and documentation visit thedocsdynalist = Dynalist('your_file_id')

dynalist.file  # file info

dynalist.doc  # document

dynalist.get_node(node_id='root')

dynalist.get_children(node_id='root')

dynalist.to_json()LicenseMITRequiresrequests
Package: dynalite
DynaliteAn unofficial Philips Dynalite DyNET interfaceGetting StartedA very basic interface to the dynalite system. Using .setPreset(area,preset,fadeTime) you can change area presets.PrerequisitesYou must have an RS485 to IP device somewhere on your Dynalite network. Your network must only use DyNET (not DyNET2). Don't waste money on official Dynalite 485 interfaces, almost any IP<->485 interface will work fine.VersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsTroy Kelly-Initial work-troykellySee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsDynalite for not embracing technology at all and forcing the build of this
Package: dynamallow
DynamoDB + Marshmallow == DynamallowThis package is a work in progress – Feedback / Suggestions / Etc welcomed!Two awesome things, better together!Dynamallow is a Python library that provides integration between theBoto v3 DynamoDB APIandMarshmallow.
Together they provide a simple, ORM inspired, interface to theDynamoDBservice with a fully defined, strongly typed
schema.fromdynamallowimportMarshModelfrommarshmallowimportfieldsclassBook(MarshModel):classTable:name='prod-books'hash_key='isbn'read=25write=5classSchema:isbn=fields.String(validate=validate_isbn)title=fields.String()author=fields.String()publisher=fields.String()year=fields.Number()# Store new documents directly from dictionariesBook.put({"isbn":"12345678910","title":"Foo","author":"Mr. Bar","publisher":"Publishorama"})# Work with the classes as objects# You can pass attributes from the schema to the constructorfoo=Book(isbn="12345678910",title="Foo",author="Mr. Bar",publisher="Publishorama")foo.save()# Or assign attributesfoo=Book()foo.isbn="12345678910"foo.title="Foo"foo.author="Mr. Bar"foo.publisher="Publishorama"foo.save()# In all cases they go through Schema validation, calls to# .put or .save can result in ValidationError being raised.# You can then fetch, query and scan your tables.# Get on the hash key, and/or range keyBook.get(isbn="12345678910")# Query based on the keysBook.query(isbn__begins_with="12345")# Scan based on attributesBook.scan(author="Mr. Bar")Book.scan(author__ne="Mr. Bar")DocumentationFull documentation can be found online at:http://borgstrom.github.io/dynamallow/TODOIndexes – Currently there is no support for indexes.Schema MigrationsPartial updates onsave()
Package: dynamatic
# DynamaticDynamatic is a python library for working with DynamoDB. It is NOT an ORM. It sits somewhere between the low-level [boto3](https://github.com/boto/boto3) library (on which Dynamatic is based) and high-level ORMs like [PynamoDB](https://github.com/pynamodb/PynamoDB).## MotivationFirst, I was inspired by [this blog post](https://www.trek10.com/blog/dynamodb-single-table-relational-modeling/) which was inspired by [this excellent re:Invent 2018 session by Rick Houlihan](https://youtu.be/HaEPXoXVf2k) about how to properly model data in DynamoDB for efficiency and scale.Second, I did not want an ORM. ORMs like PynamoDB package their own methods of defining object schemas but there are already excellent libraries out there like [Pydantic](https://github.com/samuelcolvin/pydantic) or [Marshmallow](https://github.com/marshmallow-code/marshmallow). They also tend to impose traditional relational database patterns (like Active Record) that do not scale well.Third, boto3 is a great library but its DynamoDB API is painfully low-level and not particularly “Pythonic”. Working with advanced features like [Update Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.UpdateExpressions.html) and [Projection Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ProjectionExpressions.html) is complex and unintutive.So this library aims to be a happy medium: Providing enough abstraction and “developer ergonomics” to get up and running with DynamoDB quickly, while not getting in the way with high-level ORM features.## InstallationDynamatic requires Python 3.6 or later. You can install it via pip.`bash pip install dynamatic `## UsageTODO! Documentation and usage examples coming soon!## ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.## License[MIT](https://choosealicense.com/licenses/mit/)
Package: dynamet
DynaMet is a fully automated workflow for liquid chromatography mass spectrometry (LC-MS) rawdata analyses allowing for metabolome-wide investigations of dynamic isotope labeling experiments.DynaMet enables untargeted extraction of labeling profiles by grouping metabolite featuresin different samples with isotopic patterns changing over time.Integrated tools for expressive data visualization enhance result inspection.REMARK: For straight forward installation of DynaMet type command `!pip install dynamet` in emzedIPython console and press enter. DynaMet app will be available after opening a new IPythonconsole.Changes in Version 2.8.0:- provides additional fitting function weibull.- allows opening results from dynamet projects with read rights only- improved feature grouping (low abundant peaks, UPLC data)- includes update to use latest hires package 0.0.14- requires emzed version 2.24.5 or higher
Package: dynami
dynamidynamiis a Python package that provides a simple interface for managing DNS records through various providers. Currently, it supports Hetzner as a DNS provider, with more providers to come in future updates.InstallationYou can install dynami via pip:pipinstalldynamiUsageTo usedynami, you must first instantiate a provider and client. Here's an example for Hetzner:fromdynami.providerimportHetznerfromdynami.extimportClientapi_key="YOUR_API_KEY"zone="yourdomain.local"provider=Hetzner(api_key=api_key,zone=zone)client=Client(provider)result=client.set(record="www",type="A",value="0.0.0.0")ifresult.status_code<299andresult.status_code>199:print("Success!")else:print("Failed!")This will create an A record for the www subdomain pointing to 0.0.0.0.ProvidersCurrently,dynamionly supports Hetzner as a DNS provider. More providers will be added in future updates.HetznerAmazon Web Services (AWS)CloudflareDigitalOceanGoogle Cloud Platform (GCP)Microsoft AzureProvider configurationTo configure a provider, pass the provider-specific options to its constructor. For Hetzner, these options are:api_key: your Hetzner DNS API keyzone: the name of the DNS zone you want to manageClient methodsClientprovides the following methods for managing DNS records:set: creates or updates a DNS record