diff --git a/README.rst b/README.rst index 9247fc755..765161a74 100644 --- a/README.rst +++ b/README.rst @@ -39,11 +39,11 @@ install: About ReactiveX --------------- -ReactiveX for Python (RxPY) is a set of libraries for composing asynchronous and -event-based programs using observable sequences and pipable query operators in Python. -Using Rx, developers represent asynchronous data streams with Observables, query -asynchronous data streams using operators, and parameterize concurrency in data/event -streams using Schedulers. +ReactiveX for Python (RxPY) is a library for composing asynchronous and event-based +programs using observable sequences and pipable query operators in Python. Using Rx, +developers represent asynchronous data streams with Observables, query asynchronous data +streams using operators, and parameterize concurrency in data/event streams using +Schedulers. .. code:: python @@ -67,7 +67,7 @@ Read the `documentation the principles of ReactiveX and get the complete reference of the available operators. -If you need to migrate code from RxPY v1.x, read the `migration +If you need to migrate code from RxPY v1.x or v3.x, read the `migration `_ section. There is also a list of third party documentation available `here diff --git a/docs/migration.rst b/docs/migration.rst index bb101f20a..577abd3c7 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -20,10 +20,10 @@ current Python standards: .. code:: python - import reactivex + import reactivex as rx from reactivex import operators as ops - reactivex.of("Alpha", "Beta", "Gamma", "Delta", "Epsilon").pipe( + rx.of("Alpha", "Beta", "Gamma", "Delta", "Epsilon").pipe( ops.map(lambda s: len(s)), ops.filter(lambda i: i >= 5) ).subscribe(lambda value: print("Received {0}".format(value))) diff --git a/pyproject.toml b/pyproject.toml index 9739ee765..6d3dbf774 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ReactiveX" -version = "0.0.0" +version = "0.0.0" # NOTE: will be updated by publish script description = "ReactiveX (Rx) for Python" readme = "README.rst" authors = ["Dag Brattli "]