Skip to main content

Core logic used by the other faz-bot components.

Project description

faz-bot-core


Table of Contents

Installation

pip install faz-bot-core

Scripts

This package provides a few scripts to help with development. It is recommended to run the scripts using uv.

faz-initdb

uv run faz-initdb

Initializes faz-cord and faz-wynn database. Does not install the database client. Overwrite default configs using environment variables (from .env-example).

faz-alembic

uv run faz-alembic -n <name> [command]

Entry point for Alembic, a database migration tool. <name> can be: faz-cord, faz-wynn, faz-cord_test or faz-wynn_test.

The following are some useful commands:

  • upgrade head: Upgrade to the latest revision.
  • upgrade <revision>: Upgrade to a specific revision.
  • downgrade <revision>: Downgrade to a specific revision.
  • current: Show the current revision.
  • history: Show the revision history.
  • ensure_version: Ensure the version table exists (named alembic_version).

License

faz-bot-core is distributed under the terms of the MIT license.

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

faz_bot_core-0.2.1.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

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

faz_bot_core-0.2.1-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file faz_bot_core-0.2.1.tar.gz.

File metadata

  • Download URL: faz_bot_core-0.2.1.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for faz_bot_core-0.2.1.tar.gz
Algorithm Hash digest
SHA256 539498000ff6cca0b9200ee2a3320bb83a3bf80d904005e6f2702d080e31c9c2
MD5 5ecd0c7c526fa27d10a240c1fb884fce
BLAKE2b-256 f2b1e48731480bffbd7676c414f4d6c8c6441da00828cb2fcb5bb71606aaef61

See more details on using hashes here.

Provenance

The following attestation bundles were made for faz_bot_core-0.2.1.tar.gz:

Publisher: release.yml on FAZuH/python-faz-bot-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faz_bot_core-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: faz_bot_core-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for faz_bot_core-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0053114ff9b1e5739658a7d8c45659db961f670ee062aee1fcf48af44f5f8fd4
MD5 17727d3c14b308a3ae1a771c16d3d3a0
BLAKE2b-256 8398b5d7bb39e48fcf1a4d87c7bb71827c47671c6d9ded97d6354f8b704afc9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for faz_bot_core-0.2.1-py3-none-any.whl:

Publisher: release.yml on FAZuH/python-faz-bot-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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