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

Uploaded Python 3

File details

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

File metadata

  • Download URL: faz_bot_core-0.4.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.4.1.tar.gz
Algorithm Hash digest
SHA256 7b9bc68810bfa06ae3ea479c387601982d0845d15675cd6aaabfdb3b87d04345
MD5 6213818dd5c3d88043ca00f80f0ad77c
BLAKE2b-256 68149095c78a8cdef6c6d53c8382f07a0c205c73f3373bbf0d372bf7bf974447

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: faz_bot_core-0.4.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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 302a9982780ed79603d8a4455a9cb36bf9ca16d1223c993066d79e2540e54375
MD5 780a4e5438d4f86183964cd42c25a389
BLAKE2b-256 650c3817b4a3931d60336b70b8bcf806ed9c96d93c4fb8df1f9f76ea98162d3d

See more details on using hashes here.

Provenance

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