Saravanan666/pypi-org huggingface dataset:
Package: pyduinocoin
PyDuinoCoinPyDuinoCoin is a simple python integration for theDuinoCoin REST API, that allows developers to communicate with DuinoCoin Main Server.InstallPyDuinoCoin is available on the Python Package Index (PyPI):https://pypi.python.org/pypi/pyduinocoinYou can install PyDuinoCoin using pip.$pipinstallpyduinocoinMaking queriesYou can use theDuinoClientobject instance to perform queries.Most methods of theDuinoClientclass have the same name as the REST API endpoints.Check out the REST API Documentation:https://github.com/revoxhere/duco-rest-apiAll responses will return aDictObjobject or alistobject. Alldictobjects in the response will be transformed intoDictObj. You can access to the data of aDictObjobject as you would with adictobject, or do it through the attributes. An example to illustrate this:client=DuinoClient()response=client.user('example')# It is the same::forresponse['balance']['username']forresponse.balance['username']forresponse['balance'].usernameforresponse.balance.username# I love this one# DictObj is iterable:forkey,valueinresponse.items():print(key)print(value)ExamplesUsage examples can be found in the/examplesfolder of the projectTestsYou can run the tests via the command line.Place your terminal at the root of the project and run the following command.$python-munittestdiscovertests"*_test.py"Greetings@revoxherebyduco-rest-apifor the REST API documented.@dansinclair25byduco-rest-apifor the original REST API.
Package: pydumpck
What?pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base onpycdcanduncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.InstallpipinstallpydumpckUsageusage:pydumpck[-h][-oOUTPUT_DIRECTORY][-wTHREAD][-tTIMEOUT][--session-timeoutTIMEOUT_SESSION][-yTARGET_FILE_TYPE][-d[DECOMPILE_FILE...]][--header[STRUCT_HEADERS...]][-v[SHOW_VERSION]][-p[PLUGIN...]][target_file]pydumpckisamulti-threadstoolfordecompileexe,elf,pyz,pycpackedbypythonwhichisbaseonpycdcand
uncompyle6.sometimesitspy-fileresultnotexactlyright,maybecoulduseuncompyle6.

positionalarguments:target_filefiletoextractordecompiler,combinewith-yfortypeselect.

options:-h,--helpshowthishelpmessageandexit-oOUTPUT_DIRECTORY,--outputOUTPUT_DIRECTORYoutputarchivefileto(default:output_2938294).-wTHREAD,--threadTHREADthreadcountforrunning(default:0)cpu-count*8.-tTIMEOUT,--timeoutTIMEOUTtimeoutrunningsingledecompiler(default:10).--session-timeoutTIMEOUT_SESSIONtimeoutrunningtotaltask(default:10).-yTARGET_FILE_TYPE,--typeTARGET_FILE_TYPEfile-typeofinputfile,canusepe,exe,elf,pyc,pyz(default:None:autoguess).-d[DECOMPILE_FILE...],--decompile_file[DECOMPILE_FILE...]onlydecompilereferredfileforquickcomplete(default:None).--header[STRUCT_HEADERS...]specifypycheaderhex-string(default:None).ifnotset,pydumpckwillusestruct.pyc'sheader(if possible) and default header.eg:6f0d0d0a 00000000 00000000 ffffffff-v [SHOW_VERSION], --version [SHOW_VERSION]show version of package-p [PLUGIN ...], --plugin [PLUGIN ...]enable decompiler plugins,split by space .example: `--plugin pycdc uncompyle6` (default:['pycdc']).available:pycdc,uncompyle6Quick Startpydumpckxxx.exe
pydumpckxxx.elf
pydumpckxxx.pyc
pydumpckxxx.pyz
pydumpckxxx.exe--output./output--thread8--timeout10Example-p/--pluginspecified which plugin to use for decompile (pycdc|uncompyle6)pydumpck xxx.exe -p uncompyle6pydumpck xxx.exe -p pycdc uncompyle6-d/--decompile_filespecified which file(s) to decompile for a faster runpydumpck xxx.exe -d mainfor only targetmain.pypydumpck xxx.exe -d main lib_base64 secertfor targetsmain.pyandlib_base64.pyandsecert.pyDemopyc with header been tampered with(Warning:gif with size 5MB)Noticepycdcspeed is more than 10 times faster thanuncompyle6, anduncompyle6is not support for python that version above 3.8.howeverpycdcsometimes return a not precisely right result.in pydumpck , you can use--plugin uncompyle6for single-use or--plugin pycdc uncompyle6for both-use.Status
Package: pydumpi
SST-DUMPI Python BindingsPython bindings for the SST-DUMPI Trace Library.InstallPydumpi is available atPyPi:pipinstallpydumpiNote: The PyPI package contains a prebuilt shared library, this might not
work on very old systems, and is linux only. If this does not work for you
installing from source is your only option.Install from SourceClone this repository and install the package with pip in a virtual environment, e.g:gitclonehttp://github.com/justacid/pydumpicdmyprojectsourcevenv/bin/activate
pipinstall../pydumpiThe install might take some time - if the dumpi library can not be found
on the path it will be downloaded and compiled during the install
process. You can also install libundumpi globally, for more
information on how to install globally refer to thesst-dumpi repository.Usage ExamplesInherit from DumpiTrace and override the callbacks you are interested in.
Every MPI function has an available callback. A complete list can be found
indumpi/callbacks.py.frompydumpiimportDumpiTraceclassMyTrace(DumpiTrace):def__init__(self,file_name):super().__init__(file_name)self.message_count=0defon_send(self,data,thread,cpu_time,wall_time,perf_info):self.message_count+=1time_diff=wall_time.stop-wall_time.startprint(f"Time elapsed in 'MPI_Send':{time_diff.to_ms()}milliseconds.")defon_recv(self,data,thread,cpu_time,wall_time,perf_info):print(f"Message received on thread '{thread}' from thread '{data.source}'.")withMyTrace("path/to/some/trace.bin")astrace:trace.print_header()trace.read_stream()print(trace.message_count)Important:Since the C backend frees the data after a callback returns,
it is only validwithina callback (including wall and cpu time). If you
need to store it perform a deep copy, otherwise you get garbage values.Meta DataYou can inspect the meta data of a dumpi trace by printing the header and
footer. In particular the footer prints a list of all MPI functions that
were called during a trace - this information can help guide you in deciding
which callbacks need to be overriden for further analysis.withDumpiTrace("path/to/some/trace.bin")astrace:trace.print_header()trace.print_footer()There also is a utilty function to read all binary traces in a folder. The
function will search for a meta file in a given directory, do some basic sanity
checks and return a list with all binary traces.frompydumpi.utilimporttrace_files_from_dirforfnameintrace_files_from_dir("path/to/data_dir"):print(fname)
Package: pyDune
Requirementsmatplotlib (random grid generation)nosetest, nose-covpyparsing (grammar based grid io)PyQT (grid viewer)GitPython (dune.supermodule)Homepagehttp://users.dune-project.org/projects/pyduneScriptsmesh-convert: converts between ply/smesh and dgfmesh-generate: generates parametrized simplicial meshes in 2/3Dmesh-viewer: pyQt based smesh/ply viewertetgen2dgftriangle2dgfdune-supermodule: for a given dune.module creates a git supermodule
with all dune dependencies as git submodules
Package: pydungeoncrawl
pydungeoncrawlA python package to run a dungeon crawl with appropriate classes and structure.This package is meant to be used in an interactive session, and works best when used in conjuction with a Jupyter Notebook. It is also useable in Google Colab (with slight modifications to the colab runtime -- for example code see theAPI reference).API ReferenceSee theAPI referencefor explanations and usage examples.
Package: pydupes
pydupesis yet another duplicate file finder like rdfind/fdupes et al
that may be faster in environments with millions of files and terabytes
of data or over high latency filesystems (e.g. NFS).The algorithm is similar tordfindwith threading and consolidation of
filtering logic (instead of separate passes).traverse the input paths, collecting the inodes and file sizesfor each set of files with the same size:further split by matching 4KB on beginning/ends of filesfor each non-unique (by size, boundaries) candidate set, compute the sha256 and emit pairs with matching hashConstraints:traversals do not span multiple devicessymlink following not implementedconcurrent modification of a traversed directory could produce false duplicate pairs
(modification after hash computation)Setup# via pippip3install--user--upgradepydupes# or simply if pipx installed:pipxrunpydupes--helpUsage# Collect counts and stage the duplicate files, null-delimited source-target pairs:pydupes/path1/path2--progress--outputdupes.txt# Sanity check a hardlinking of all matches:xargs-0-n2echoln--force--verbose<dupes.txtBenchmarksHardware is a 6 spinning disk RAID5 ext4 with
250GB memory, Ubuntu 18.04. Peak memory and runtimes via:/usr/bin/time -v.Dataset 1:Directories: ~33kFiles: ~14 million, 1 million duplicateTotal size: ~11TB, 300GB duplicatepydupesElapsed (wall clock) time (h:mm:ss or m:ss): 39:04.73Maximum resident set size (kbytes): 3356936 (~3GB)INFO:pydupes:Traversing input paths: ['/raid/erik']
INFO:pydupes:Traversal time: 209.6s
INFO:pydupes:Cursory file count: 14416742 (10.9TiB), excluding symlinks and dupe inodes
INFO:pydupes:Directory count: 33376
INFO:pydupes:Number of candidate groups: 720263
INFO:pydupes:Size filter reduced file count to: 14114518 (7.3TiB)
INFO:pydupes:Comparison time: 2134.6s
INFO:pydupes:Total time elapsed: 2344.2s
INFO:pydupes:Number of duplicate files: 936948
INFO:pydupes:Size of duplicate content: 304.1GiBrdfindElapsed (wall clock) time (h:mm:ss or m:ss): 1:57:20Maximum resident set size (kbytes): 3636396 (~3GB)Now scanning "/raid/erik", found 14419182 files.
Now have 14419182 files in total.
Removed 44 files due to nonunique device and inode.
Now removing files with zero size from list...removed 2396 files
Total size is 11961280180699 bytes or 11 TiB
Now sorting on size:removed 301978 files due to unique sizes from list.14114764 files left.
Now eliminating candidates based on first bytes:removed 8678999 files from list.5435765 files left.
Now eliminating candidates based on last bytes:removed 3633992 files from list.1801773 files left.
Now eliminating candidates based on md5 checksum:removed 158638 files from list.1643135 files left.
It seems like you have 1643135 files that are not unique
Totally, 304 GiB can be reduced.fdupesNote that this isn't a fair comparison since fdupes additionally performs a byte-by-byte comparison on
MD5 match. Invocation with "fdupes --size --summarize --recurse --quiet".Elapsed (wall clock) time (h:mm:ss or m:ss): 2:58:32Maximum resident set size (kbytes): 3649420 (~3GB)939588 duplicate files (in 705943 sets), occupying 326547.7 megabytes
Package: pydupfinder
pydupfinderFind duplicate files.

Options:
  Limits: [mutually_exclusive]    Limits for found duplicates
    -a, --at-least INTEGER RANGE  Find AT LEAST that many duplicates if there
                                  are enough duplicates.  [x>=2]
    -m, --max-size TEXT           Calculate checksums for AT MOST this total
                                  size of files.
  -r, --reset-cache               Remove database, caching checksums
  --help                          Show this message and exit.max-sizelimit allows one, for example, find duplicates in OneDrive without downloading everything.
Package: pyduq
pyduqpyduq [py = python, d=data quality, uq = University of QLD, Australia]This project is a generic, meta-driven data quality validation suite. This project
was developed by Shane J. Downey as part of his M.Phil research study.The purpose of pyduq is to provide a detailed analysis of the quality of data by
comparing actual data against a set of generic data quality rules. The data quality
rules are an implementation of LANG. LANG is a prior research study that provided
a set of data quality pseudo-SQL statements that implement the 8 dimensions of
data quality.pyduq has been provided as open source unde the GNU licence.pyduq - get all your data ducks in a row!Documentation:Please see the /doc folder on the Homepage for detailed instrucitons on usage.Examples:Please see the /examples folder on the Homepage for many examples of using pyduq features to validate Open Data sources.Installation:Before installing pyduq some prerequisties must be installed:pip install dicttoxml
pip install unidecodepython
import nltk
nltk.download('stopwords')ReferencesJayawardene, V., Sadiq, S., & Indulska, M. (2013). An Analysis of Data Quality Dimensions. Retrieved fromhttp://espace.library.uq.edu.au/view/UQ:312314/n2013-01_TechnicalReport_Jayawardene.pdfZhang, R., Jayawardene, V., Indulska, M., Sadiq, S., & Zhou, X. (2014). A Data Driven Approach for Discovering Data Quality Requirements.
ICIS 2014 Proceedings, 1â€“10. Retrieved fromhttp://aisel.aisnet.org/icis2014/proceedings/DecisionAnalytics/13
Package: pyduration
pydurationA calendar unit length utility library for Python.InstallationWithpoetry:poetryaddpydurationOr with pip:pip3 install pydurationUsageHave a look at thedocumentation.Basic usage:frompydurationimportDurationdays=Duration('1d')fordayindays.iterate(['2020-01-01','2020-01-31']):print(f'{day[0]}-{day[1]}')DevelopmentUpdating DocumentationThe modulepdoc3is used to automatically generate documentation. To update the documentation:Installpdoc3if needed withpip3 install pdoc3.Navigate to project root and install dependencies:poetry install.Generate documetation files with:pdoc3 -o docs --html pyduration.The new files will be indocs/pyduration. Move them todocs/and replace existing files.
Package: pydustry
pydustryA Python package for controlling Mindustry servers and getting their current statusDocumentation:pydustry.Server(host, server_port = 6567, socketinput_port = 6859)Server object.host-String.Required. IP address of the serverserver_port-Int.Defaults at 6567. Port of the server.socketinput_port-Int. Defaults at 6859. Socketinput port of the server.pydustry.Server.get_status()Returns the status of the server in the form of a dict.Example:>>> pydustry.Server("exampleserver.com").get_status()will output{"name": "Example Mindustry server",
 "map": "Maze",
 "players": 5, 
 "wave": 10, 
 "version": 89, 
 "vertype": "official"}"name"-String.Name of the server."map"-String.Map that the server is currently on."players"-Int.Number of players online."wave"-Int. Wave that the server is currently on."version"-Int.Version that the server is on"vertype"-String.Version type of the server.pydustry.Server.send_command(command)Sends a command through thesocketinputport of the server.command-String.Required. Command that gets sent to the serverpydustry.Server.get_ping(timeout = 10.0)Returns thedelayit takes packets to come to the server and back in miliseconds(ping).ping-Int.timeout-Numeric, optionalExample codesimport pydustry

# A program that will output the playercount and ping

host = input("Enter the IP address of the Mindustry server:")
port = input("Enter the port of the Mindustry server:")

server = pydustry.Server(host, int(port))

playercount = server.get_status()["players"]
ping = server.ping()

print("The number of players is: " + str(playercount))
print("And the ping is: " + str(ping))import pydustry, time

# A program that will autosave the local server every 5 minutes

server = pydustry.Server("localhost")

while True:
    server.send_command("save 0")
    server.send_command("say Saved!")
    time.sleep(300)
Package: pydustry.py
Installationpip install -U pydustry.pyExamplemain.pyimportpydustrystatus=pydustry.Server("rcrms.ru").get_status()print(status)ReturnStatus(name='[gold]RCR [#B5B8B1]- [white]Ру[blue]сс[red]кий [#B5B8B1]Сервер',map='RCR HUB',players=7,wave=1,version=146,vertype='official',gamemode=0,limit=0,desc='...',modename='LOBBY',ping=37)
Package: pydvma
# pydvmaA Python package for dynamics and vibration measurements and analysis.## About pydvmaThis is a modular library for data measurement and analysis in the context of dynamics and vibration, for use in student laboratory experiments as well as for research projects, developed at Cambridge University Engineering Department.A high-level interface allows straightforward application for common use-cases and a low-level interface provides more control when needed.The aim is for a library that is simple to use and simple to maintain. It is not a full-featured GUI, but when used in conjunction with Jupyter Notebooks it is intended to provide the best of both worlds: interactive tools for common tasks and a command line interface for customisation.## Getting started### InstallationThe logger is recommended for use with Python 3.10.` pip install pydvma `If you would like soundcard acquisition then also install sounddevice:` pip install sounddevice `Or clone this repository and install using:` python setup.py install `Alternatively you can use the environment yml file provided:` conda env-namelogger create-flogger.yml conda activate logger `### Running the loggerTo get started, open the file:` pydvma_template.ipynb `or within a Jupyter Notebook or Python console:`python %gui qt import pydvma as dvma settings = dvma.MySettings() osc = dvma.Oscilloscope(settings) logger = dvma.Logger(settings) `## RoadmapAt present the library has basic functionality for:logging data using soundcards or National Instrument DAQs (requires NiDAQmx to be installed from NI, windows only)logging with pre-trigger for impulse response measurementslogging with pc generated output (soundcard and NIDAQ)computing frequency domain datacomputing transfer function datacomputing sonograms/spectrogramsbasic modal analysis tools (mode-fitting)saving and plotting dataexport to Matlabinteractive tools for standard acquisition and analysisoscilloscope view of input signalsThe plan is to include the following functionality:wider support for import/exportmore advanced modal analysis tools (e.g. global fitting)extend the range of hardware that can be accessed from this library## Contributer guidelinesContributions to this project are welcomed, keeping in mind the project aims above:If you find a bug, please report using GitHub’s issue trackerFor bug-fixes and refinements: please feel free to clone the repository, make edits and create a pull request with a clear description of changes made.If you would like to make a more significant contribution or change, then please be in contact to outline your suggestion.Please see the documentation for details of the code structure and templates for anticipated applications.
<!– pip install git+https://github.com/torebutlin/pydvma.git –>
<!– pip install git+https://github.com/js2597/pydvma.git –>
Package: pydw
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)If you're interested in financially supporting Kenneth Reitz open source, considervisiting this link. Your support helps tremendously with sustainability of motivation, as Open Source is no longer part of my day job.Check out the example!To DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.✨🍰✨
Package: pydwcviz
PyDwcVizA python package that makes Darwin-Core Data analysis and visualization easy.InstallationInstall latest development version from GitHubpipinstallgit+git://github.com/marinebon/py-dwc-viz.gitModulesModuleDescriptiondiversityGenerate biodiversity indices for species analysis.mapVisualize DwC data easily on mapsstatsVisualize distribution of records and environmental parameters.taxonVisualize taxonomic distributions.DocumentationThe documentation can be found atGitHub Pages.AuthorsOpen-sourced and Built with ❤️ by MBON volunteers
Package: pydwrf
This file requires editingNote to the author: Please add something informative to this READMEbeforereleasing your software, asa little documentation goes a long way.  Both
README.rst (this file) and NEWS.txt (release notes) will be included in your
package metadata which gets displayed in the PyPI page for your project.You can take a look at the README.txt of other projects, such as repoze.bfg
(http://bfg.repoze.org/trac/browser/trunk/README.txt) for some ideas.CreditsDistributeBuildoutmodern-package-templateNews0.2a1Release date: UNRELEASEDExample news entry for the in-development version0.1Release date: 15-Mar-2010Example news entry for a released version
Package: pydxl
Python DynamixelPython package to use Dynamixel servos through a serial interface (unofficial, easier SDK).Post-creationread the docsça a buggé, j’ai créé le projet à la main, et ensuite tout a fonctionnépepy.techDocumentationThe full documentation can be read athttps://pydxl.readthedocs.io.Example code:importtimefrompydxlimportMx28,SerialLinklink=SerialLink(device="/dev/ttyUSB0",baudrate=1_000_000,protocol_version=1.0)servo=Mx28(identifier=1,serial_link=link)servo.ping()servo.led=Trueservo.torque_enable=Trueservo.goal_position=2000print(servo.goal_position)time.sleep(3)servo.goal_position=1500time.sleep(3)servo.torque_enable=Falselink.close()FeaturesUse protocol 1.0 through a serial link, known to work with:U2D2Support servos:MX-28TODO: implement protocol 2.0TODO: add more servo typesLicenseBSD 3-Clause license, feel free to contribute:https://pydxl.readthedocs.io/en/latest/contributing.html.History2019.3.19Full support of MX-28 servo with protocol 1.02019.3.17 (2019-03-18)First release on PyPI.
Package: pyDye
A rudimentary Dependency injection framework in python.The dependencies are defined in a yaml file as mentioned below. Th objects are created by referring to the namespace defined in yaml for the desired object.Main modules are:jtk.di.dyeSample Code:dye.load_di('pydi.yaml')

s = dye.get_instance('jubin.body')

s.print()main.pyObjects created can also reference other objects.Config filepydi.yamlComes in this format:namespace1:
  class: class_name
  class_attr:
    attr: value
  const_args:
    attr: value
    attr: 'ref:namespace2'
  inst_attr:
    attr: value
    attr: value

namespace2:
  class: class_name
  const_args:
    attr: valuePyPIURL.
Package: pydyf
pydyf is a low-level PDF generator written in Python and based on PDF
specification 1.7.Free software: BSD licenseFor Python 3.7+, tested on CPython and PyPyDocumentation:https://doc.courtbouillon.org/pydyfChangelog:https://github.com/CourtBouillon/pydyf/releasesCode, issues, tests:https://github.com/CourtBouillon/pydyfCode of conduct:https://www.courtbouillon.org/code-of-conductProfessional support:https://www.courtbouillon.orgDonation:https://opencollective.com/courtbouillonCopyrights are retained by their contributors, no copyright assignment is
required to contribute to pydyf. Unless explicitly stated otherwise, any
contribution intentionally submitted for inclusion is licensed under the BSD
3-clause license, without any additional terms or conditions. For full
authorship information, see the version control history.