VentureMark is a Python program and a web application designed to help startup businesses check the availability of trademarks for their company names. The Python program utilizes web scraping techniques through Selenium to interact with the Canadian Intellectual Property Office (CIPO) trademark database page. The web application provides a user-friendly interface for checking trademark availability.
- Initializes a Chrome webdriver and navigates to the CIPO trademark database page.
- Selects search options for trademark lookup.
- Checks if a trademark name is available.
- Provides suggestions for similar trademark names if the original name is unavailable.
- Allows users to input trademark names and receive availability results.
- Python 3.x
- Selenium
- Webdriver Manager
- BeautifulSoup (for web scraping)
- Chrome Webdriver
-
Install Python: If you don't have Python installed, download and install it from the official website (https://www.python.org/downloads/). Choose a version of Python 3.x.
-
Install Required Packages: Open a terminal or command prompt and install the necessary packages using the following command:
pip install selenium webdriver_manager beautifulsoup4
-
Download
chromedriver
: Download thechromedriver
executable suitable for your system and place it in the same directory as the script. You can download it from the official ChromeDriver website: https://sites.google.com/chromium.org/driver/ -
Navigate to Script Directory: Open a terminal or command prompt and navigate to the directory where the Python script is located. Use the
cd
command to change to the appropriate directory. -
Run the Script: In the terminal, run the Python script using the following command:
python your_script_name.py
-
Replace
your_script_name.py
with the actual name of your Python script file. -
Enter Trademark Name: The script will prompt you to enter a trademark name. Enter the desired name and press Enter.
-
View Results: The script will check the availability of the trademark and provide you with results. If the trademark is available, it will display "Trademark is available." If not, it will display "Trademark is not available."
-
Exit the Script: To exit the script, enter
exit
when prompted for a trademark name.
- Provides a user-friendly interface for checking trademark availability.
- Sends a request to a Flask backend to check trademark availability.
- Displays the availability status of the trademark.
- Open the
index.html
file in a web browser. - Enter a trademark name in the input field.
- Click the "Check" button.
- The availability status of the trademark will be displayed.
from trademark_scraper import TrademarkScraper
def main():
bot = TrademarkScraper() # Create an instance of TrademarkScraper
try:
while True:
user_input = input("Enter a trademark name (or 'exit' to end): ")
if user_input.lower() == "exit":
break
availability = bot.check_trademark_availability(user_input) # Check trademark availability
if availability:
print("Trademark is available.")
else:
print("Trademark is not available.")
finally:
bot.cleanup() # Clean up resources when done
if __name__ == "__main__":
main() # Execute the main function
Distributed under the MIT License. See LICENSE.txt
for more information.