Take

Latest version: v0.2.0

Safety actively analyzes 626643 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.0

-------------

Release Pending.

- Support intra-line hard-tabs.
- Added support for custom accessors.
- Added support for terse and verbose regular expression literals.
- Added `rx match` directive.

0.2.0

-------------

Released April 15 2015.

- Added the "def" directive to define sub-routines.
- Added the "namespace" directive, with "+" alias.
- Added the "merge" directive, with alias ">>".
- Added the field accessor.
- Added the "own_text" accessor.
- Added the "shrink" directive.
- Added comma line-continuations in directive parameter lists.
- Inline sub-contexts changed to support sub-contexts of their own (instead of having the max-depth).
- The sample now compares the results of "reddit.take" vs "reddit_inline_saves.take" instead of only using one of them.
- "reddit_inline_saves.take" changed to use namespaces.

- Allow directives that don't require parameters.
- Directives also end on ";".
- Remove underscores on `ContextParser` method names that are used by directives.
- Created a ``DirectiveStatementEnd`` token type.
- Directives are now looked up by name and are external functions with a defined signature.
- Adjusted the scanner to accept a wider range of directive names.

0.1.0

-------------

Released on April 6 2015.

- Inline sub-contexts added.
- Added ``:`` as an alias for ``save:``.
- ``TakeTemplate.from_file()`` static method accepts ``base_url`` parameter.
- Tests slightly reorganized.
- Additional tests added.

0.0.6

-------------

Released on April 6 2015.

- Link to reddit sample fixed in README.

0.0.5

-------------

Released on April 6 2015.

- ``TakeTemplate.from_file()`` static method added.
- README.rst updated to include ``TakeTemplate.from_file()``.
- Moved the reddit sample out of the package code.
- Minor misc cleanup.

0.0.4

-------------

Released on March 27 2015.

- Links and installation instructions added to readme.
- Minor misc cleanup.
- Added test for an invalid save-each directive.
- Better error formatting.
- Copyright in LICENSE changed to "Joe Farro" instead of "tiffon".
- CHANGES.rst file added to sources.
- AUTHORS.rst file added to sources.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.