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.2.tar.gz
(15.4 kB
view hashes)
Built Distribution
Close
Hashes for fastberry-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a55baba33d1102e2584aba8303b5c78192b4e1a2b5469cf75668708633d68c6b |
|
MD5 | bbaa9fd802800d13fa51a7038a366166 |
|
BLAKE2b-256 | 8d754cbba49489596de22db85a03e7492f62ee85a9e7e97fcda873db5ea58277 |