Saravanan666/pypi-org huggingface dataset:
Package: py-data-structures
py-data-structuresPython implementation of abstract data structuresInstallpip install py-data-structuresData Structures Covered:StackQueueStackUsagefrom data_structures import Stack

stack = Stack()
stack.push(item)  # push an item in stack
stack.pop()  # returns and removes the top item from the stack
stack.length  # contains the length of the stack
stack.top  # contains the top item of the stack

stack.iterate()  # override to iterate or perform action on the stack elementsExceptionsfrom data_structures import exceptions

# raised on pop() or top when stack is empty
exceptions.EmptyStackExceptionQueueUsagefrom data_structures import Queue

queue = Queue()
queue.enqueue(item)  # add an item at the end of queue
queue.dequeue()  # returns and removes the first item from the queue
queue.length  # contains the length of the queue
queue.first_item  # contains the first item in the queue
queue.last_item  # contains the last item in the queue

queue.iterate()  # override to iterate or perform action on the queue elementsExceptionsfrom data_structures import exceptions

# raised on dequeue(), first_item or last_item when queue is empty
exceptions.EmptyQueueException
Package: pydatatools
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: pydatav
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈项目运行使用docker部署dockerbuild.
dockerrun-it-p8888:80image-id
/usr/sbin/nginx源码和演示视频说明：https://www.bilibili.com/video/BV1Kz4y1r76w/线上演示：https://python-office.com/pydatav/demo/本项目所有案例采用的数据均属虚构，切勿当真！模板源码：国内地址：点击直达国外地址：点击直达开发环境代码检查：pylint，配置文件：./conf/pylint.conf交流群 & 免费课程
Package: pyDataVis
pyDataVispyDataVisis an open source application for interactive visualization, analysis and manipulation of scientific data. There are manyfree plotting softwaremost of them far more powerful thanpyDataVis. However, in terms of simplicity, it is hard to beat. Indeed it is designed to be very easy to use, just drag and drop your data file inpyDataViswindow and immediately you are seeing the curves. For now,pyDataVisis limited to 2D plotting.pyDataVisis written inPythonand usePyQtas graphic user interface (GUI) andMatplotlibfor plotting.InstallationInstallation from Debian packageThis package can be found on thewebsiteof pyDataVis, inDownloads page.
Assuming that the .deb file is in Downloads folder, to install, open a Terminal and type:cd Downloads
sudo dpkg -i pyDataVis.debInstallation with Windows installerThis installer can be found on thewebsiteof pyDataVis, inDownloads page.Installation from the Python Package IndexOpen a Terminal and run:pip install pyDataVisThen to launch the application:pyDataVisInstallation from source archivespyDataVis requires Python 3, PyQt5, Numpy, Pandas, Scipy and Matplotlib. The easiest way to install everything is to use Open SourceAnacondathat will "just work" out of the box for Windows, macOS and common Linux platforms.The source archives can be found on thewebsiteof pyDataVis, inDownloads page. Extract the archive to the place where you want to store the program.You can instead clone the repository if you havegitinstalled.
Open a Terminal and change the current working directory to the location where you want to clone pyDataVis, for example ~/myprog:cd ~/myprogThen type:git clone https://github.com/pyDataVis/pyDataVis.gitTo launch the application, change the current working directory to the pyDataVis folder, for example ~/myprog/pyDataVis:cd ~/myprog/pyDataVisand execute the pyDataVis.py script:python pyDataVis.pySupportTo display the manual, open the pagehttps://pydatavis.github.io/in your browser or use theHelpoption in theHelpmenu.The folderexamples, in the source archives, contains files for testing almost all the function. For those who have not installed from source archives, they can be found on thewebsiteof pyDataVis, inDownloads page.If you need more information, feel free to contact me at:palphonse@wanadoo.frTestingTo see almost every script commands in action you can run the self tests with the 'Run tests' option in Help menu.LicenseMITAuthorPierre Alphonsepalphonse@wanadoo.frContributingThis is a one-man project made by a non-professional. There must be many thing to improve.
Any help is welcome.RoadmapThis sofware was developed on Linux (Ubuntu 20.04), tested on Windows 10 but not yet tested on macOS.
Package: pydatavisualization
Data Visualization CheatSheet (everything you might need )The project include module with functions to summarize and analysis dataset in order 
to understand properties and relationships.ReadMEDESCRIPTIVE  MODULEAnswer the question (What Happen?)Includes one module:pyeda.pyIncludes simple data visualization functions that might be useful in general cases.Example:
  
  import descriptive.pyeda as eda 

  data = eda.import_dataset("data.csv") 
  eda.visualize_distribution_of_numeric_col(data, "column_name")
Package: pyDataViz
pyDataVizThis package is created by Amir H. to help him reuse the code he has written in the past. Most of the codes are written using the already written code on the internet but modified for specific use in Transportation studies.InstallationRun the following to install:pipinstallpyDataVizUsagefrompyDataVizimporthistogramhistogram.prepForHistogram(data_array,num_digits=0)Follow Amir onTwitter.
Package: pydate40k
Imperial Dating System converterBased on the information from theWiki.UsageCreating an instance of the object with no parameters will convert the current date (at the moment).from pydate40k.Date40k import Date40k

d = Date40k()
print(d)
>>> 944 019.M3Using a date string with theformat"%Y-%m-%d %H:%M:%S"will convert that date, on any invalid format, the current date will be returned instead.from pydate40k.Date40k import Date40k

d = Date40k("1999-05-11 13:00:00")
print(d)
>>> 360 999.M2GW, Games Workshop, Citadel, Black Library, Forge World, Warhammer, the Twin-tailed Comet logo, Warhammer 40,000, the ‘Aquila’ Double-headed Eagle logo, Space Marine, 40K, 40,000, Warhammer Age of Sigmar, Battletome, Stormcast Eternals, White Dwarf, Blood Bowl, Necromunda, Space Hulk, Battlefleet Gothic, Dreadfleet, Mordheim, Inquisitor, Warmaster, Epic, Gorkamorka, and all associated logos, illustrations, images, names, creatures, races, vehicles, locations, weapons, characters, and the distinctive likenesses thereof, are either ® or TM, and/or © Games Workshop Limited, variably registered around the world. All Rights Reserved.
Package: py-dateinfer
pydateinferPython library to infer date format from examples.  This is an actively
maintained fork of the originaldateinferlibrary by Jeffery Starr.  It maintains python 2/3 compatibility and
will be released as pydateinfer.  Pull requests and issues welcome.Table of ContentsProblem StatementInstallationUsageProblem StatementImagine that you are given a large collection of documents and, as part of the extraction process, extract date information and store it in a normalized format.
If the documents follow a single schema, the ideal approach is to craft a date parsing string for the schema.
However, if the documents follow different schemas or if the contents are noisy (e.g. date fields were hand-populated), the development can become onerous.This library makes a "best guess" on the proper date parsing string (datetime.strptime) based on examples in
the file.Installationgitclonehttps://github.com/nedap/dateinfer.gitcddateinfer
pipinstall.Usage>>>importdateinfer>>>dateinfer.infer(['Mon Jan 13 09:52:52 MST 2014','Tue Jan 21 15:30:00 EST 2014'])'%a%b%d%H:%M:%S %Z %Y'>>>Givedateinfer.infera list of example date strings.inferreturns adatetime.strftime/strptime-compliant
date format string for its "best guess" of a format string that will correctly parse the majority of the examples.DevelopmentUse the following to install the package locally for development purposes:# create empty virtual environmentvirtualenvvenv--python=python3.7sourcevenv/bin/activate# install dateinfer in editable modepipinstall-e.# install development dependenciespipinstall-rrequirements.txtYou can run unit tests as follows:python-munittestdateinfer/tests.py
Package: pydateparser
pydateparserTable of ContentsInstallationUsageLicenseInstallationpydateparser is distributed onPyPIas a universal
wheel and is available on Linux/macOS and Windows and supports
Python 3.6+.$pipinstallpydateparserUsagesample input:frompydateparserimportDateParserasparsertext='Today is 10/12/16 and tomorrow is January 01 2019.'dp=parser(text,start_year=2000,end_year=2020,locale=None)sample output:dp.date#output[datetime(date='january 01 2019',token_span=(34,49),token_index=(6,8),locale='%B%d%Y'),datetime(date='10/12/16',token_span=(9,17),token_index=(2,2),locale='%d/%m/%y')]for an extended usage demo referthisnotebook.Licensepydateparser is distributed under the terms of theMIT License.
Package: pyDATR
pyDATR is an implementation of the DATR language written in Python.
It can parse DATR theories and evaluate queries against them. It
also contains a persistence layer that allows storing theories and
nodes in a relational database. Theories that have been stored through
this layer can later be partially loaded and will transparently
retrieve nodes from the database as needed, thus reducing memory
consumption.There’s not much there in the way of a user interface as it is intended
to be called from Python scripts.
Package: pydavinci
pydavinciA lightly opinionated DaVinci Resolve Python API wrapperProvides auto completion, type hints and great API reference documentation.I really just wanted auto completion in the IDE and to program transcoding RAW formatsInstall pydavinciInstall via pip using aPython 3.6environmentpipinstallpydavinciNow, with Davinci Resolve open, we just need to import it!frompydavinciimportdavinciresolve=davinci.Resolve()Examples and documentationCheck out the usageexamplesOr go deep in thedocumentationInstallation requirements and guidelinespydavincionly works withPython 3.6.*, as that's a requirement on DaVinci Resolve's part.For launching scripts externally, you also need theStudioversion.If you're working with the built-in Davinci Resolve Python console, you need to installpydavincifor the Python interpreter that's used by Davinci's console.For avoiding conflicts when using inside the embedded console, don't useresolveas the entry point variable, as that's reserved by the console. Example of suggested usage:Davinci Resolve v18 betaFor the newer DaVinci Resolve v18, currently in beta, newer Python installations are supported.If you want to try outpydavinciwith new Python versions for Resolve v18, use pip with the--ignore-requires-pythonflag.Note that while I did some quick tests, I can't guarantee everything works on Resolve v18 beta. Full testing will become available as further betas come through, and will be supported fully on the official release.Launching scripts externally (Studio version)Forpydavincito work by launching scripts outside the embedded console, make sure external scripting is set toLocalinSettings -> System -> GeneralTo-do and contributingContributors are always welcome! I currently have a few things I want to change, some of them are:Document all possible values ofget_settingandset_settingNew in 0.2.0!Add a better way of interfacing with the wholeget_settingandset_settingmethods using a proxy class or something to that effectNew in 0.2.0!Deal with markers in a better wayNew in 0.2.0!Auto launch Resolve when it's not open - I've ran into some issues while trying to connect to the C extension right after launching it, a dirty way to do it is to just implement atime.sleepbefore trying to import the fusionscript module, otherwise we'll need to create another entrypoint to the api for launching the process and then signaling when it's readyDo the same wrapper made for settings to Metadata and PropertiesIf you want to contribute feel free to open a pull request!
Package: pydavinci-18
PyDavinci18 🍴Note:This project is a fork of Pydavinci!PyDavinci is developed byPedro LaboniaOriginal projectOriginal docsOriginal PyPiWhy the fork?Unfortunately, PyDavinci's progress has slowed, likely due to the pressures and expectations of its developer. I've had plans to publish packages depending on PyDavinci to PyPi, but PyPi doesn't allow publishing packages with git dependencies. Also, Pip allows ignoring required Python versions with therequires_pythonflag, but other package managers or development environments may not place nice.Have you spoken to the dev?Yes! I am a collaborator on the original project and have shared some thoughts with him on Discord. In fact, Pedro'sresolve_18branchshouldbe fairly up-to-date withmainif I'm doing my job right. All the same, I don't have access to the main repo or the PyPi credentials to push releases and I don't want to be a Karen.What can I expect from this fork?I plan to service my needs here where the official project is lacking, but I'm more than happy to collaborate with others on changes. For the moment I may have a little more free time than Pedro, but I do not plan to supplant him, given he has already demonstrated superior skill and expertise for this project! If in time PyDavinci truly appears abandoned and demand increases, I may take this project in a more headstrong direction. Otherwise, if development picks up again, I will contribute my changes and archive this repository.Why PyDavinci at all?I personally think PyDavinci is the most comprehensive and intuitive API wrapper for DaVinci Resolve. I'd like to see it continue growing! It's very thorough and makes building Python apps for Resolve quick and easy.Anything else to note?Although the package's name ispydavinci18, do not install this alongside the original, as installations will collide. The project uses the same namespace aspydavinci.Documentation is still sparse as I find time to update it! For now go to the originalPyDavinci projectInstallationPyDavinci requires Python 3.10 or higherExternal scripting with PyDavinci requires Resolve Studio 18 (Free version does not allow API access)pipinstallpydavinci_forkUsage# Note: Ensure Davinci Resolve is open before importingfrompydavinciimportdavinciresolve=davinci.Resolve()DocumentationUp to date docs are still a work in progress. At some point expect to see the original API reference extended and some further examples included.Here's a quick list of changes and added API support not present in theoriginal docs:Python 3.10 typingUsingHatchfor project managementUsingRufffor lintingAddedGallery API wrapper(untested)Addedtimeline.settings.timecodesetterSupport Resolve'sGetUniqueIDmethod
Package: pydavis
Installation|Usage|LicensepydavisA package intended the logging of weather data parameters monitored by
Davis weather stations. The parameters are obtained through the reports
generated at Davis WeatherLink websites, and can be streamed to aMySQLdatabase or a specified file.InstallationThe package can be installed withpippipinstallpydavisUsageThrough thedata_logging.pymodule, the weather parameters are
streamed fromWeatherLinkwebsites:>>> from data_logging import DataLoggerBy instantiating theDataLoggerwith an URL, the logging sequence can then
be initiated and data stored according to specified format. Any logging
sequence is aborted withCTRL + C.Storing data in a MySQL database>>>logger=DataLogger(url)>>>logger.initiate_logging(to_table=True,user='user',password='password',database='pydavis',table='weather_data')The necessary arguments areMySQLlogin credentials, the name of the database
and the table. Theloggerwill create the database and the table if
necessary.Storing data in a file>>>logger=DataLogger(url)>>>logger.initiate_logging(to_file=True,path_to_file='./weather_data.csv')The location including the name of the file must be passed as argument.
Theloggerwill create a new file if necessary.LicenseMIT, seeMIT license.
Package: pydavsync
pydavsyncA command line to synchronize files with WebDav servers, written in Python.NameThe foundational idea was to have a similar command line and behavior torsync, but for WebDav servers.davsyncis the logical
name. But I started to implement it in Rust, then in Python, and I decided to integrate
the development language in the name. Thuspydavsyncfor the Python implementation.Descriptionrsyncallows to synchronize files over a SSH connection.pydavsynchas been developed to do the same
over a WebDav connection.The command line is not identical because compatibility is not a goal, and some new
ideas emerged while developingpydavsync.The following operations can be done :Synchronization from local filesystem to WebDav serverSynchronization from WebDav server to local filesystemSynchronization from WebDav server to WebDav server (not necessarily the same)Here are some of the features :dry runverbose outputlogin/password given through command line optionssynchronization based on modified time and file sizedeletion when files disappearWebdav?Webdavis used to manage files on remote servers
using HTTP.The primary motivation was to usepydavsyncwithNextcloudwhich is compatible with webdav. But there are many other services accepting webdav.Installationpydavsyncis available onPypi.organd can be
installed usingpip. Many options are available to you, do as you please.pip install pydavsyncUsageOnce installed, the programpydavsyncshould be available in your terminal.To get help, usepydavsyncc --help.Here is an example to synchronize files from a webdav server to a local directory.$pydavsync--src-userUsername--src-passPassword--verbosehttps://my-server.org/path/to/my/directory/path/to/local/directorySupportIf you have a question or need help, pleaseopen an issueand tag it with the ~support label.RoadmapFuture developments:Synchronization from local to webdav (and consequently from webdav to webdav)Smarter synchronization if source and destination are both the same webdav server.Better tests with mocks to simulate a webdav server.Amanpage.New and optional means to check if a file has changed or not.ContributingFirstly, you can opena new issueif you find a bug or have an improvement idea.Any help to test the tool on various systems and Webdav servers is appreciated, as I did not checked many of these myself.If you feel like coding, pleaseforkthe repository and do amerge request. It will be reviewed. Don’t forget to mention issues in your comments if you fix some of them!Authors and acknowledgmentMain author: Romain TAPREST✉LicenseThis project is under theMozilla Public License Version 2.0.Project status🧡 This project is alive! Not frequent updates, but it is not abandoned.
Package: pydawa
PyDawaEn simple API wrapper omkring Danmarks Adressers Web API (DAWA).Formålet med dette modul er at give nem adgang til DAWA i Python. Grunden til, at jeg begyndte at arbejde på dette modul er, at jeg havde skrevet et par scripts i python, der brugte API'et, men der var ingen "nem" adgang til det. Plus, jeg var nysgerrig over, om jeg kunne skrive et modul og uploade til pypi.Det her projekt er et "work in progress", så jeg kommer til at tilføje funktionalitet, når jeg har brug for den. Jeg håber, at folk har lyst til at hjælpe med det.AfhængighederRequestsInstallationInstaller med pip:$ pip install pydawaBrugIndtil videre, består modulet kun af tre classer:AdressesoegAdresseopslagAdressevaskerAdressesoeg()Søg efter en adresse med vejnavn, husnr og postnummer.importpydawaadresse=pydawa.Adressesoeg(vejnavn='Dronning Dagmars vej',husnr='200',postnr='3650')response=adresse.info()info()metoden henter data fra dawa api'et og returnerer en dictionary med respons.Man kan også søge med en tekststring.importpydawaadresse=pydawa.Adressesoeg(q='Dronning Dagmars Vej 200, 3650 Ølstykke')response=adresse.info()AdresseopslagSøg efter en adresse med adressens unikke id.importpydawaadresse=pydawa.Adresseopslag(id=id)response=adresse.info()info()metoden henter data fra dawa api'et og returnerer en dictionary med respons.AdressevaskerDatavask af adressebetegnelse. Modtager en adressebetegnelse og returnerer en eller flere adresser, der bedst matcher.importpydawaadresse=pydawa.Adressevasker(betegnelse=adressebetegnelse)response=adresse.info()Koordinater for adresserMan kan hente koordinater for en given adresse ved at brugeget_koordinatermetoden fraadressevariablen i examplerne ovenfor.importpydawaadresse=pydawa.Adresseopslag(id=id)response=adresse.info()koordinater=adresse.get_koordinater(response[0])Den metode tager et json object. Indtil videre se returner bådeAdressesoegogAdresseopslagen liste, så derfor bruger manresponse[0]som input.
Man kan kun hente koordinater fraAdressesoegog _ Adresseopslag_, fordiAdressevaskerreturnerer ikke koordinater.Reverse geokodningHvis man har koordinater og gerne vil finde den nærmeste adresse.importpydawakoordinater=(12.18,55.78)adresse=pydawa.Reverse(koordinater=koordinater)response=adresse.info()GeokoderHvis man har en csv eller xlsx fil, som indeholder adresser, som skal geokodes, så kan man bruge den her. Peg på filen og gem resultatet enten som en Pandas dataframe, hvis du skal bearbejde data mere, eller i en fil i samme mappe.importpydawageokoder=pydawa.Geokoder('c:/users/brugernavn/adresser.csv')# Gem data i en dataframedf=geokoder.geokod_file(cols=['adresse','postnr','By'])# Gem data i en filgeokoder.geokod_file(save=True,cols=['adresse','postnr','By'])