2024-05-28 20:08:41 +10:00
import re
2024-05-26 10:01:35 +10:00
from pathlib import Path
2024-05-26 11:33:28 +10:00
from setuptools import find_packages , setup
2024-04-15 17:01:47 -04:00
2024-05-26 10:01:35 +10:00
this_directory = Path ( __file__ ) . parent
long_description_content = ( this_directory / "README.md" ) . read_text ()
2024-04-15 17:01:47 -04:00
2024-05-28 20:08:41 +10:00
def get_version ():
"""Dynamically set version"""
version_file = ( this_directory / "firecrawl" / "__init__.py" ) . read_text ()
version_match = re . search ( r "^__version__ = [' \" ]([^' \" ]*)[' \" ]" , version_file , re . M )
if version_match :
return version_match . group ( 1 )
raise RuntimeError ( "Unable to find version string." )
2024-04-15 17:01:47 -04:00
setup (
2025-01-20 13:43:31 -03:00
name = "firecrawl-py" ,
2024-05-28 20:08:41 +10:00
version = get_version (),
2025-08-18 20:46:41 +02:00
url = "https://github.com/firecrawl/firecrawl" ,
2026-10-18 16:06:12 -07:00
author = "Firecrawl" ,
2024-05-26 11:33:28 +10:00
author_email = "nick@mendable.ai" ,
2026-11-25 20:45:33 +00:00
description = "Python SDK for Firecrawl: search, scrape, parse, crawl, map, and interact with the web, run Agent and Monitor jobs, and search scientific papers (PubMed, bioRxiv, medRxiv, arXiv)" ,
2024-05-26 10:01:35 +10:00
long_description = long_description_content ,
long_description_content_type = "text/markdown" ,
2026-11-17 21:39:27 +08:00
packages = find_packages ( include = [ "firecrawl*" ], exclude = [ "tests*" , "*.__tests__" , "*.__tests__.*" ]),
2024-04-15 17:01:47 -04:00
install_requires = [
'requests' ,
2026-10-21 17:22:36 -07:00
'certifi>=2026.10.19' ,
2024-05-24 17:56:27 -03:00
'pytest' ,
2024-05-27 14:14:00 -03:00
'python-dotenv' ,
2024-08-30 15:29:41 -03:00
'websockets' ,
'asyncio' ,
2025-04-18 01:32:55 -07:00
'nest-asyncio' ,
2025-08-22 15:31:14 -03:00
'pydantic>=2.0' ,
2025-07-04 17:57:09 -03:00
'aiohttp'
2024-04-15 17:01:47 -04:00
],
2024-05-28 20:08:41 +10:00
python_requires = ">=3.8" ,
2024-05-26 11:33:28 +10:00
classifiers = [
"Development Status :: 5 - Production/Stable" ,
"Environment :: Web Environment" ,
"Intended Audience :: Developers" ,
2024-05-26 18:15:05 -07:00
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
2024-05-26 11:33:28 +10:00
"Natural Language :: English" ,
"Operating System :: OS Independent" ,
"Programming Language :: Python" ,
"Programming Language :: Python :: 3" ,
"Programming Language :: Python :: 3.8" ,
"Programming Language :: Python :: 3.9" ,
"Programming Language :: Python :: 3.10" ,
"Topic :: Internet" ,
"Topic :: Internet :: WWW/HTTP" ,
"Topic :: Internet :: WWW/HTTP :: Indexing/Search" ,
"Topic :: Software Development" ,
"Topic :: Software Development :: Libraries" ,
"Topic :: Software Development :: Libraries :: Python Modules" ,
"Topic :: Text Processing" ,
"Topic :: Text Processing :: Indexing" ,
2026-08-12 21:11:39 +05:30
"Intended Audience :: Science/Research" ,
"Topic :: Scientific/Engineering" ,
"Topic :: Scientific/Engineering :: Bio-Informatics" ,
"Topic :: Scientific/Engineering :: Medical Science Apps." ,
2024-05-28 20:08:41 +10:00
],
2026-08-12 21:11:39 +05:30
keywords = (
"SDK API firecrawl web scraping crawler web search literature search "
"research scientific papers academic search biomedical life sciences "
"pubmed biorxiv medrxiv arxiv preprints citations bioinformatics"
),
2024-05-26 11:36:29 +10:00
project_urls = {
2024-05-26 18:11:54 -07:00
"Documentation" : "https://docs.firecrawl.dev" ,
2025-08-18 20:46:41 +02:00
"Source" : "https://github.com/firecrawl/firecrawl" ,
"Tracker" : "https://github.com/firecrawl/firecrawl/issues" ,
2024-05-26 11:36:29 +10:00
},
2024-05-26 18:15:05 -07:00
license = "GNU General Public License v3 (GPLv3)" ,
2024-04-15 17:01:47 -04:00
)