![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cleverfetch-pkg-dmarienburg
Advanced tools
A simple script for automating your downloads of data from the Clever sftp site
A simple script for automating your downloads of data from the Clever sftp site.
Author: David Marienburg
Version: 1.0
Last Update: 2020-12-03
Using the script is simple, just import the get_files
method, passing it a username and a password.
>>> from CleverFetch import get_files
>>> get_files(username="ThisisanSFTPUsername", password="ThisIsAnSFTPPassword")
The program will then automatically download any files that you don't already have into the scripts Data folder
CleverFetch will then return a list of the new files downloaded, as file paths, Data that can be used by any secondary scripts like a database loader.
Since storing passwords in plain text is unsafe, it would be best practice to run this script from a commandline using python's getpass library. This will prompt the user to enter their password when the script runs and the password they type will not be visible in the command line.
>>> from CleverFetch import get_files
>>> from getpass import getpass
>>> get_files(username="ThisIsanSFTPUsername", password=getpass("Password: "))
If you want the downloaded .csv files to be saved in a specific folder simply provide this files complete filepath to the save_path parameter. If you do not provide a path the files will be saved in the CleverFetch library's on folder structure.
>>> from CleverFetch import get_files
>>> from getpass import getpass
>>> get_files(username="ThisIsanSFTPUsername", password="ThisIsAnSFTPPassword", save_path=r"C:\\users\me\desktop")
FAQs
A simple script for automating your downloads of data from the Clever sftp site
We found that cleverfetch-pkg-dmarienburg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.