<commit_before>dynamic-dynamodb
================

Auto-provisioning for DynamoDB. This project is under active development and will be released to master (i.e. a stable version within the near future).

Usage
-----

This example will configure Dynamic DynamoDB to:

- Scale up your DynamoDB table when the consumed reads 90% of the total provisioned reads
- Scale up your DynamoDB table when the consumed writes 90% of the total provisioned writes
- Scale up your reads with 50%
- Scale up your writes with 40%
- Scale down your DynamoDB table when the consumed reads 30% of the total provisioned reads
- Scale down your DynamoDB table when the consumed writes 40% of the total provisioned writes
- Scale down your reads with 40%
- Scale down your writes with 70%
- Check for changes every 5 minutes

Command:

    dynamic-dynamodb --table-name my-table \
                     --reads-upper-threshold 90 \
                     --reads-lower-threshold 30 \
                     --increase-reads-with 50 \
                     --decrease-reads-with 40 \
                     --writes-upper-threshold 90 \
                     --writes-lower-threshold 40 \
                     --increase-writes-with 40 \
                     --decrease-writes-with 70 \
                     --check-interval 300

Full --help output
------------------

    usage: dynamic-dynamodb [-h] [--dry-run] [--check-interval CHECK_INTERVAL]
                            [-r REGION] -t TABLE_NAME
                            [--reads-upper-threshold READS_UPPER_THRESHOLD]
                            [--reads-lower-threshold READS_LOWER_THRESHOLD]
                            [--increase-reads-with INCREASE_READS_WITH]
                            [--decrease-reads-with DECREASE_READS_WITH]
                            [--writes-upper-threshold WRITES_UPPER_THRESHOLD]
                            [--writes-lower-threshold WRITES_LOWER_THRESHOLD]
                            [--increase-writes-with INCREASE_WRITES_WITH]
                            [--decrease-writes-with DECREASE_WRITES_WITH]

    Dynamic DynamoDB - Auto provisioning AWS DynamoDB

    optional arguments:
      -h, --help            show this help message and exit
      --dry-run             Run without making any changes to your DynamoDB
                            database
      --check-interval CHECK_INTERVAL
                            How many seconds should we wait between the checks
                            (default: 300)

    DynamoDB settings:
      -r REGION, --region REGION
                            AWS region to operate in
      -t TABLE_NAME, --table-name TABLE_NAME
                            How many percent should we decrease the read units
                            with?

    Read units scaling properties:
      --reads-upper-threshold READS_UPPER_THRESHOLD
                            Scale up the reads with --increase-reads-with percent
                            if the currently consumed read units reaches this many
                            percent (default: 90)
      --reads-lower-threshold READS_LOWER_THRESHOLD
                            Scale down the reads with --decrease-reads-with
                            percent if the currently consumed read units is as low
                            as this percentage (default: 30)
      --increase-reads-with INCREASE_READS_WITH
                            How many percent should we increase the read units
                            with? (default: 50)
      --decrease-reads-with DECREASE_READS_WITH
                            How many percent should we decrease the read units
                            with? (default: 50)

    Write units scaling properties:
      --writes-upper-threshold WRITES_UPPER_THRESHOLD
                            Scale up the writes with --increase-writes-with
                            percent if the currently consumed write units reaches
                            this many percent (default: 90)
      --writes-lower-threshold WRITES_LOWER_THRESHOLD
                            Scale down the writes with --decrease-writes-with
                            percent if the currently consumed write units is as
                            low as this percentage (default: 30)
      --increase-writes-with INCREASE_WRITES_WITH
                            How many percent should we increase the write units
                            with? (default: 50)
      --decrease-writes-with DECREASE_WRITES_WITH
                            How many percent should we decrease the write units
                            with? (default: 50)

Reporting bugs
--------------

Please help me by providing feedback and bug reports. You can file bugs in the project's [GitHub Issues page](https://github.com/sebdah/dynamic-dynamodb/issues).

Provide as much details as possible to make bug fixing as swift as possible.

Git strategy
------------

This project uses [git-flow](https://github.com/nvie/gitflow) for handling branching and releasing in Git. See the following [blog post](http://nvie.com/posts/a-successful-git-branching-model/) for more details on how it works.

Author
------

This project is maintained by [<NAME>](http://www.sebastiandahlgren.se).

GitHub: [sebdah](https://github.com/sebdah)
Twitter: [@sebdah](https://twitter.com/sebdah)
LinkedIn: [Public profile](www.linkedin.com/in/sebastiandahlgren)<commit_msg>Fixed new lines<commit_after>dynamic-dynamodb
================

Auto-provisioning for DynamoDB. This project is under active development and will be released to master (i.e. a stable version within the near future).

Usage
-----

This example will configure Dynamic DynamoDB to:

- Scale up your DynamoDB table when the consumed reads 90% of the total provisioned reads
- Scale up your DynamoDB table when the consumed writes 90% of the total provisioned writes
- Scale up your reads with 50%
- Scale up your writes with 40%
- Scale down your DynamoDB table when the consumed reads 30% of the total provisioned reads
- Scale down your DynamoDB table when the consumed writes 40% of the total provisioned writes
- Scale down your reads with 40%
- Scale down your writes with 70%
- Check for changes every 5 minutes

Command:

    dynamic-dynamodb --table-name my-table \
                     --reads-upper-threshold 90 \
                     --reads-lower-threshold 30 \
                     --increase-reads-with 50 \
                     --decrease-reads-with 40 \
                     --writes-upper-threshold 90 \
                     --writes-lower-threshold 40 \
                     --increase-writes-with 40 \
                     --decrease-writes-with 70 \
                     --check-interval 300

Full --help output
------------------

    usage: dynamic-dynamodb [-h] [--dry-run] [--check-interval CHECK_INTERVAL]
                            [-r REGION] -t TABLE_NAME
                            [--reads-upper-threshold READS_UPPER_THRESHOLD]
                            [--reads-lower-threshold READS_LOWER_THRESHOLD]
                            [--increase-reads-with INCREASE_READS_WITH]
                            [--decrease-reads-with DECREASE_READS_WITH]
                            [--writes-upper-threshold WRITES_UPPER_THRESHOLD]
                            [--writes-lower-threshold WRITES_LOWER_THRESHOLD]
                            [--increase-writes-with INCREASE_WRITES_WITH]
                            [--decrease-writes-with DECREASE_WRITES_WITH]

    Dynamic DynamoDB - Auto provisioning AWS DynamoDB

    optional arguments:
      -h, --help            show this help message and exit
      --dry-run             Run without making any changes to your DynamoDB
                            database
      --check-interval CHECK_INTERVAL
                            How many seconds should we wait between the checks
                            (default: 300)

    DynamoDB settings:
      -r REGION, --region REGION
                            AWS region to operate in
      -t TABLE_NAME, --table-name TABLE_NAME
                            How many percent should we decrease the read units
                            with?

    Read units scaling properties:
      --reads-upper-threshold READS_UPPER_THRESHOLD
                            Scale up the reads with --increase-reads-with percent
                            if the currently consumed read units reaches this many
                            percent (default: 90)
      --reads-lower-threshold READS_LOWER_THRESHOLD
                            Scale down the reads with --decrease-reads-with
                            percent if the currently consumed read units is as low
                            as this percentage (default: 30)
      --increase-reads-with INCREASE_READS_WITH
                            How many percent should we increase the read units
                            with? (default: 50)
      --decrease-reads-with DECREASE_READS_WITH
                            How many percent should we decrease the read units
                            with? (default: 50)

    Write units scaling properties:
      --writes-upper-threshold WRITES_UPPER_THRESHOLD
                            Scale up the writes with --increase-writes-with
                            percent if the currently consumed write units reaches
                            this many percent (default: 90)
      --writes-lower-threshold WRITES_LOWER_THRESHOLD
                            Scale down the writes with --decrease-writes-with
                            percent if the currently consumed write units is as
                            low as this percentage (default: 30)
      --increase-writes-with INCREASE_WRITES_WITH
                            How many percent should we increase the write units
                            with? (default: 50)
      --decrease-writes-with DECREASE_WRITES_WITH
                            How many percent should we decrease the write units
                            with? (default: 50)

Reporting bugs
--------------

Please help me by providing feedback and bug reports. You can file bugs in the project's [GitHub Issues page](https://github.com/sebdah/dynamic-dynamodb/issues).

Provide as much details as possible to make bug fixing as swift as possible.

Git strategy
------------

This project uses [git-flow](https://github.com/nvie/gitflow) for handling branching and releasing in Git. See the following [blog post](http://nvie.com/posts/a-successful-git-branching-model/) for more details on how it works.

Author
------

This project is maintained by [<NAME>](http://www.sebastiandahlgren.se).

GitHub: [sebdah](https://github.com/sebdah)

Twitter: [@sebdah](https://twitter.com/sebdah)

LinkedIn: [Public profile](www.linkedin.com/in/sebastiandahlgren)
{'fraction_non_alphanumeric': 0.07569868591523228, 'fraction_numerical': 0.010179529890801406, 'mean_word_length': 1.595964448714869, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6657732', 'n_tokens_mistral': 2905, 'n_tokens_neox': 2637, 'n_words': 927}