The {dotenv} #rstats 📦 automatically loads values defined in a .env file into your R environment. (The .env file has to be in your current working directory.) Handy if you're mixing R and Python in the same project! By @gaborcsardi
Pkg doc says #dotenv parses these formats:
VARIABLE=value
VARIABLE2="quoted value"
VARIABLE3='another quoted variable'
# Comment line
export EXPORTED="exported variable"
export EXPORTED2=another
For a while I've noticed that many people use #dotenv in a suboptimal way, so this morning I took the time to write a short article about better usage patterns (pretty basic stuff, so if you are an expert it's likely that you will find it boring):
https://blog.coderspirit.xyz/blog/2023/06/25/a-better-way-to-use-dotenv/
#dotenv #javascript #webdev #backend #nodejs
Hoy les comparto nuevo post en el blog de @juncotic!
@AndreaCNavarroM nos explica cómo manejar variables de entorno en nuestras apps #Python usando el módulo #dotenv.
La semana que viene voy a complementar este artículo con algo sobre #envvars en #gnu #linux, estén atentos! :-)
---
RT @juncotic
¡¡Nuevo artículo en el blog!!
Hoy otra entrada sobre #programación en #python :D
Aprenderemos los conceptos principales de variables de entorn…
https://twitter.com/juncotic/status/1631598542560043011
#python #dotenv #envvars #gnu #linux #programacion
I just published version 1.3.0 of `dotenv_validator`. If you need help validating your ENV variables. Give it a try!
RT @fastrubyio@twitter.com
Need help validating your .env variables? We open sourced a library that will help you validate that the values in your environment are valid according to the comments in your .env.sample file. #OpenSource #Rubygems #Dotenv https://www.fastruby.io/blog/open-source/introducing-dotenv-validator.html
🐦🔗: https://twitter.com/fastrubyio/status/1560710951921455106