Skip to main content

No project description provided

Project description

tfm

A set of tools to quick up MySql/MariaDB table prototyping

Usage:

$ tfm [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • version: Show the current version of Mob TFM.
  • unspine: 'Unspine'/print the doc of a list of tfm...
  • doctor: Show information about Mob TFM.
  • parse: fill a mariaDB/MySQL database table with...
  • generate: fill a mariaDB/MySQL database table with...
  • config: Create or Edit the configuration for...
  • help: Open and page the documentation for one or...

tfm version

Show the current version of Mob TFM.

Usage:

$ tfm version [OPTIONS]

Options:

  • --help: Show this message and exit.

tfm unspine

'Unspine'/print the doc of a list of tfm generators inside of a pager (alternative screen)

Usage:

$ tfm unspine [OPTIONS] GENERATORS

Arguments:

  • GENERATORS: [required]

Options:

  • --pretty / --no-pretty: force activation markdown styling/ may cause issue on old terminals [default: no-pretty]
  • --help: Show this message and exit.

tfm doctor

Show information about Mob TFM. Can be considered as a 'about' command.

Usage:

$ tfm doctor [OPTIONS]

Options:

  • --help: Show this message and exit.

tfm parse

fill a mariaDB/MySQL database table with data contained in a csv file.

Usage:

$ tfm parse [OPTIONS] FILE

Arguments:

  • FILE: [required]

Options:

  • -u, --user TEXT: Database user name [default: admin]
  • -P, --password TEXT: Database user password [default: L2GI2025]
  • -d, --database TEXT: Database name [default: tfm_generate]
  • -t, --table TEXT: The Database Table to target [default: students]
  • -h, --host TEXT: The Databse host [default: localhost]
  • -p, --port INTEGER: The database port [default: 3306]
  • -r, --rows INTEGER: Number of rows to read (can be negative) [default: 20]
  • --preview-only / --no-preview-only: If True tfm won't try to fill the table, only preview them, default to False [default: no-preview-only]
  • --help: Show this message and exit.

tfm generate

fill a mariaDB/MySQL database table with fake data based on a format string.

Usage:

$ tfm generate [OPTIONS] FORMAT

Arguments:

  • FORMAT: [required]

Options:

  • -s, --seed INTEGER: Seed for the random generator.
  • -u, --user TEXT: Database user name. [default: admin]
  • -P, --password TEXT: Database user password. [default: L2GI2025]
  • -d, --database TEXT: Database name. [default: tfm_generate]
  • -t, --table TEXT: Database table name. [default: students]
  • -h, --host TEXT: Database host. [default: localhost]
  • -p, --port INTEGER: Database port. [default: 3306]
  • --optimized / --no-optimized: Use optimized generation methods. [default: no-optimized]
  • -r, --rows INTEGER: Number of rows to generate. [default: 20]
  • --help: Show this message and exit.

tfm config

Create or Edit the configuration for better use of tfm.

Usage:

$ tfm config [OPTIONS]

Options:

  • -v, --view: View current configuration
  • --help: Show this message and exit.

tfm help

Open and page the documentation for one or more commands from docs/commands/README.<command>.md.

Usage:

$ tfm help [OPTIONS] COMMANDS

Arguments:

  • COMMANDS: [required]

Options:

  • --pretty / --no-pretty: force activation markdown styling/ may cause issue on old terminals [default: no-pretty]
  • --help: Show this message and exit.

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

mob_tfm-0.1.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

mob_tfm-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file mob_tfm-0.1.0.tar.gz.

File metadata

  • Download URL: mob_tfm-0.1.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.9-arch1-1

File hashes

Hashes for mob_tfm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9831f4c576e55ddbc5106f194cd11504fdce6854faeaedde9555a1e3c7367d01
MD5 cee8d1b291fd90b6b3eb2f9055446272
BLAKE2b-256 96abc937f38897ed296d130e7c70905ef6895964136fcedaed4406d28405cc60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mob_tfm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.9-arch1-1

File hashes

Hashes for mob_tfm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9cca31c3ccd8e05da93075f23c3c3aaaa53a91a7edb1e725447d66e11e81a1
MD5 f3f365bd33907b2d078bfa0199c13f0b
BLAKE2b-256 a6cf1a43b94cd330327ec7aa144fca10e2060288b69e3a85ff0e84bc85eee92d

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