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.4.0.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.4.0-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: faz_bot_core-0.4.0.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.4.0.tar.gz
Algorithm Hash digest
SHA256 809eeb461eb865cb975dd84b7745181f4eeac2f2eb969b34f4ab5f43adaeedbd
MD5 89bd5b37de571201546e2fa234f38c12
BLAKE2b-256 2bbf1a8831b565085f6f101477af79e572f1d523badeb8b4f32304f8a7b62390

See more details on using hashes here.

Provenance

The following attestation bundles were made for faz_bot_core-0.4.0.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: faz_bot_core-0.4.0-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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 616940611ee63bc01b4366f60483235fe9a30aa12b571e65e9163598f52c9a27
MD5 82ccada1c35c894951fc674c047a7f93
BLAKE2b-256 44f78d24738a5bff71e27612803d04b4725893271f46259540d4e5fd2a0eb8be

See more details on using hashes here.

Provenance

The following attestation bundles were made for faz_bot_core-0.4.0-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