
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
This package is an SDK for python
to facilitate interaction with the Alasco API.
The official documentation from Alasco can be found here.
Run the following command in your terminal:
pip install alasco
Import the alasco module and then instantiate the client like this:
from alasco import Alasco
from dotenv import load_dotenv, find_dotenv
_ = load_dotenv(find_dotenv(raise_error_if_not_found=True))
token = os.environ["token"] # your alasco token
key = os.environ["key"] # your alasco key
alasco = Alasco(token=token, key=key, verbose=True)
dfs = alasco.data_fetcher.get_all_df()
dfs["properties"].head(2)
Output:
id | type | name | description | address | zip_code | city | country | date_created | relationships.projects.links.related | |
---|---|---|---|---|---|---|---|---|---|---|
0 | 97bad92e-0fd8-4987-9f8e-aafcd4eafcd7 | PROPERTY | Wohnpark Unteraching | Am Sportpark 4 | 82008 | Unterhaching | 2022-09-19T12:15:55.539340+00:00 | https://api.alasco.de/v1/properties/97bad92e-0fd8-4987-9f8e-aafcd4eafcd7/projects/ | ||
1 | 6ee2f67d-6911-4085-a7b3-4dbc370f494f | PROPERTY | Grundstück Leopoldstraße | Leopoldstr. 21 | 80802 | München | 2021-07-14T09:50:47.760738+00:00 | https://api.alasco.de/v1/properties/6ee2f67d-6911-4085-a7b3-4dbc370f494f/projects/ |
Download all documents (contracts, invoices, change orders) for a particular property locally. This can be useful for backup purposes.
property_name = "YOUR_PROPERTY_NAME"
dfs = alasco.data_fetcher.get_all_df(property_name = property_name)
alasco.document_downloader.batch_download_documents(dfs=dfs, property_name = property_name)
FAQs
A SDK to facilitate the interaction with the Alasco API.
We found that alasco 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.