Saravanan666/pypi-org huggingface dataset:
Package: drivedl
drivedlThis is a CLI tool for concurrent downloads of directories in any drive type. (My Drive, Team Drive or Shared with me)The tool requires the'https://www.googleapis.com/auth/drive'scope as of now. This scope can be tightened since all that the script needs is permission to traverse and download data from the drives. Feel free to PR a different scope if it is more relevantInstallation:Install the binary through PyPI using the following command:$pipinstalldrivedlPre-requisites:Downloadcredentials.jsonfor a Desktop drive application. Instructions on how to get that can be foundhere(refer to Step 1)Save thecredentials.jsonfile in the same directory asdrivedl.pyInstall the Drive API for python by running the following command:$pipinstall-rrequirements.txtUsage:$pythondrivedl.py<folder_id/file_id><path_to_save>It is as straightforward as that!Note that on the first run, you will have to authorize the scope of the application. This is pretty straightforward as well!Skipping existing files:Adding an argument--skipto your command will skip existing files and not redownload them.By default the behaviour is to download everything without skipping.Assigning extra processes:Adding an argument--procfollowed by an integer of processes to assign the application will spawn the specified processes to do the downloadExample:--proc 10for 10 processesDownloading using process map instead of an iterated map:Adding an argument--noitertells the program to download viaprocess.mapinstead ofprocess.imap_unordered. This lets you download faster with the drawback of no process bar being shown because of no iterable item. Recommended to be used if speed is of essence.Add extra accounts:Run the following command to add a new account. (Adding an account means that it will also be searched when using drivedl)$pythondrivedl.py--addYou will have to authorize the scope of the application for the new account as well. The token will automatically be saved for future uses once permission is granted!Searches:If you add--searchto your command, you can search for the folder name using keywords instead of using the folder link or the folder ID. This searches through all drives in all registered accounts and gives a maximum of 10 results per drive. There is no cap on the global maximum results. The search is limited to folders and will not index loose files.An example of usage is as follows:$ python drivedl.py "avengers endgame" --search "D:/Google Drive Downloads"This also works with default path configurations (stated below).Default Path [Optional]$pythondrivedl.py--path<default_path>This lets you specify a default path for your download location.Debugging:Adding--debugwrites a log file once the entire task is completed so that any issues can be documented. This is helpful while making GitHub issues to pinpoint issues with the script.TODO:Add URL parsingAdd default pathSingle file download supportColor supportMulti-Account supportSkip existing filesSearch functionalityFunctionality to download docs
Package: drivefiller
DriveFiller(dot)pyA python library that creates very large files very quickly.
Please DO NOT use in any malicious form. This has been made for the sole purpose of testing on systems you have the
permission to break. We (Conor and Ben) accept no responsibility for any consequences you may recieve or damage you
may cause.ExamplesTo write 500 lines in the file 'text.txt' stored in 'C:\Documents' with the text 'Hello World!' and check size in bytes:import drivefiller as df
Filler_Object = df.filler('C:\Documents\', 'text', 'Hello World!', 500)
Filler_Object.fill()
print(Filler_Object.checkSize())To write approx. 10,000 bytes in the file'text.txt' stored in 'C:\Documents' with the text 'Hello World!' and check size in bytes:import drivefiller as df
Filler_Object = df.filler('C:\Documents\', 'text', 'Hello World!', 0, 10000)
Filler_Object.fill()
print(Filler_Object.checkSize())
Package: drive-ibd
DRIVE:This repository contains the source code for the tool DRIVE (Distant Relatedness for Identification and Variant Evaluation) is a novel approach to IBD-based genotype inference used to identify shared chromosomal segments in dense genetic arrays. DRIVE implements a random walk algorithm that identifies clusters of individuals who pairwise share an IBD segment overlapping a locus of interest. This tool was developed in python by the Below Lab at Vanderbilt University. The documentation for how to use this tool can be found hereDRIVE documentationInstalling DRIVE:DRIVE is available on PYPI and can easily be installed using the following command:pipinstalldrive-ibdIt is recommended to install DRIVE within a virtual environment such as venv, or conda. More information about this process can be found within the documentation.If the user wishes to develop DRIVE or install the program from source then they can clone the repository. This process is described under the section called "Github Installation" in the documentation.Reporting issues:If you wish to report a bug or propose a feature you can find templates under the .github/ISSUE_TEMPLATE directory.
Package: drivelib
python-drivelibDrivelib makes GoogleDrive easily accessible from Python. It was written becausePyDrivewas lacking some important features and its development seems to have completely stopped.What drivelib already has which PyDrive hasn't:Realresumable file transfer. Uploads can be resumed within one week after starting them.Realchunked file transfer. This makes implementing progress feedback and bandwidth control possibleMuch easier interfaceSupport for Google APIv3Drivelib aims to provide aPathLikeinterface for Google Drive. This is not yet implemented, though.Warning:This library is still under development and cannot yet be considered stable. The API may change any time.
Package: driveline-video
Driveline Python Video SDKdriveline-videois an add-on for the packagedriveline.
It will enable the packagedriveline.video, the core component to video pre-processing.InstallationPrerequisitesBefore installing the Python SDK, you need to install the driveline-dev pacakge for your operating system.
Packages are available for download at:https://github.com/1533-systems/driveline
Package: drivepathsolver
DrivePathSolverDescriptionThis package uses QP solver to implement path planning related optimization in robotic area, mostly related with smoothing, post-processing and constraints-applying of primitive paths.InstallationThis package only requires minimalistic dependenciespipinstallnumpy==1.24.4
pipinstallqpsolvers==4.0.0Or one can directly install with requirement listpipinstall-mrequirements.txt
Package: driver-khawasu
DescriptionProvides a simple usage for Khawasu socket-server.How to installJust make it:pip install driver-khawasuExamples:Create new Driver Instancefromdriver_khawasu.driverimportLogicalDriver# Create instance and connect to serverdriver=LogicalDriver("127.0.0.1",1234)Execute action# Execute "power_level" action for device "103.47.177.100/29" with args: b'\125'# No response returneddriver.execute("103.47.177.100/29","power_level",bytes([125]))# Or# (note that the arguments here are bytes, and the special data that this Action accepts)driver.get_device_by_address("103.47.177.100/29").execute("power_level",125/255)Get action state# Get state for "power_level" action at device "103.47.177.100/29"# Return a state of action (action-spec)driver.action_get("103.47.177.100/29","power_level")# Or# Returns special data, not bytes# (see item "How to do anything with the device")driver.get_device_by_address("103.47.177.100/29").get("power_level")# returned float [0, 1]Subscribe to action# Action handler for subscribedefaction_handler(address,method_name,data):print(f"Wow,{method_name}was executed on"f"{address}and returned{len(data)}bytes!")# Subscribe to device "103.47.177.100/29" at action "power_level" with:# duration: 60 sec# timeout: 0 sec (for immediate subscribe)# No response returned# Will call action_handler when the answer comesdriver.subscribe("103.47.177.100/29","power_level",0,60,action_handler)# For subscribe on duration - 60 sec and timeout - 1 sec:driver.subscribe("103.47.177.100/29","power_level",1000,60,action_handler)# ORdriver.get_device_by_address("103.47.177.100/29").subscribe("power_level",1000,60,action_handler)Send request to socket server with response# Send request to socket server and get response at command "list-devices"# Return a data from socket serverdriver.get("list-devices")Class DeviceGet list of devices# Functions return List[Device]driver.get_devices()# Get devices from khawasu server or internal cachedriver.get_devices_force()# Get devices from khawasu serverGet device by address# Function return Device or None (if not found)driver.get_device_by_address("103.47.177.100/29")# Get device by addressHow to do anything with the device# Get device by addressdev=driver.get_device_by_address("103.47.177.100/29")# ActionType.TOGGLEdev.get("power_state")# Return booldev.execute("power_state",True)# Specify bool in arg# ActionType.RANGEdev.get("power_level")# Return float [0, 1]dev.execute("power_state",0.41)# Specify float in arg# ActionType.TEMPERATUREdev.get("temperature")# Return float temperature in celsius# ActionType.HUMIDITYdev.get("humudity")# Return float [0, 1]Class ActionHas methods to convert special objects to bytes and back:format_bytes_to_data(..)andformat_data_to_bytes(..)Action(name,dev_class:int)classActionType(Enum):UNKNOWN=0IMMEDIATE=1TOGGLE=2RANGE=3LABEL=4TEMPERATURE=5HUMIDITY=6
Package: driverlessai
H2O Driverless AI Python ClientAn intuitive Python client forH2O Driverless AI.Getting StartedInstallationpipinstalldriverlessaicondainstall-ch2oaidriverlessaiUsageConnecting to H2O Driverless AIimportdriverlessaiclient=driverlessai.Client(address="http://localhost:12345",username="py",password="py")Create a datasetdataset=client.datasets.create(data="s3://h2o-public-test-data/smalldata/iris/iris.csv",data_source="s3",name="iris.csv",)Create an experimentexperiment=client.experiments.preview(train_dataset=dataset,target_column="C5",task="classification",name="iris-experiment",)For more information, see theDriverless AI Python Client documentation.Supported Driverless AI ServersThe client version number indicates the most recent Driverless AI server supported by that specific client version.
However, all client versions are backwards compatible with Driverless AI servers down to version 1.10.0.SupportFor additional support, please contact oursupport team.
Package: driverloader
Quick start:Download chrome driver:fromdriverloaderimportchrome_driverprint(chrome_driver.default)Download firefox driver:fromdriverloaderimportfirefox_driverprint(firefox_driver.default)The drivers would be downloaded inexecutor/dir of the webdrivers package.
You can find chromedriver.exe or geckodriver.exe in the dir.Using with selenium:fromselenium.webdriverimportChromefromdriverloaderimportchrome_driverbrowser=Chrome(chrome_driver.default)browser.quit()Downloading to customized path:fromdriverloaderimportchrome_driverdriver_path=chrome_driver(path='.')or absolute path:importpathlibfromdriverloaderimportchrome_drivercurrent_dir=pathlib.Path(__file__).parent.parentprint(chrome_driver(current_dir))customized version:fromdriverloaderimportchrome_driverdriver_path=chrome_driver(path='.',version='70')command lineUsing driverloader by command line like this:driverloaderchrome.
driverloaderfirefox.Two arguments:driver_name, chrome and firefox supported.path,  the path you want to save the driver.Options:-vor--version,  the version would be downloaded.-for--force, force downloading if the similar driver existsSystem PlatformDriverloader would download the given version according to your OS,
windows, mac, linux are all OK.Mirror URLwebdriver-downloader get the drivers fromhttps://npm.taobao.org/mirrors/chrome driver:https://npm.taobao.org/mirrors/chromedriver/firefox driver:https://npm.taobao.org/mirrors/geckodriver/
Package: driver-pcap-parser
Driver PCAP parserPython PCAP file parser for Teltonika driversFree software: MIT licenseDocumentation:https://driver-pcap-parser.readthedocs.io.FeaturesParses PCAP file and detects TELTONIKA serial numberAdd Ruptela serial number parserAdd VT10 serial number parserUsage$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install driver_pcap_parser
$ sudo timeout 60s tcpdump -i eth0 -G 60 'dst port 123 and dst host 1.2.3.4' -w '/tmp/log.pcap'
$ driver_pcap_parser -f /tmp/log.pcap

{'serial': '123', 'src_ip': '1.1.1.1', 'dst_ip': '1.1.1.2', 'tcp_sport': 37767, 'tcp_dport': 21300, 'src_mac': 'a1:b2:c3:d4:e5:f6', 'dst_mac': 'a1:b2:c3:d4:e5:f7', 'time': Decimal('1616154926.586344')}
{'serial': '112', 'src_ip': '1.1.1.1', 'dst_ip': '1.1.1.2', 'tcp_sport': 32287, 'tcp_dport': 21300, 'src_mac': 'a1:b2:c3:d4:e5:f6', 'dst_mac': 'a1:b2:c3:d4:e5:f7', 'time': Decimal('1616154926.612047')}
{'serial': '111', 'src_ip': '1.1.1.1', 'dst_ip': '1.1.1.2', 'tcp_sport': 18308, 'tcp_dport': 21300, 'src_mac': 'a1:b2:c3:d4:e5:f6', 'dst_mac': 'a1:b2:c3:d4:e5:f7', 'time': Decimal('1616154926.660903')}CreditsThis packge was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-03-18)First release on PyPI.
Package: driverSC16IS750
SC16IS750-Python-DriverCOMPREHENSIVE FUNCTIONALITY IN PROGRESS
This is a driver written in python for interfacing with the SC16IS750. I2C interfacing achieved using SMBUS, meaning this driver should work on Linux distros.To-Do ListAdd control for sleep modes.More control functions for UART. (Like line setup: parityBit, stopBit, etc)More control of FIFO buffer. (Turn on/off)Hardware flow control on GPIO pins.Software flow contorl using XOn/XOff registers.
Package: drivescanner
DriveScannerDriveScanner is a Python library created byThe Analytics Lab, which is powered byCmotions. This library aims to help you with identifying files on your filesystem that could be a potential GDPR threat. To do this, the file contents are scanned, looking for specific information like IBAN, social security numbers (Dutch: BSN), telephone numbers, email addresses, credit card numbers and more.InstallationInstall DriveScanner using pippipinstalldrivescannerUsageimportdrivescanner# set the location of the files you want to scan# all files in all subdirectories will also be taken into accountfile_path="C:/MyFiles"file_list=drivescanner.list_all_files(file_path)# create an overview of all the filetypes on our example drivedrivescanner.extension_stats(file_list)# if we want we can include/exclude certain extensionsfile_list=drivescanner.select_files(file_list,include=["xlsx","xls","docx","doc","pdf","ppt","pptx"],exclude=None)# now we are ready to scan all the files in the listresultdict=drivescanner.scan_drive(file_list)# and calculate the risk score for all scanned files# there might be some files which gave problems and are not scanned# your retrieve those in a separate dataframedf_result,df_not_processed=drivescanner.calculate_severity(resultdict)# that's it, now you can use and inspect the result any way you likeContributingPull 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.LicenseGNU General Public License v3.0ContributorsJeanine Schoonemann, Rick Flamand, Sem Frankenberg, Wim Verboom and Wouter van GilsContact us
Package: driveup
Driveup logoDriveup is a python package to upload files and folders to Google Drive.💬​ Contribution & QuestionsContribution & Questions TypePlatforms🐞​​Bug Reports[GitHub Issue Tracker]📦​Feature Requests & Ideas[GitHub Discussions]🛠️​Usage Questions & Discusions[GitHub Discussions]💼​ FeaturesSimplify google drive api usageSimplify google authorization flow (working both on service and client account in the same way)Upload files and folders to google drive via pythonUpdate google sheets content with pandas dataframesUpdate drive files content in flexible waysDownload drive filesImport google sheets data directly to a pandas dataframe​💾​ Install DriveUpTo start using DriveUp use the next command:pip install driveupNote: you might have to add this command as a “code” line in order to use Driveup on a Python notebook.🔧​ Example of useIn this basic example, you can check how to use the package in order to upload an excel file to an specific folder in google drive.fromDriveup.driveimportDrivefromDriveup.features.authimportauthorizeEXCEL_PATH='C:\\Data\\Path\\sample_excel_file.xlsx'SECRET_PATH='C:\\Data\\Path\\Secret\\service_account_key.json'DRIVE_FOLDER_ID='1wXpG03SN0RXI7y1QAd03IDGH2eXFD_VS'creds=authorize(SECRET_PATH)drive_obj=Drive(creds)drive_obj.upload(EXCEL_PATH,DRIVE_FOLDER_ID)🔑​ Getting credentials fileIn order to get access toGoogle Drive's API(required to use this package), you will need either a "service" or a "client"secret .json file(SECRET_PATH variable mentioned in the example of use).You can follow the next steps to download this file:1. Create a new proyectGo toGoogle Cloud's consoleand create a new proyect:2. Enable APIsAdd Drive's and Sheet's API for the new created project:Search for both Drive and Sheets and click 'enable' button on both.3. Create credentialsCreate a service/client account with access to this new created app and all its permissions:Set default settings and choose a name for the account:4. Download secretEdit the new created account, go to 'KEYS' tab and create one. Download the secret key .json file.* Special considerationNote that if you are using a service account, you must share the drive folder in wich you will be uploading files with the service account mail direction for it to be able to find that folder. You can copy this direction from the 'service accounts' tab at the console dashboard:💳​ LicenseDriveup is licensed underMIT License.🗃️ Shields
Package: driveway
This is Driveways by Andres Canas, Dylan Fay, Henry Parker, Zack Saadioui.DrivewaysDrivewaysInstallation from PyPI:pip install driveway==0.1.4runmyserver***GDAL libraries must be installed on device$ sudo aptitude install gdal-bin libgdal-dev$ sudo aptitude install python3-gdal$ sudo aptitude install binutils libproj-devInstalling APKAPK is stored under "Realeases" on GitHubInstall APK on device after server is runningTested on device running api 27 (Android 8.1 Oreo)#Git Repohttps://github.com/andrescanas01/driveways.gitResourcesSimplest Git TutorialDjango API ListDjango TutorialsAPI'sDjango CalendarDjango MapDjango FormsDRIVEWAYSEnter destination and be shown available driveways to park nearbyUser can list their available parking spaces to earn extra incomeDriveways is meant to offer private parking.\Features / Planning#TODO: Finish FeaturesMap Functionality: Google API'sObject MarkersPrice/(day,timeframe), location, time,Search Functionalityaddress searchdistance functionBuyer PortalSeller Portal-   Make Listing (Update DB):
-   Cost, Time, AddressSign in PageAccount DetailsPaymentAccount InformationLater features:User TestingLater: Todo.
Package: driveways
This is Driveways by Andres Canas, Dylan Fay, Henry Parker, Zack Saadioui.DrivewaysDrivewaysInstallation from PyPI:pip install driveways-project-cis4930-v6==0.0.8runmyserver***GDAL libraries must be installed on device$ sudo aptitude install gdal-bin libgdal-dev$ sudo aptitude install python3-gdal$ sudo aptitude install binutils libproj-devResourcesSimplest Git TutorialDjango API ListDjango TutorialsAPI'sDjango CalendarDjango MapDjango FormsDRIVEWAYSEnter destination and be shown available driveways to park nearbyUser can list their available parking spaces to earn extra incomeDriveways is meant to offer private parking.\Features / Planning#TODO: Finish FeaturesMap Functionality: Google API'sObject MarkersPrice/(day,timeframe), location, time,Search Functionalityaddress searchdistance functionBuyer PortalSeller Portal-   Make Listing (Update DB):
-   Cost, Time, AddressSign in PageAccount DetailsPaymentAccount InformationLater features:User TestingLater: Todo.
Package: driveways-py
This is Driveways by Andres Canas, Dylan Fay, Henry Parker, Zack Saadioui.DrivewaysDrivewaysInstallation from PyPI:pip install driveways-py==0.1.2runmyserver***GDAL libraries must be installed on device$ sudo aptitude install gdal-bin libgdal-dev$ sudo aptitude install python3-gdal$ sudo aptitude install binutils libproj-devInstalling APKAPK is stored under "Realeases" on GitHubInstall APK on device after server is runningTested on device running api 27 (Android 8.1 Oreo)#Git Repohttps://github.com/andrescanas01/driveways.gitResourcesSimplest Git TutorialDjango API ListDjango TutorialsAPI'sDjango CalendarDjango MapDjango FormsDRIVEWAYSEnter destination and be shown available driveways to park nearbyUser can list their available parking spaces to earn extra incomeDriveways is meant to offer private parking.\Features / Planning#TODO: Finish FeaturesMap Functionality: Google API'sObject MarkersPrice/(day,timeframe), location, time,Search Functionalityaddress searchdistance functionBuyer PortalSeller Portal-   Make Listing (Update DB):
-   Cost, Time, AddressSign in PageAccount DetailsPaymentAccount InformationLater features:User TestingLater: Todo.
Package: driveways-pypi
This is Driveways by Andres Canas, Dylan Fay, Henry Parker, Zack Saadioui.DrivewaysDrivewaysInstallation from PyPI:pip install driveways-pypi==0.1.3runmyserver***GDAL libraries must be installed on device$ sudo aptitude install gdal-bin libgdal-dev$ sudo aptitude install python3-gdal$ sudo aptitude install binutils libproj-devInstalling APKAPK is stored under "Realeases" on GitHubInstall APK on device after server is runningTested on device running api 27 (Android 8.1 Oreo)#Git Repohttps://github.com/andrescanas01/driveways.gitResourcesSimplest Git TutorialDjango API ListDjango TutorialsAPI'sDjango CalendarDjango MapDjango FormsDRIVEWAYSEnter destination and be shown available driveways to park nearbyUser can list their available parking spaces to earn extra incomeDriveways is meant to offer private parking.\Features / Planning#TODO: Finish FeaturesMap Functionality: Google API'sObject MarkersPrice/(day,timeframe), location, time,Search Functionalityaddress searchdistance functionBuyer PortalSeller Portal-   Make Listing (Update DB):
-   Cost, Time, AddressSign in PageAccount DetailsPaymentAccount InformationLater features:User TestingLater: Todo.
Package: drivnal
Drivnalis a backup utility created
using rsync with a web interface to manage volumes, snapshots and restore
files. Similar to Time Machine all snapshots store only the changed files from
the previous snapshot and hard links are created for unchanged files. Unchanged
files are never stored more then once on the snapshot volume. All snapshots
are independent of the other snapshots and previous snapshots are not required
to restore files from a snapshot. For more information on how this works read
thehard linkswiki
page.DevelopmentA python scriptserver.pyis included in the root directory to run the
server from the root dir. The server will use the unbuilt web files,
modification to the server will be automatically reloaded. Vagrant can also be
used to safely develop in a virtualized environment, testing the webapp with
vagrant will not modify the host system. When developing with vagrant the root
directory will automatically sync to the guest system at/vagrantand the
port 6500 will be forwarded to allow access to the webapp on host system. The
vagrant setup will also setup collectd to monitor performance of guest system.
Vagrantstressvm is used for stress testing performance with eight backup
volumes.Development Setup$gitclonehttps://github.com/drivnal/drivnal.git$cddrivnal$python2server.py# Open http://localhost:6500/Vagrant Setup$gitclonehttps://github.com/drivnal/drivnal.git$cddrivnal$vagrantuptesting$vagrantsshtesting$sudodrivnal# Open http://localhost:6500/
# Open http://localhost:8080/collectdJavaScript DevelopmentTo build the webapp the node package manager is required. First install the
required node modules then run the available build commands.$cdwww$npminstall# Run jshint and build production dist$grunt# Run jshint and build production dist with source maps$grunttesting# Run jshint and build demo dist$gruntdemo# Run jshint$gruntlint# Update javascript plugins$gruntupdate