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

Uploaded Python 3

File details

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

File metadata

  • Download URL: faz_bot_core-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 0fd0a730b4adb2fc6ba3b2d33bcf02cd90bf4fdb0844de5d554a1f836087db52
MD5 93d6a82b454fec052cd542c23cbf6c1c
BLAKE2b-256 bba30c88c8c81464d2e6667a6aea757c89ab1f692f95f2cd096db86af6d524c2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: faz_bot_core-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15265c28f2c409a0b0fb7751086928bbcc6e773d7c50755267f99688ae20ecbf
MD5 9120a2986d367e5b0dacfc2d6c3f5c88
BLAKE2b-256 98746ecf43bbc39b6289977a63d9fd6570c3d3b368a11bcca538523c2083d80e

See more details on using hashes here.

Provenance

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