Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for read_pet (0.19 seconds)

  1. scripts/translate.py

    )
    
    general_prompt_path = Path(__file__).absolute().parent / "general-llm-prompt.md"
    general_prompt = general_prompt_path.read_text(encoding="utf-8")
    
    app = typer.Typer()
    
    
    @lru_cache
    def get_langs() -> dict[str, str]:
        return yaml.safe_load(Path("docs/language_names.yml").read_text(encoding="utf-8"))
    
    
    def generate_lang_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. scripts/people.py

                users[user] = user_data
                users_list.append(user_data)
        return users_list
    
    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top