Skip to main content

Un fork di Neofetch scritto in Python che mostra informazioni di sistema con ASCII art

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

PyFetch

Un fork di Neofetch scritto interamente in Python. Mostra informazioni di sistema con ASCII art in stile Neofetch.

Caratteristiche

  • Multipiattaforma: funziona su Windows, Linux e macOS
  • Informazioni complete di sistema: mostra nome utente, hostname, OS, kernel, uptime, pacchetti, shell, risoluzione, DE/WM, terminale, CPU, GPU, RAM, disco, temperatura
  • ASCII Art: utilizza le stesse ASCII art di Neofetch, con supporto per art personalizzate
  • Colori ANSI: supporto completo per terminali a colori
  • Configurabile: configurazioni personalizzabili tramite file JSON
  • Portatile: scritto interamente in Python, facilmente estendibile

Installazione

Requisiti

  • Python 3.6 o superiore
  • Modulo psutil: pip install psutil

Installazione manuale

git clone https://github.com/your-username/pyfetch.git
cd pyfetch
pip install -r requirements.txt

Alternativamente, puoi installare PyFetch tramite pip:

pip install pyfetch

Utilizzo

Esegui PyFetch dalla riga di comando:

python pyfetch.py

Oppure, se installato tramite pip:

pyfetch

Opzioni

  • --ascii FILE: Utilizza un file ASCII personalizzato
  • --ascii_distro DISTRO: Utilizza l'ASCII art di una distribuzione specifica
  • --config FILE: Utilizza un file di configurazione personalizzato
  • --no_color: Disabilita i colori
  • --version: Mostra la versione di PyFetch

Configurazione

PyFetch può essere configurato tramite un file di configurazione JSON. Il file di configurazione predefinito si trova in:

  • Linux/macOS: ~/.config/pyfetch/config.json o ~/.pyfetch.json
  • Windows: %APPDATA%\PyFetch\config.json o ~/pyfetch.json

Esempio di configurazione

{
    "show_ascii": true,
    "show_colors": true,
    "show_color_blocks": true,
    "info": {
        "os": true,
        "kernel": true,
        "uptime": true,
        "packages": true,
        "shell": true,
        "resolution": true,
        "de": true,
        "wm": true,
        "terminal": true,
        "cpu": true,
        "gpu": true,
        "memory": true,
        "disk": true,
        "temperatures": true
    },
    "ascii_art": {
        "use_custom": false,
        "custom_path": "",
        "distro_override": ""
    }
}

Estensione

PyFetch è progettato per essere facilmente estendibile. È possibile aggiungere nuove funzionalità modificando i seguenti file:

  • system_info.py: Aggiungere nuovi metodi per raccogliere informazioni di sistema
  • ascii_art.py: Aggiungere nuove ASCII art per distribuzioni o sistemi operativi
  • config.py: Aggiungere nuove opzioni di configurazione

Contribuire

I contributi sono benvenuti! Se vuoi contribuire a PyFetch, segui questi passaggi:

  1. Fork del repository
  2. Crea un branch per la tua feature (git checkout -b feature/amazing-feature)
  3. Commit delle tue modifiche (git commit -m 'Aggiunta una nuova feature')
  4. Push al branch (git push origin feature/amazing-feature)
  5. Apri una Pull Request

Licenza

Distribuito con licenza MIT. Vedi LICENSE per maggiori informazioni.

Ringraziamenti

  • Neofetch - L'ispirazione originale per questo progetto

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devid-pyfetch-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devid_pyfetch-0.1.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file devid-pyfetch-0.1.0.tar.gz.

File metadata

  • Download URL: devid-pyfetch-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devid-pyfetch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b6e6793dd9f4ba79988aac1124d48aa3537550b3f4754ad9c0c911cd7c473d00
MD5 980a81320bd34dd8c5fa3cd593192a18
BLAKE2b-256 9a0e962768ecd96a6c45689e831c03bb7bf58c62b333641da783897be2d66382

See more details on using hashes here.

File details

Details for the file devid_pyfetch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: devid_pyfetch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devid_pyfetch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba63ac5bd1f19451436e81a3c8d18a90986dce5a0fe768158ba25637be6d42d
MD5 34895335bb2eb8d7609c4647a586c683
BLAKE2b-256 73a5de0ac83d03ed0a42aa84cfdd3fe9b4f9272e25bd06515dba0921b132d32e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page