This is a Streamlit web application that allows you to scrape company data using the USDOT code and fetch their details. It uses the Python safer
library to fetch company data and BeautifulSoup
for web scraping.
- Python 3.x
- Streamlit
- BeautifulSoup
- pandas
- safer
You can install the required dependencies using the following command:
pip install streamlit beautifulsoup4 pandas safer
-
Clone this repository: git clone https://github.com/uzairnz/safer-scraper-streamlit.git cd safer-scraper-streamlit
-
Install the required dependencies (as mentioned above).
-
Run the Streamlit app:
-
streamlit run app.py
Usage
- Enter US DOT CODE to fetch data
Acknowledgements
- The safer library for providing access to the FMCSA SAFER database.
- Streamlit for enabling quick and interactive data visualization.
- BeautifulSoup for web scraping HTML content.
Copyright 2023 Uzair Majeed
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.