<commit_before># data-seeder

C# library for generating sample/seed data
Designed for use with Entity Framework Seed method, but can be utilized for any seed/sample data generation needs.

Currently generates:
- firstnames
- lastnames (surnames)
- pick random items from supplied array

Coming soon:
- email addresses
- lorem ipsum general text in paragraphs/sentences/words
- city
- states (us)
- regions (ca/others)
- fictious company names
 


<commit_msg>Updated readme with current implementation samples<commit_after># data-seeder

C# library for easily generating sample/seed data with minimal effort.
Designed for use with Entity Framework Seed method, but can be utilized for any seed/sample data generation needs.

## Usage

```c#
public void CreatePersons()
{
  var gen = new data_seeder.generator(0); //use a specific number to have optionally have repeatable results

  for(int i=0; i < 1000; i++)
  {
    var newperson = new DataModels.Person()
    {
      FirstName = gen.firstname(),
      LastName = gen.lastname(),
      Gender = gen.random("M","F")
      Age = gen.integer(10,100)
    };
    
    context.Person.Add(newperson);
  }
  
  context.SaveChanges();
}
```

### Current implementation and Future plans

Currently supports
- firstnames
- lastnames (surnames)
- pick random items from supplied array
- pick random integers from a range
- pick random DateTime values from a range

Coming soon:
- email addresses
- lorem ipsum general text in paragraphs/sentences/words
- city
- states (us)
- regions (ca/others)
- fictious company names
 



{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.0070242656449553, 'mean_word_length': 3.691616766467066, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 2, 'www.': 0, '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': '5667414', 'n_tokens_mistral': 466, 'n_tokens_neox': 436, 'n_words': 175}