sc_crawler
The Crawler of Spare Cores Navigator: collect and standardize cloud server offerings data.
Modules:
- alembic_helpers – Helpers functions for the Alembic database migrations.
- archive_rules – Archive rules: the records replaced by another record or deliberately dropped.
- cli – The
sc-crawlerCLI functions. - description_ingestor – Load the LLM-generated descriptions of the servers from the sc-navigator-descriptions repository.
- insert – Helpers to validate and bulk insert per-vendor records into the database.
- inspector – Helpers to load the hardware discovery and benchmarking data from the sc-inspector-data repository.
- inspector_helpers – Helpers to parse the hardware details of servers from the sc-inspector-data repository.
- inspector_rules – Rules for which servers and managed databases the Inspector runs its tasks on.
- logger – Logging and progress bar helpers.
- lookup – Static lookup data: countries, compliance frameworks and benchmark definitions.
- sentry – Report errors to Sentry when the
SENTRY_DSNenvironment variable is set. - str_utils – String helpers, e.g. for wrapping, pluralizing and converting to snake case.
- table_bases – Tiny helper classes for the most commonly used fields to be inherited by sc_crawler.tables.
- table_fields – Enumerations, JSONJSON: JavaScript Object NotationA text format for structured data, built from objects (key-value pairs), arrays, strings, numbers, booleans, and null. Most languages and tools read and write it, which makes it a common format for API responses and benchmark output.JSONGlossary nested data objects & other helper classes used in sc_crawler.tables.
- tables – Table definitions for vendors, regionsregionA geographic area where a cloud vendor runs its data centers, such as Frankfurt or Northern Virginia, made up of one or more availability zones. A server type is offered in some regions only, and its price can differ by region; a region's ID, such as
eu-central-1, is unique only within its vendor.Glossary, zones, and other cloud resources. - tables_scd – SCD version of the table definitions in sc_crawler.tables.
- utils – Utility functions, e.g. for hashing, database engines, and looking up tables and rows.
- vendor_helpers – Helpers shared by the vendor modules of sc_crawler.vendors, e.g. fetching the servers of all regions in parallel.
- vendors – Helper methods for each cloud compute resource provider.
- workload_profile_scores – Workload profile score computation and database persistence.
- workload_profiles – Workload profile definitions for compound benchmark scoring.