METADATA 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. Metadata-Version: 2.4
  2. Name: python-dotenv
  3. Version: 1.1.1
  4. Summary: Read key-value pairs from a .env file and set them as environment variables
  5. Home-page: https://github.com/theskumar/python-dotenv
  6. Author: Saurabh Kumar
  7. Author-email: me+github@saurabh-kumar.com
  8. License: BSD-3-Clause
  9. Keywords: environment variables,deployments,settings,env,dotenv,configurations,python
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Programming Language :: Python
  12. Classifier: Programming Language :: Python :: 3
  13. Classifier: Programming Language :: Python :: 3.9
  14. Classifier: Programming Language :: Python :: 3.10
  15. Classifier: Programming Language :: Python :: 3.11
  16. Classifier: Programming Language :: Python :: 3.12
  17. Classifier: Programming Language :: Python :: 3.13
  18. Classifier: Programming Language :: Python :: Implementation :: PyPy
  19. Classifier: Intended Audience :: Developers
  20. Classifier: Intended Audience :: System Administrators
  21. Classifier: License :: OSI Approved :: BSD License
  22. Classifier: Operating System :: OS Independent
  23. Classifier: Topic :: System :: Systems Administration
  24. Classifier: Topic :: Utilities
  25. Classifier: Environment :: Web Environment
  26. Requires-Python: >=3.9
  27. Description-Content-Type: text/markdown
  28. License-File: LICENSE
  29. Provides-Extra: cli
  30. Requires-Dist: click>=5.0; extra == "cli"
  31. Dynamic: author
  32. Dynamic: author-email
  33. Dynamic: classifier
  34. Dynamic: description
  35. Dynamic: description-content-type
  36. Dynamic: home-page
  37. Dynamic: keywords
  38. Dynamic: license
  39. Dynamic: license-file
  40. Dynamic: provides-extra
  41. Dynamic: requires-python
  42. Dynamic: summary
  43. # python-dotenv
  44. [![Build Status][build_status_badge]][build_status_link]
  45. [![PyPI version][pypi_badge]][pypi_link]
  46. python-dotenv reads key-value pairs from a `.env` file and can set them as environment
  47. variables. It helps in the development of applications following the
  48. [12-factor](https://12factor.net/) principles.
  49. - [Getting Started](#getting-started)
  50. - [Other Use Cases](#other-use-cases)
  51. * [Load configuration without altering the environment](#load-configuration-without-altering-the-environment)
  52. * [Parse configuration as a stream](#parse-configuration-as-a-stream)
  53. * [Load .env files in IPython](#load-env-files-in-ipython)
  54. - [Command-line Interface](#command-line-interface)
  55. - [File format](#file-format)
  56. * [Multiline values](#multiline-values)
  57. * [Variable expansion](#variable-expansion)
  58. - [Related Projects](#related-projects)
  59. - [Acknowledgements](#acknowledgements)
  60. ## Getting Started
  61. ```shell
  62. pip install python-dotenv
  63. ```
  64. If your application takes its configuration from environment variables, like a 12-factor
  65. application, launching it in development is not very practical because you have to set
  66. those environment variables yourself.
  67. To help you with that, you can add python-dotenv to your application to make it load the
  68. configuration from a `.env` file when it is present (e.g. in development) while remaining
  69. configurable via the environment:
  70. ```python
  71. from dotenv import load_dotenv
  72. load_dotenv() # take environment variables
  73. # Code of your application, which uses environment variables (e.g. from `os.environ` or
  74. # `os.getenv`) as if they came from the actual environment.
  75. ```
  76. By default, `load_dotenv` doesn't override existing environment variables and looks for a `.env` file in same directory as python script or searches for it incrementally higher up.
  77. To configure the development environment, add a `.env` in the root directory of your
  78. project:
  79. ```
  80. .
  81. ├── .env
  82. └── foo.py
  83. ```
  84. The syntax of `.env` files supported by python-dotenv is similar to that of Bash:
  85. ```bash
  86. # Development settings
  87. DOMAIN=example.org
  88. ADMIN_EMAIL=admin@${DOMAIN}
  89. ROOT_URL=${DOMAIN}/app
  90. ```
  91. If you use variables in values, ensure they are surrounded with `{` and `}`, like
  92. `${DOMAIN}`, as bare variables such as `$DOMAIN` are not expanded.
  93. You will probably want to add `.env` to your `.gitignore`, especially if it contains
  94. secrets like a password.
  95. See the section "File format" below for more information about what you can write in a
  96. `.env` file.
  97. ## Other Use Cases
  98. ### Load configuration without altering the environment
  99. The function `dotenv_values` works more or less the same way as `load_dotenv`, except it
  100. doesn't touch the environment, it just returns a `dict` with the values parsed from the
  101. `.env` file.
  102. ```python
  103. from dotenv import dotenv_values
  104. config = dotenv_values(".env") # config = {"USER": "foo", "EMAIL": "foo@example.org"}
  105. ```
  106. This notably enables advanced configuration management:
  107. ```python
  108. import os
  109. from dotenv import dotenv_values
  110. config = {
  111. **dotenv_values(".env.shared"), # load shared development variables
  112. **dotenv_values(".env.secret"), # load sensitive variables
  113. **os.environ, # override loaded values with environment variables
  114. }
  115. ```
  116. ### Parse configuration as a stream
  117. `load_dotenv` and `dotenv_values` accept [streams][python_streams] via their `stream`
  118. argument. It is thus possible to load the variables from sources other than the
  119. filesystem (e.g. the network).
  120. ```python
  121. from io import StringIO
  122. from dotenv import load_dotenv
  123. config = StringIO("USER=foo\nEMAIL=foo@example.org")
  124. load_dotenv(stream=config)
  125. ```
  126. ### Load .env files in IPython
  127. You can use dotenv in IPython. By default, it will use `find_dotenv` to search for a
  128. `.env` file:
  129. ```python
  130. %load_ext dotenv
  131. %dotenv
  132. ```
  133. You can also specify a path:
  134. ```python
  135. %dotenv relative/or/absolute/path/to/.env
  136. ```
  137. Optional flags:
  138. - `-o` to override existing variables.
  139. - `-v` for increased verbosity.
  140. ## Command-line Interface
  141. A CLI interface `dotenv` is also included, which helps you manipulate the `.env` file
  142. without manually opening it.
  143. ```shell
  144. $ pip install "python-dotenv[cli]"
  145. $ dotenv set USER foo
  146. $ dotenv set EMAIL foo@example.org
  147. $ dotenv list
  148. USER=foo
  149. EMAIL=foo@example.org
  150. $ dotenv list --format=json
  151. {
  152. "USER": "foo",
  153. "EMAIL": "foo@example.org"
  154. }
  155. $ dotenv run -- python foo.py
  156. ```
  157. Run `dotenv --help` for more information about the options and subcommands.
  158. ## File format
  159. The format is not formally specified and still improves over time. That being said,
  160. `.env` files should mostly look like Bash files.
  161. Keys can be unquoted or single-quoted. Values can be unquoted, single- or double-quoted.
  162. Spaces before and after keys, equal signs, and values are ignored. Values can be followed
  163. by a comment. Lines can start with the `export` directive, which does not affect their
  164. interpretation.
  165. Allowed escape sequences:
  166. - in single-quoted values: `\\`, `\'`
  167. - in double-quoted values: `\\`, `\'`, `\"`, `\a`, `\b`, `\f`, `\n`, `\r`, `\t`, `\v`
  168. ### Multiline values
  169. It is possible for single- or double-quoted values to span multiple lines. The following
  170. examples are equivalent:
  171. ```bash
  172. FOO="first line
  173. second line"
  174. ```
  175. ```bash
  176. FOO="first line\nsecond line"
  177. ```
  178. ### Variable without a value
  179. A variable can have no value:
  180. ```bash
  181. FOO
  182. ```
  183. It results in `dotenv_values` associating that variable name with the value `None` (e.g.
  184. `{"FOO": None}`. `load_dotenv`, on the other hand, simply ignores such variables.
  185. This shouldn't be confused with `FOO=`, in which case the variable is associated with the
  186. empty string.
  187. ### Variable expansion
  188. python-dotenv can interpolate variables using POSIX variable expansion.
  189. With `load_dotenv(override=True)` or `dotenv_values()`, the value of a variable is the
  190. first of the values defined in the following list:
  191. - Value of that variable in the `.env` file.
  192. - Value of that variable in the environment.
  193. - Default value, if provided.
  194. - Empty string.
  195. With `load_dotenv(override=False)`, the value of a variable is the first of the values
  196. defined in the following list:
  197. - Value of that variable in the environment.
  198. - Value of that variable in the `.env` file.
  199. - Default value, if provided.
  200. - Empty string.
  201. ## Related Projects
  202. - [Honcho](https://github.com/nickstenning/honcho) - For managing
  203. Procfile-based applications.
  204. - [django-dotenv](https://github.com/jpadilla/django-dotenv)
  205. - [django-environ](https://github.com/joke2k/django-environ)
  206. - [django-environ-2](https://github.com/sergeyklay/django-environ-2)
  207. - [django-configuration](https://github.com/jezdez/django-configurations)
  208. - [dump-env](https://github.com/sobolevn/dump-env)
  209. - [environs](https://github.com/sloria/environs)
  210. - [dynaconf](https://github.com/rochacbruno/dynaconf)
  211. - [parse_it](https://github.com/naorlivne/parse_it)
  212. - [python-decouple](https://github.com/HBNetwork/python-decouple)
  213. ## Acknowledgements
  214. This project is currently maintained by [Saurabh Kumar](https://saurabh-kumar.com) and
  215. [Bertrand Bonnefoy-Claudet](https://github.com/bbc2) and would not have been possible
  216. without the support of these [awesome
  217. people](https://github.com/theskumar/python-dotenv/graphs/contributors).
  218. [build_status_badge]: https://github.com/theskumar/python-dotenv/actions/workflows/test.yml/badge.svg
  219. [build_status_link]: https://github.com/theskumar/python-dotenv/actions/workflows/test.yml
  220. [pypi_badge]: https://badge.fury.io/py/python-dotenv.svg
  221. [pypi_link]: https://badge.fury.io/py/python-dotenv
  222. [python_streams]: https://docs.python.org/3/library/io.html
  223. # Changelog
  224. All notable changes to this project will be documented in this file.
  225. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
  226. project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  227. ## [1.1.1] - 2025-06-24
  228. ## Fixed
  229. * CLI: Ensure `find_dotenv` work reliably on python 3.13 by [@theskumar] in [#563](https://github.com/theskumar/python-dotenv/pull/563)
  230. * CLI: revert the use of execvpe on Windows by [@wrongontheinternet] in [#566](https://github.com/theskumar/python-dotenv/pull/566)
  231. ## [1.1.0] - 2025-03-25
  232. **Feature**
  233. - Add support for python 3.13
  234. - Enhance `dotenv run`, switch to `execvpe` for better resource management and signal handling ([#523]) by [@eekstunt]
  235. **Fixed**
  236. - `find_dotenv` and `load_dotenv` now correctly looks up at the current directory when running in debugger or pdb ([#553] by [@randomseed42])
  237. **Misc**
  238. - Drop support for Python 3.8
  239. ## [1.0.1] - 2024-01-23
  240. **Fixed**
  241. * Gracefully handle code which has been imported from a zipfile ([#456] by [@samwyma])
  242. * Allow modules using `load_dotenv` to be reloaded when launched in a separate thread ([#497] by [@freddyaboulton])
  243. * Fix file not closed after deletion, handle error in the rewrite function ([#469] by [@Qwerty-133])
  244. **Misc**
  245. * Use pathlib.Path in tests ([#466] by [@eumiro])
  246. * Fix year in release date in changelog.md ([#454] by [@jankislinger])
  247. * Use https in README links ([#474] by [@Nicals])
  248. ## [1.0.0] - 2023-02-24
  249. **Fixed**
  250. * Drop support for python 3.7, add python 3.12-dev (#449 by [@theskumar])
  251. * Handle situations where the cwd does not exist. (#446 by [@jctanner])
  252. ## [0.21.1] - 2023-01-21
  253. **Added**
  254. * Use Python 3.11 non-beta in CI (#438 by [@bbc2])
  255. * Modernize variables code (#434 by [@Nougat-Waffle])
  256. * Modernize main.py and parser.py code (#435 by [@Nougat-Waffle])
  257. * Improve conciseness of cli.py and __init__.py (#439 by [@Nougat-Waffle])
  258. * Improve error message for `get` and `list` commands when env file can't be opened (#441 by [@bbc2])
  259. * Updated License to align with BSD OSI template (#433 by [@lsmith77])
  260. **Fixed**
  261. * Fix Out-of-scope error when "dest" variable is undefined (#413 by [@theGOTOguy])
  262. * Fix IPython test warning about deprecated `magic` (#440 by [@bbc2])
  263. * Fix type hint for dotenv_path var, add StrPath alias (#432 by [@eaf])
  264. ## [0.21.0] - 2022-09-03
  265. **Added**
  266. * CLI: add support for invocations via 'python -m'. (#395 by [@theskumar])
  267. * `load_dotenv` function now returns `False`. (#388 by [@larsks])
  268. * CLI: add --format= option to list command. (#407 by [@sammck])
  269. **Fixed**
  270. * Drop Python 3.5 and 3.6 and upgrade GA (#393 by [@eggplants])
  271. * Use `open` instead of `io.open`. (#389 by [@rabinadk1])
  272. * Improve documentation for variables without a value (#390 by [@bbc2])
  273. * Add `parse_it` to Related Projects (#410 by [@naorlivne])
  274. * Update README.md (#415 by [@harveer07])
  275. * Improve documentation with direct use of MkDocs (#398 by [@bbc2])
  276. ## [0.20.0] - 2022-03-24
  277. **Added**
  278. - Add `encoding` (`Optional[str]`) parameter to `get_key`, `set_key` and `unset_key`.
  279. (#379 by [@bbc2])
  280. **Fixed**
  281. - Use dict to specify the `entry_points` parameter of `setuptools.setup` (#376 by
  282. [@mgorny]).
  283. - Don't build universal wheels (#387 by [@bbc2]).
  284. ## [0.19.2] - 2021-11-11
  285. **Fixed**
  286. - In `set_key`, add missing newline character before new entry if necessary. (#361 by
  287. [@bbc2])
  288. ## [0.19.1] - 2021-08-09
  289. **Added**
  290. - Add support for Python 3.10. (#359 by [@theskumar])
  291. ## [0.19.0] - 2021-07-24
  292. **Changed**
  293. - Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
  294. by [@bbc2]).
  295. **Added**
  296. - The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str,
  297. os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
  298. - The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream
  299. (`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env",
  300. "r")` (#348 by [@bbc2]).
  301. ## [0.18.0] - 2021-06-20
  302. **Changed**
  303. - Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in
  304. `set_key` (#330 by [@bbc2]).
  305. - When writing a value to a .env file with `set_key` or `dotenv set <key> <value>` (#330
  306. by [@bbc2]):
  307. - Use single quotes instead of double quotes.
  308. - Don't strip surrounding quotes.
  309. - In `auto` mode, don't add quotes if the value is only made of alphanumeric characters
  310. (as determined by `string.isalnum`).
  311. ## [0.17.1] - 2021-04-29
  312. **Fixed**
  313. - Fixed tests for build environments relying on `PYTHONPATH` (#318 by [@befeleme]).
  314. ## [0.17.0] - 2021-04-02
  315. **Changed**
  316. - Make `dotenv get <key>` only show the value, not `key=value` (#313 by [@bbc2]).
  317. **Added**
  318. - Add `--override`/`--no-override` option to `dotenv run` (#312 by [@zueve] and [@bbc2]).
  319. ## [0.16.0] - 2021-03-27
  320. **Changed**
  321. - The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is
  322. now `"utf-8"` instead of `None` (#306 by [@bbc2]).
  323. - Fix resolution order in variable expansion with `override=False` (#287 by [@bbc2]).
  324. ## [0.15.0] - 2020-10-28
  325. **Added**
  326. - Add `--export` option to `set` to make it prepend the binding with `export` (#270 by
  327. [@jadutter]).
  328. **Changed**
  329. - Make `set` command create the `.env` file in the current directory if no `.env` file was
  330. found (#270 by [@jadutter]).
  331. **Fixed**
  332. - Fix potentially empty expanded value for duplicate key (#260 by [@bbc2]).
  333. - Fix import error on Python 3.5.0 and 3.5.1 (#267 by [@gongqingkui]).
  334. - Fix parsing of unquoted values containing several adjacent space or tab characters
  335. (#277 by [@bbc2], review by [@x-yuri]).
  336. ## [0.14.0] - 2020-07-03
  337. **Changed**
  338. - Privilege definition in file over the environment in variable expansion (#256 by
  339. [@elbehery95]).
  340. **Fixed**
  341. - Improve error message for when file isn't found (#245 by [@snobu]).
  342. - Use HTTPS URL in package meta data (#251 by [@ekohl]).
  343. ## [0.13.0] - 2020-04-16
  344. **Added**
  345. - Add support for a Bash-like default value in variable expansion (#248 by [@bbc2]).
  346. ## [0.12.0] - 2020-02-28
  347. **Changed**
  348. - Use current working directory to find `.env` when bundled by PyInstaller (#213 by
  349. [@gergelyk]).
  350. **Fixed**
  351. - Fix escaping of quoted values written by `set_key` (#236 by [@bbc2]).
  352. - Fix `dotenv run` crashing on environment variables without values (#237 by [@yannham]).
  353. - Remove warning when last line is empty (#238 by [@bbc2]).
  354. ## [0.11.0] - 2020-02-07
  355. **Added**
  356. - Add `interpolate` argument to `load_dotenv` and `dotenv_values` to disable interpolation
  357. (#232 by [@ulyssessouza]).
  358. **Changed**
  359. - Use logging instead of warnings (#231 by [@bbc2]).
  360. **Fixed**
  361. - Fix installation in non-UTF-8 environments (#225 by [@altendky]).
  362. - Fix PyPI classifiers (#228 by [@bbc2]).
  363. ## [0.10.5] - 2020-01-19
  364. **Fixed**
  365. - Fix handling of malformed lines and lines without a value (#222 by [@bbc2]):
  366. - Don't print warning when key has no value.
  367. - Reject more malformed lines (e.g. "A: B", "a='b',c").
  368. - Fix handling of lines with just a comment (#224 by [@bbc2]).
  369. ## [0.10.4] - 2020-01-17
  370. **Added**
  371. - Make typing optional (#179 by [@techalchemy]).
  372. - Print a warning on malformed line (#211 by [@bbc2]).
  373. - Support keys without a value (#220 by [@ulyssessouza]).
  374. ## 0.10.3
  375. - Improve interactive mode detection ([@andrewsmith])([#183]).
  376. - Refactor parser to fix parsing inconsistencies ([@bbc2])([#170]).
  377. - Interpret escapes as control characters only in double-quoted strings.
  378. - Interpret `#` as start of comment only if preceded by whitespace.
  379. ## 0.10.2
  380. - Add type hints and expose them to users ([@qnighy])([#172])
  381. - `load_dotenv` and `dotenv_values` now accept an `encoding` parameter, defaults to `None`
  382. ([@theskumar])([@earlbread])([#161])
  383. - Fix `str`/`unicode` inconsistency in Python 2: values are always `str` now. ([@bbc2])([#121])
  384. - Fix Unicode error in Python 2, introduced in 0.10.0. ([@bbc2])([#176])
  385. ## 0.10.1
  386. - Fix parsing of variable without a value ([@asyncee])([@bbc2])([#158])
  387. ## 0.10.0
  388. - Add support for UTF-8 in unquoted values ([@bbc2])([#148])
  389. - Add support for trailing comments ([@bbc2])([#148])
  390. - Add backslashes support in values ([@bbc2])([#148])
  391. - Add support for newlines in values ([@bbc2])([#148])
  392. - Force environment variables to str with Python2 on Windows ([@greyli])
  393. - Drop Python 3.3 support ([@greyli])
  394. - Fix stderr/-out/-in redirection ([@venthur])
  395. ## 0.9.0
  396. - Add `--version` parameter to cli ([@venthur])
  397. - Enable loading from current directory ([@cjauvin])
  398. - Add 'dotenv run' command for calling arbitrary shell script with .env ([@venthur])
  399. ## 0.8.1
  400. - Add tests for docs ([@Flimm])
  401. - Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([@theskumar])
  402. ## 0.8.0
  403. - `set_key` and `unset_key` only modified the affected file instead of
  404. parsing and re-writing file, this causes comments and other file
  405. entact as it is.
  406. - Add support for `export` prefix in the line.
  407. - Internal refractoring ([@theskumar])
  408. - Allow `load_dotenv` and `dotenv_values` to work with `StringIO())` ([@alanjds])([@theskumar])([#78])
  409. ## 0.7.1
  410. - Remove hard dependency on iPython ([@theskumar])
  411. ## 0.7.0
  412. - Add support to override system environment variable via .env.
  413. ([@milonimrod](https://github.com/milonimrod))
  414. ([\#63](https://github.com/theskumar/python-dotenv/issues/63))
  415. - Disable ".env not found" warning by default
  416. ([@maxkoryukov](https://github.com/maxkoryukov))
  417. ([\#57](https://github.com/theskumar/python-dotenv/issues/57))
  418. ## 0.6.5
  419. - Add support for special characters `\`.
  420. ([@pjona](https://github.com/pjona))
  421. ([\#60](https://github.com/theskumar/python-dotenv/issues/60))
  422. ## 0.6.4
  423. - Fix issue with single quotes ([@Flimm])
  424. ([\#52](https://github.com/theskumar/python-dotenv/issues/52))
  425. ## 0.6.3
  426. - Handle unicode exception in setup.py
  427. ([\#46](https://github.com/theskumar/python-dotenv/issues/46))
  428. ## 0.6.2
  429. - Fix dotenv list command ([@ticosax](https://github.com/ticosax))
  430. - Add iPython Support
  431. ([@tillahoffmann](https://github.com/tillahoffmann))
  432. ## 0.6.0
  433. - Drop support for Python 2.6
  434. - Handle escaped characters and newlines in quoted values. (Thanks
  435. [@iameugenejo](https://github.com/iameugenejo))
  436. - Remove any spaces around unquoted key/value. (Thanks
  437. [@paulochf](https://github.com/paulochf))
  438. - Added POSIX variable expansion. (Thanks
  439. [@hugochinchilla](https://github.com/hugochinchilla))
  440. ## 0.5.1
  441. - Fix `find_dotenv` - it now start search from the file where this
  442. function is called from.
  443. ## 0.5.0
  444. - Add `find_dotenv` method that will try to find a `.env` file.
  445. (Thanks [@isms](https://github.com/isms))
  446. ## 0.4.0
  447. - cli: Added `-q/--quote` option to control the behaviour of quotes
  448. around values in `.env`. (Thanks
  449. [@hugochinchilla](https://github.com/hugochinchilla)).
  450. - Improved test coverage.
  451. [#78]: https://github.com/theskumar/python-dotenv/issues/78
  452. [#121]: https://github.com/theskumar/python-dotenv/issues/121
  453. [#148]: https://github.com/theskumar/python-dotenv/issues/148
  454. [#158]: https://github.com/theskumar/python-dotenv/issues/158
  455. [#170]: https://github.com/theskumar/python-dotenv/issues/170
  456. [#172]: https://github.com/theskumar/python-dotenv/issues/172
  457. [#176]: https://github.com/theskumar/python-dotenv/issues/176
  458. [#183]: https://github.com/theskumar/python-dotenv/issues/183
  459. [#359]: https://github.com/theskumar/python-dotenv/issues/359
  460. [#469]: https://github.com/theskumar/python-dotenv/issues/469
  461. [#456]: https://github.com/theskumar/python-dotenv/issues/456
  462. [#466]: https://github.com/theskumar/python-dotenv/issues/466
  463. [#454]: https://github.com/theskumar/python-dotenv/issues/454
  464. [#474]: https://github.com/theskumar/python-dotenv/issues/474
  465. [#523]: https://github.com/theskumar/python-dotenv/issues/523
  466. [#553]: https://github.com/theskumar/python-dotenv/issues/553
  467. [@alanjds]: https://github.com/alanjds
  468. [@altendky]: https://github.com/altendky
  469. [@andrewsmith]: https://github.com/andrewsmith
  470. [@asyncee]: https://github.com/asyncee
  471. [@bbc2]: https://github.com/bbc2
  472. [@befeleme]: https://github.com/befeleme
  473. [@cjauvin]: https://github.com/cjauvin
  474. [@eaf]: https://github.com/eaf
  475. [@earlbread]: https://github.com/earlbread
  476. [@eekstunt]: https://github.com/eekstunt
  477. [@eggplants]: https://github.com/@eggplants
  478. [@ekohl]: https://github.com/ekohl
  479. [@elbehery95]: https://github.com/elbehery95
  480. [@eumiro]: https://github.com/eumiro
  481. [@Flimm]: https://github.com/Flimm
  482. [@freddyaboulton]: https://github.com/freddyaboulton
  483. [@gergelyk]: https://github.com/gergelyk
  484. [@gongqingkui]: https://github.com/gongqingkui
  485. [@greyli]: https://github.com/greyli
  486. [@harveer07]: https://github.com/@harveer07
  487. [@jadutter]: https://github.com/jadutter
  488. [@jankislinger]: https://github.com/jankislinger
  489. [@jctanner]: https://github.com/jctanner
  490. [@larsks]: https://github.com/@larsks
  491. [@lsmith77]: https://github.com/lsmith77
  492. [@mgorny]: https://github.com/mgorny
  493. [@naorlivne]: https://github.com/@naorlivne
  494. [@Nicals]: https://github.com/Nicals
  495. [@Nougat-Waffle]: https://github.com/Nougat-Waffle
  496. [@qnighy]: https://github.com/qnighy
  497. [@Qwerty-133]: https://github.com/Qwerty-133
  498. [@rabinadk1]: https://github.com/@rabinadk1
  499. [@sammck]: https://github.com/@sammck
  500. [@samwyma]: https://github.com/samwyma
  501. [@snobu]: https://github.com/snobu
  502. [@techalchemy]: https://github.com/techalchemy
  503. [@theGOTOguy]: https://github.com/theGOTOguy
  504. [@theskumar]: https://github.com/theskumar
  505. [@ulyssessouza]: https://github.com/ulyssessouza
  506. [@venthur]: https://github.com/venthur
  507. [@x-yuri]: https://github.com/x-yuri
  508. [@yannham]: https://github.com/yannham
  509. [@zueve]: https://github.com/zueve
  510. [@randomseed42]: https://github.com/zueve
  511. [@wrongontheinternet]: https://github.com/wrongontheinternet
  512. [Unreleased]: https://github.com/theskumar/python-dotenv/compare/v1.1.1...HEAD
  513. [1.1.1]: https://github.com/theskumar/python-dotenv/compare/v1.1.0...1.1.1
  514. [1.1.0]: https://github.com/theskumar/python-dotenv/compare/v1.0.1...v1.1.0
  515. [1.0.1]: https://github.com/theskumar/python-dotenv/compare/v1.0.0...v1.0.1
  516. [1.0.0]: https://github.com/theskumar/python-dotenv/compare/v0.21.0...v1.0.0
  517. [0.21.1]: https://github.com/theskumar/python-dotenv/compare/v0.21.0...v0.21.1
  518. [0.21.0]: https://github.com/theskumar/python-dotenv/compare/v0.20.0...v0.21.0
  519. [0.20.0]: https://github.com/theskumar/python-dotenv/compare/v0.19.2...v0.20.0
  520. [0.19.2]: https://github.com/theskumar/python-dotenv/compare/v0.19.1...v0.19.2
  521. [0.19.1]: https://github.com/theskumar/python-dotenv/compare/v0.19.0...v0.19.1
  522. [0.19.0]: https://github.com/theskumar/python-dotenv/compare/v0.18.0...v0.19.0
  523. [0.18.0]: https://github.com/theskumar/python-dotenv/compare/v0.17.1...v0.18.0
  524. [0.17.1]: https://github.com/theskumar/python-dotenv/compare/v0.17.0...v0.17.1
  525. [0.17.0]: https://github.com/theskumar/python-dotenv/compare/v0.16.0...v0.17.0
  526. [0.16.0]: https://github.com/theskumar/python-dotenv/compare/v0.15.0...v0.16.0
  527. [0.15.0]: https://github.com/theskumar/python-dotenv/compare/v0.14.0...v0.15.0
  528. [0.14.0]: https://github.com/theskumar/python-dotenv/compare/v0.13.0...v0.14.0
  529. [0.13.0]: https://github.com/theskumar/python-dotenv/compare/v0.12.0...v0.13.0
  530. [0.12.0]: https://github.com/theskumar/python-dotenv/compare/v0.11.0...v0.12.0
  531. [0.11.0]: https://github.com/theskumar/python-dotenv/compare/v0.10.5...v0.11.0
  532. [0.10.5]: https://github.com/theskumar/python-dotenv/compare/v0.10.4...v0.10.5
  533. [0.10.4]: https://github.com/theskumar/python-dotenv/compare/v0.10.3...v0.10.4