# \#streamdata

**URL:** https://forum.elixirforum.com/tag/streamdata/861.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [PropWise - the library to detect and suggest code deserving property based testing](https://forum.elixirforum.com/t/propwise-the-library-to-detect-and-suggest-code-deserving-property-based-testing/74727)

<div class="topic-metadata">

**Author:** [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 2:13pm UTC](https://forum.elixirforum.com/t/propwise-the-library-to-detect-and-suggest-code-deserving-property-based-testing/74727 "2026-08-18T14:13:28Z")

</div>

Another outcome of Language Agnostic Code Audit SaaS I’m currently working on is a PropWise library. It scans the project content, and does its best on detecting and reporting places suitable for property-based testing,…

---

## [RockSolid - Data generation from JSON Schema definitions](https://forum.elixirforum.com/t/rocksolid-data-generation-from-json-schema-definitions/75824)

<div class="topic-metadata">

**Author:** [@igoldchluk](https://forum.elixirforum.com/u/igoldchluk)\
**Replies:** 1\
**Last updated:** [June 29, 2026, 2:16pm UTC](https://forum.elixirforum.com/t/rocksolid-data-generation-from-json-schema-definitions/75824 "2026-06-29T14:16:47Z")

</div>

Hi everyone I have been working for a while on RockSolid, a library to generate valid data from JSON schemas. It is built on top of (the awesome) StreamData, so you can use it directly in property tests, or as a data g…

---

## [Can I stream receive from the network?](https://forum.elixirforum.com/t/can-i-stream-receive-from-the-network/16955)

<div class="topic-metadata">

**Author:** [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Replies:** 21\
**Last updated:** [December 23, 2023, 4:10pm UTC](https://forum.elixirforum.com/t/can-i-stream-receive-from-the-network/16955 "2023-12-23T16:10:32Z")

</div>

Hey everyone, If I want to stream data from a file, it’s mega easy: File.stream!("/path/to/file") |\> Stream.map(...) |\> Stream.filter(...) |\> ...consume the processed data here... |\> Stream.run Is there a way to do th…

---

## [Streaming large files from server to server as the file is being written to](https://forum.elixirforum.com/t/streaming-large-files-from-server-to-server-as-the-file-is-being-written-to/54588)

<div class="topic-metadata">

**Author:** [@itsok](https://forum.elixirforum.com/u/itsok)\
**Replies:** 1\
**Last updated:** [March 15, 2023, 4:25pm UTC](https://forum.elixirforum.com/t/streaming-large-files-from-server-to-server-as-the-file-is-being-written-to/54588 "2023-03-15T16:25:18Z")

</div>

The current situation I have a Raspberry Pi that is connected to a IoT device running on Elixir. Right now I’m able to record the data from the device and save it to a file stored on the Raspberry Pi. I can then save tha…

---

## [Interesting video of the use of elixir in Apple ads platform](https://forum.elixirforum.com/t/interesting-video-of-the-use-of-elixir-in-apple-ads-platform/49954)

<div class="topic-metadata">

**Author:** [@JuanjoA](https://forum.elixirforum.com/u/JuanjoA)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 2:15pm UTC](https://forum.elixirforum.com/t/interesting-video-of-the-use-of-elixir-in-apple-ads-platform/49954 "2022-09-02T14:15:06Z")

</div>

Hi, I don’t know if I have the post in the right place. I put here in case you might be interested, I am not the author, I just found it interesting Use of Elixir in Apple GenServer, data streams, distributed systems… …

---

## [Slow Property test](https://forum.elixirforum.com/t/slow-property-test/49011)

<div class="topic-metadata">

**Author:** [@Kaweeda](https://forum.elixirforum.com/u/Kaweeda)\
**Replies:** 1\
**Last updated:** [August 6, 2022, 12:36am UTC](https://forum.elixirforum.com/t/slow-property-test/49011 "2022-08-06T00:36:36Z")

</div>

Hi, so I have a property test where I am using a custom generator to generate nested Json objects. When my second test runs for larger objects, it takes quite some time or it’s inconsistent. Sometimes takes 10 seconds an…

---

## [Streamdata: how to set size for generated data](https://forum.elixirforum.com/t/streamdata-how-to-set-size-for-generated-data/48718)

<div class="topic-metadata">

**Author:** [@Kaweeda](https://forum.elixirforum.com/u/Kaweeda)\
**Replies:** 1\
**Last updated:** [July 30, 2022, 8:27pm UTC](https://forum.elixirforum.com/t/streamdata-how-to-set-size-for-generated-data/48718 "2022-07-30T20:27:02Z")

</div>

Hi all, I am running property tests and was wondering how to set the size of the data generated. For example in JS you can do this : describe("when a & b are arbitrary json objects; patch(a, diff(a,b)) == b", function (…

---

## [Streamdata: Unique generated data](https://forum.elixirforum.com/t/streamdata-unique-generated-data/48840)

<div class="topic-metadata">

**Author:** [@Kaweeda](https://forum.elixirforum.com/u/Kaweeda)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 5:33pm UTC](https://forum.elixirforum.com/t/streamdata-unique-generated-data/48840 "2022-07-11T17:33:22Z")

</div>

Hi all, generating a property test and want to make sure that map\_a and map\_b are not equal, if they are then just pass :ok, and if not then assert. Here is the code : property "when a & b are arbitrary small json obje…

---

## [How do I stream a file from one endpoint to another in Phoenix?](https://forum.elixirforum.com/t/how-do-i-stream-a-file-from-one-endpoint-to-another-in-phoenix/43792)

<div class="topic-metadata">

**Author:** [@jeramyRR](https://forum.elixirforum.com/u/jeramyRR)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 10:58pm UTC](https://forum.elixirforum.com/t/how-do-i-stream-a-file-from-one-endpoint-to-another-in-phoenix/43792 "2021-11-11T22:58:49Z")

</div>

I would like to take a file and post it to my endpoint and then immediately stream it to another endpoint without writing that file to disk. How would I do this in Phoenix? The only thing I’ve been able to find so far …

---

## [Effective way to enable modular filtering pipeline](https://forum.elixirforum.com/t/effective-way-to-enable-modular-filtering-pipeline/36746)

<div class="topic-metadata">

**Author:** [@fklement](https://forum.elixirforum.com/u/fklement)\
**Replies:** 6\
**Last updated:** [January 11, 2021, 6:51pm UTC](https://forum.elixirforum.com/t/effective-way-to-enable-modular-filtering-pipeline/36746 "2021-01-11T18:51:43Z")

</div>

Hello together, I’ve currently the following use case: I need to enable configurable filtering for stream data (e.g. filter out/change data incoming data by a specific identifier or similar). For specifying the rules I…

---

## [Problems with processing fast occurring elements in stream](https://forum.elixirforum.com/t/problems-with-processing-fast-occurring-elements-in-stream/36462)

<div class="topic-metadata">

**Author:** [@fklement](https://forum.elixirforum.com/u/fklement)\
**Replies:** 3\
**Last updated:** [December 28, 2020, 1:54pm UTC](https://forum.elixirforum.com/t/problems-with-processing-fast-occurring-elements-in-stream/36462 "2020-12-28T13:54:54Z")

</div>

Hello, I’m currently struggling with the following problem: "(1609089402.655258) vcan0 136#000200000000002A\\n(1609089402.655456) vcan0 13A#0000000000000028\\n(1609089402.655651) vcan0 13F#000000050000002E\\n(1609089402.65…

---

## [StreamData: how to generate a list of 2 strings with varied length](https://forum.elixirforum.com/t/streamdata-how-to-generate-a-list-of-2-strings-with-varied-length/35562)

<div class="topic-metadata">

**Author:** [@soyjeansoy](https://forum.elixirforum.com/u/soyjeansoy)\
**Replies:** 4\
**Last updated:** [December 9, 2020, 8:11am UTC](https://forum.elixirforum.com/t/streamdata-how-to-generate-a-list-of-2-strings-with-varied-length/35562 "2020-12-09T08:11:32Z")

</div>

Hi!, how do i generate a list contains only 2 strings with varied length ie \[“foo”, “baaar”\]? I tried: # returns \["QrGgkWA7o1", "NbWbClnTYk"\] Enum.take(StreamData.string(:alphanumeric, length: 10), 2)

---

## [Simple way to stream by line from compressed .gz file](https://forum.elixirforum.com/t/simple-way-to-stream-by-line-from-compressed-gz-file/30939)

<div class="topic-metadata">

**Author:** [@frumos](https://forum.elixirforum.com/u/frumos)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 7:28pm UTC](https://forum.elixirforum.com/t/simple-way-to-stream-by-line-from-compressed-gz-file/30939 "2020-04-24T19:28:40Z")

</div>

Hello, I have a text file which has lines with new line separation “\\n” I need to stream this file by lines so I can apply my own functions per line and I am doing like this: iex(30)\> "file.txt" |\> File.stream!() |\> S…

---

## [Property generators make Dialyzer complain, ideas how to make it happy?](https://forum.elixirforum.com/t/property-generators-make-dialyzer-complain-ideas-how-to-make-it-happy/23049)

<div class="topic-metadata">

**Author:** [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Replies:** 11\
**Last updated:** [June 12, 2019, 7:36pm UTC](https://forum.elixirforum.com/t/property-generators-make-dialyzer-complain-ideas-how-to-make-it-happy/23049 "2019-06-12T19:36:57Z")

</div>

Hello all, I got a lot of functions like these in a hobby project of mine: @spec optional\_alphanum(pos\_integer) :: %StreamData{} def optional\_alphanum(size) when size \> 0 do gen all str \<- string(\[?A..?Z, ?0..?…

---

## [StreamState - stateful testing implemented on top of StreamData](https://forum.elixirforum.com/t/streamstate-stateful-testing-implemented-on-top-of-streamdata/18875)

<div class="topic-metadata">

**Author:** [@hauleth](https://forum.elixirforum.com/u/hauleth)\
**Replies:** 9\
**Last updated:** [February 16, 2019, 5:39pm UTC](https://forum.elixirforum.com/t/streamstate-stateful-testing-implemented-on-top-of-streamdata/18875 "2019-02-16T17:39:59Z")

</div>

There is long running issue on stream\_data library to implement such functionality. In the meanwhile I have created this small library (still WIP) using @alfert counter statem implementation as a base. GitHub repo Exam…

---

## [Unique StreamData Result Generation](https://forum.elixirforum.com/t/unique-streamdata-result-generation/15095)

<div class="topic-metadata">

**Author:** [@mmport80](https://forum.elixirforum.com/u/mmport80)\
**Replies:** 3\
**Last updated:** [February 16, 2019, 5:18pm UTC](https://forum.elixirforum.com/t/unique-streamdata-result-generation/15095 "2019-02-16T17:18:28Z")

</div>

I am generating a list of atoms which looks like this, \[:c, :u, :d\] |\> StreamData.one\_of() |\> StreamData.list\_of() … A little more logic to it, but it generates this: \[\[:c\], \[:c, :c, :u\], \[:c, :u, :u, :c\], \[:c\], \[:c,…

---

## [StreamData: generating valid tri-tuple date](https://forum.elixirforum.com/t/streamdata-generating-valid-tri-tuple-date/20199)

<div class="topic-metadata">

**Author:** [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Replies:** 2\
**Last updated:** [February 16, 2019, 7:02am UTC](https://forum.elixirforum.com/t/streamdata-generating-valid-tri-tuple-date/20199 "2019-02-16T07:02:07Z")

</div>

Hello. I would like to generate a valid tri-tuple date with StreamData. After some digging and experimentation I arrived at this working code: defmodule SomeFactory do def valid\_date?({\_y, \_m, \_d} = date\_tuple) do …

---

## [Negative Property Test Cases](https://forum.elixirforum.com/t/negative-property-test-cases/16075)

<div class="topic-metadata">

**Author:** [@BadMrStinger](https://forum.elixirforum.com/u/BadMrStinger)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 7:14pm UTC](https://forum.elixirforum.com/t/negative-property-test-cases/16075 "2018-08-24T19:14:00Z")

</div>

I am having a hard time coming up with negative tests. I believe it can be done with filters, but I haven’t been able to come up good working case. Say I have this test case: property “Positive Test” do check all vari…

---

## [Stream Data Min String Length Filter](https://forum.elixirforum.com/t/stream-data-min-string-length-filter/15091)

<div class="topic-metadata">

**Author:** [@mmport80](https://forum.elixirforum.com/u/mmport80)\
**Replies:** 4\
**Last updated:** [July 11, 2018, 12:13pm UTC](https://forum.elixirforum.com/t/stream-data-min-string-length-filter/15091 "2018-07-11T12:13:52Z")

</div>

I am trying to generate strings which pass a rule, e.g. 1 \< length(string) \< 10 So I am using, StreamData.string( … ) |\> StreamData.filter(..) but, for some reason, I see the data sent thru the filter is always a sin…
