Skip to main content

Easy FastAPI & Strawberry

Project description

Welcome to Dexter

project_root/
├── data/           -->  Any <data> for the project.
├── dist/           -->  Source <distribution>.
├── docs/           -->  Write the <documentation> here.
├── scripts/        -->  Write the <shell/bash> here.
|   └── watcher.py  -->  Code style enforcer & rating.
├── src/            -->  Write the <code> here.
|   |
|   └── project_name/       -->  (Library).
|       ├── __init__.py     -->  (Library: __init__) import [pkg1, pkg2, etc...] in this file.
|       ├── __main__.py     -->  (Library: __main__) any function you want to run as a <script> with "python -m project_name".
|       ├── script.py       -->  Script to use in --> setup.cfg --> [options.entry_points] <console_scripts>.
|       |
|       └── pkg1/           -->  (Package).
|       |   ├── __init__.py -->  (Constructor).
|       |   ├── creator.py  -->  (Module).
|       |   └── details.py  -->  (Module).
|       |
|       └── pkg2/           -->  (Package).
|           ├── __init__.py -->  (Constructor).
|           ├── creator.py  -->  (Module).
|           └── details.py  -->  (Module).
|
└── tests/ -->  Testing the <code>.

New Project (Clone)

touch clone_repo.sh
nano clone_repo.sh

Clone Repo Script:

# Variables
REPO="https://github.com/hlop3z/dexter"

if [ "$1" != "" ]; then
    # Do Cloning
    git clone $REPO $1
    cd $1
    rm -rf .git/
    mv src/project_name src/$1
else
    # Return Error
    printf "\nPlease enter a name for the project. \n\n"
    printf "For example: \n"
    printf "\tclone_repo project_name\n"
fi

Usage:

sh clone_repo.sh example_lib

Go to PipEnv — Cheat Sheet


When Ready . . .

python -m build
python -m pip install twine
python -m twine upload dist/*

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastberry-0.0.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

fastberry-0.0.1-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fastberry-0.0.1.tar.gz.

File metadata

  • Download URL: fastberry-0.0.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for fastberry-0.0.1.tar.gz
Algorithm Hash digest
SHA256 374c7ecc5e827eae2f5465b349d6f91531fc26de0c71d182031d0428d207f9e0
MD5 5ecb7b57e00e63e65a09340cfa34f408
BLAKE2b-256 ea0fdb6742d575a64bf5911677df6b4f67e8dca695519e7290da8a94a5be22f9

See more details on using hashes here.

File details

Details for the file fastberry-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: fastberry-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for fastberry-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c81990b317cc4a46b9f021d87ebac38af68a67c7148b19cc4f357052b2f50214
MD5 6d177b8607d3be3a53eaa2bfeeef0cf6
BLAKE2b-256 bb1bd48dd1c4b22207835c00780b7621a176e81f63666f2861bc7d28996e4bef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page