I’m passionate about building innovative web applications and solving complex problems through technology. With expertise in full-stack development , I work with modern technologies like React, Node.js, Python, GraphQL, and AWS, delivering robust, scalable solutions. As a dedicated software engineer, I’m also an avid writer, sharing insights on web development, programming, data science, and the latest in technology.
Python Virtual Environments
1 min read FROM python:3.7
WORKDIR ['/app']
COPY ['requirements.txt', '/app']
RUN ['pip', 'install', '--no-cache-dir', 'upgrade', '-r', 'requirements.txt']
COPY ['/app', '/app']
CMD ['uvicorn', 'app:app', '--host', '0.0.0.0', '--port', '80'
Python have great features that make it easy to use different programming paradigms. Let's explore some of the best features of Python.
1 min readdef stateful_function():
cache = {}
def wrapper_function(*args, **kwargs):
key = str(args) + st(kwargs)
if key not in cache:
cache[key] = func(*args, **kwargs)
return cache[key]
return wrapper_function
@stateful_function
def fibonacci(n):
if n < 2:
return n
return fibonacci(n-1) + fibonacci(n-2)