Giter Club home page Giter Club logo

bast's Introduction

Hi ๐Ÿ‘‹ My name is Oluwole Majiyagbe

Fullstack Python/Django Developer

I am a Result-oriented and technologically astute Software Developer with time-tested experience in developing and analysing code, engineering well-researched, cost-effective solutions, and contributing to the complete product development lifecycle of successfully launched applications.

I'm characterized as a leader with the ability to drive quality consistently from the inception of project developments through the final stage while encouraging cross-departmental collaborations to produce high- quality, error-free, scalable, and user-friendly software. Consistently sought-after for expertise combined with advanced development methodologies, processes, and tools used to initiate and finalize the design and implementation of cutting-edge, state-of-the-art software applications in compliance with all government regulations and coding standards

  • ๐ŸŒ I'm based in Ogun State, Nigeria
  • ๐Ÿ–ฅ๏ธ See my portfolio at moluwole.com
  • โœ‰๏ธ You can contact me at [email protected]
  • ๐Ÿค I'm open to collaborating on Interesting Projects and open to full-time, remote or relocating opportunities
  • โšก In my spare time, when I'm not reading fiction, you'll find me !beating my younger brother/friend at PES

Skills

Python Kotlin PHP JavaScript HTML5 Vue Nuxtjs Bootstrap Material UI NodeJS Express Fast API GraphQL MongoDB MySQL PostgreSQL Firebase Heroku Flask Supabase Django Laravel Flutter

Socials

Badges

My GitHub Stats

moluwole's GitHub stats

Top Languages

Top Repositories













bast's People

Contributors

elite2code avatar eltneg avatar moluwole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bast's Issues

Error when running Migration

  1. When I execute panther migration:run I get this error: KeyError: DB_TYPE

When I dumped the environment variables using os.environ(), I saw that the values set in .env weren't present.

My solution was to use python-dotenv to load the .env first before trying to access the values.

  1. After resolving the first error, I encountered another error KeyError: 'DB_PREFIX'. I realised it's caused by the DB_PREFIX been empty in the .env file.
    The fix is to set the DB_PREFIX as empty string i.e DB_PREFIX='', but that's not efficient as some env values have to be empty e.g empty db password. The more efficient way is to use os.getenv('KEY', '') instead of os.environ['KEY']

Environment
MacOS 10.15.2
Python 3.7.5
MySQL 8.0.18

Validator

Validation Scheme for the Framework

Panther should be able to initialize a virtual environment in Bast app

I think you should enforce virtualenv as a requirement to use bast
Then after running panther new app
cd app
panther init
this init command should then setup a virtualenv for that project ... so dependencies installed never conflicts

A better way i think is to use pipenv .... This solves the problem by bringing pip and env together
Pipenv Doc

Using pipenv ... the panther init command runs runs pipenv shell to create a virtual env in the app directory instead

Session

create session support for Bast framework

Question: Rest API

Does this package support responding with Json? I can't find anything on it in the documentation and example.

Can Panther be Python2 compatible?

I completed the installation of Bast on my PC and when I tried to run the command panther --help, I get the error.
screen shot 2018-08-22 at 10 20 52 pm

The secrets module isn't available in Python2 so I guess that's where the error stems from.

Python version: 2.7.14

Webpack support

ability to compile scss files to css and also combining multiple JS together

Render

Guys, what do you think of the following:
Instead of self.view() to render view, we use self.render_view() and instead of self.json() to render JSON object, we use self.render_json()?

Panther --help throws error due to environment issue on Ubuntu

cabox@box-codeanywhere:~/workspace$  panther --help
Traceback (most recent call last):  File "/usr/local/bin/panther", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 722, in __call__    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 676, in main
    _verify_python3_env()  File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env
    'for mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Consult http://click.pocoo.org/python3/for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.You might be able to resolve your issue by exporting thefollowing environment variables:
    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8
cabox@box-codeanywhere:~/workspace$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Fix

cabox@box-codeanywhere:~/workspace$ export LC_ALL=C.UTF-8
cabox@box-codeanywhere:~/workspace$ export LANG=C.UTF-8
cabox@box-codeanywhere:~/workspace$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=C.UTF-8

Now

cabox@box-codeanywhere:~/workspace$  panther --help
Usage: panther [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  create:controller   Creates a Controller File
  create:middleware   Creates a Middleware
  create:migration    Create a migration file
  create:model        Create Model File
  create:view         Create a View File
  generate:key        Generate the APP KEY
  migration:reset     Reset Migration
  migration:rollback  Roll Back last Migration
  migration:run       Run Migration
  new                 Create a new Bast Project
  run                 Run your Bast Server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.