Commit Graph

114 Commits

Author SHA1 Message Date
mrKazzila
336420b5ee
style: change double quotes to single quotes (where possible)
style: sort imports & format parameters onto separate lines for better clarity

Format all python files using `black`
2024-01-10 13:31:43 -08:00
Marcelo Ferrão Feodrippe
8497c5f6e5
fix: pika version 1.3.2
- When tested with most recent pika's version 1.3.2, spec didn't exists. Found pika.DeliveryMode.Persistent instead.
2023-12-07 05:44:30 -03:00
Xiangzhuang Shen
cc2110ef4c fix:python pep8 2023-09-22 15:40:12 +08:00
Gerardo Tatzati
e5822232cf Update worker.py 2023-07-27 09:40:20 -04:00
Gerardo Tatzati
107ba873f4 Update rpc_server.py 2023-07-27 09:40:19 -04:00
Gerardo Tatzati
a2b6bab6e7 Update rpc_client.py 2023-07-27 09:40:17 -04:00
Gerardo Tatzati
1d31115b31 Update receive_logs_topic.py 2023-07-27 09:40:14 -04:00
Gerardo Tatzati
7b998c8d23 Update receive_logs_direct.py 2023-07-27 09:40:12 -04:00
Gerardo Tatzati
e179521452 Update receive_logs.py 2023-07-27 09:40:10 -04:00
Gerardo Tatzati
27934f93eb Update receive.py 2023-07-27 09:40:09 -04:00
Gerardo Tatzati
da5266e82d Update new_task.py 2023-07-27 09:40:07 -04:00
Gerardo Tatzati
b13bca50eb Update emit_log_topic.py 2023-07-27 09:40:05 -04:00
Gerardo Tatzati
2d7ce86c40 Update emit_log_direct.py 2023-07-27 09:40:03 -04:00
Gerardo Tatzati
38666db36f
Update emit_log.py to use f strings 2023-07-26 15:35:28 -04:00
ChamRun
3bed207b52 remove while self.response is None loop
`self.connection.process_data_events(time_limit=None)` blocks, until response is ready.
2022-06-20 11:31:26 +04:30
ChamRun
5e427cda94 set None time_limit for process_data_events 2022-06-20 10:59:27 +04:30
ChamRun
ea93ffa546 short sleeps in response checker loop
"while self.response is None"  causes 100% CPU usage
2022-06-20 08:22:30 +04:30
decorator-factory
1f4aed4c1d
Use named constant instead of 2 in new_task.py 2021-12-06 22:13:21 +03:00
Michael Klishin
300c6577cc
Closes #285 2021-04-07 22:48:15 +03:00
Michael Klishin
e1553ba787
Apply #275, #276 to more Python tutorials 2020-08-27 16:07:34 +03:00
Michael Klishin
0076462d7d
Merge pull request #275 from karl-johan-grahn/python-tutorial-1-keyboardinterrupt
Python Tutorial 1 - Handle KeyboardInterupt
2020-08-27 15:25:20 +03:00
Karl-Johan Grahn
5c42854978 Decode body 2020-08-27 11:50:59 +02:00
Karl-Johan Grahn
72852d463e Handle KeyboardInterupt 2020-08-27 10:11:17 +02:00
Luke Bakken
4e0ee04dd8
Merge pull request #233 from 4383/pipmodule
Ensure to always use pip as a module of a given version of python
2019-08-05 10:26:06 -07:00
Michael Klishin
db21fe7e7c
Revert "Bootstrapping the pip installer" 2019-08-05 20:21:18 +03:00
Hervé Beraud
916b37beb0 Ensure to always use pip as a module of a given version of python
Prefer to use pip as a module, it's avoid error and mistakes during
package installation. With this approach we are always sure to
to install dependencies in the right python environment.
2019-08-05 18:42:47 +02:00
Hervé Beraud
79f9889ca2 Bootstrapping the pip installer
Prefer to use ensurepip instead of the deprecated easy_install

https://docs.python.org/3/library/ensurepip.html
https://setuptools.readthedocs.io/en/latest/easy_install.html
2019-08-05 16:44:38 +02:00
Egor
671657df79
Bug fix
The logic of tutorial which goes behind this line is "If you have more than 1 word to be sent, then mark the first as severity (the level of the log msg), and then everything else as the message itself". But with the current implementation, the first word always considered as severity even if no other words were given because `len(sys.argv) > 1` is true when at least one arg was given(then, the sys.argv contains the name of the file and the arg, and length=2)
2019-07-18 11:19:06 +03:00
Luke Bakken
ea20da72cc
Explicitly use queue parameter name
Part of rabbitmq/rabbitmq-website#780
2019-06-07 10:51:04 -07:00
Michael Klishin
6721db82e9
Merge pull request #202 from rabbitmq/pika-1.0.0-pt-163872880
Update for Pika 1.0.0, yapf formatting
2019-03-28 02:10:21 +03:00
Spring Operator
5436636673 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://central.maven.org/maven2/com/rabbitmq/amqp-client/4.0.2/amqp-client-4.0.2.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/com/rabbitmq/amqp-client/4.0.2/amqp-client-4.0.2.jar) result SSLHandshakeException).
* http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar) result SSLHandshakeException).
* http://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar) result SSLHandshakeException).
* http://clojurerabbitmq.info (200) with 1 occurrences could not be migrated:
   ([https](https://clojurerabbitmq.info) result AnnotatedConnectException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://rubybunny.info (200) with 2 occurrences could not be migrated:
   ([https](https://rubybunny.info) result AnnotatedConnectException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://schemas.microsoft.com/developer/msbuild/2003 (404) with 13 occurrences could not be migrated:
   ([https](https://schemas.microsoft.com/developer/msbuild/2003) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://cl-rabbit.io/cl-bunny (UnknownHostException) with 2 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny ([https](https://cl-rabbit.io/cl-bunny) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/ (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/ ([https](https://cl-rabbit.io/cl-bunny/tutorials/) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html) result UnknownHostException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).
* http://hg.rabbitmq.com/rabbitmq-erlang-client/ (UnknownHostException) with 1 occurrences migrated to:
  https://hg.rabbitmq.com/rabbitmq-erlang-client/ ([https](https://hg.rabbitmq.com/rabbitmq-erlang-client/) result UnknownHostException).
* http://elixir-lang.org/docs/stable/mix/Mix.html (301) with 1 occurrences migrated to:
  https://elixir-lang.org/docs/stable/mix/Mix.html ([https](https://elixir-lang.org/docs/stable/mix/Mix.html) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://docs.spring.io/spring-amqp/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-amqp/reference/html/ ([https](https://docs.spring.io/spring-amqp/reference/html/) result 200).
* http://elixir-lang.org with 1 occurrences migrated to:
  https://elixir-lang.org ([https](https://elixir-lang.org) result 200).
* http://elixir-lang.org/install.html with 1 occurrences migrated to:
  https://elixir-lang.org/install.html ([https](https://elixir-lang.org/install.html) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://getcomposer.org with 2 occurrences migrated to:
  https://getcomposer.org ([https](https://getcomposer.org) result 200).
* http://github.com/rabbitmq/rabbitmq-tutorials with 1 occurrences migrated to:
  https://github.com/rabbitmq/rabbitmq-tutorials ([https](https://github.com/rabbitmq/rabbitmq-tutorials) result 200).
* http://hackage.haskell.org/package/amqp with 1 occurrences migrated to:
  https://hackage.haskell.org/package/amqp ([https](https://hackage.haskell.org/package/amqp) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://leiningen.org with 1 occurrences migrated to:
  https://leiningen.org ([https](https://leiningen.org) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.apple.com/DTDs/PropertyList-1.0.dtd with 10 occurrences migrated to:
  https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd) result 200).
* http://www.cliki.net/fibonacci with 1 occurrences migrated to:
  https://www.cliki.net/fibonacci ([https](https://www.cliki.net/fibonacci) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.eclipse.org/legal/epl-v10.html with 1 occurrences migrated to:
  https://www.eclipse.org/legal/epl-v10.html ([https](https://www.eclipse.org/legal/epl-v10.html) result 200).
* http://www.rabbitmq.com/download.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/download.html ([https](https://www.rabbitmq.com/download.html) result 200).
* http://www.rabbitmq.com/erlang-client-user-guide.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/erlang-client-user-guide.html ([https](https://www.rabbitmq.com/erlang-client-user-guide.html) result 200).
* http://www.rabbitmq.com/getstarted.html with 20 occurrences migrated to:
  https://www.rabbitmq.com/getstarted.html ([https](https://www.rabbitmq.com/getstarted.html) result 200).
* http://www.rabbitmq.com/releases/rabbitmq-server/ with 1 occurrences migrated to:
  https://www.rabbitmq.com/releases/rabbitmq-server/ ([https](https://www.rabbitmq.com/releases/rabbitmq-server/) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-five-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-five-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-five-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-five-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-five-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-five-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-four-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-four-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-four-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-four-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-four-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-four-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-one-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-one-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-one-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-one-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-one-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-one-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-six-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-six-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-six-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-six-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-three-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-three-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-three-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-three-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-three-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-three-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-two-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-two-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-two-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-two-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-two-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-two-php.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://rabbitmq.com/download.html with 1 occurrences migrated to:
  https://rabbitmq.com/download.html ([https](https://rabbitmq.com/download.html) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://erlang.org/download.html (302) with 1 occurrences migrated to:
  https://www.erlang.org/download.html ([https](https://erlang.org/download.html) result 301).
* http://www.erlang.org/download/otp_src_R14B03.tar.gz with 1 occurrences migrated to:
  https://www.erlang.org/download/otp_src_R14B03.tar.gz ([https](https://www.erlang.org/download/otp_src_R14B03.tar.gz) result 301).
* http://www.rabbitmq.com/releases with 1 occurrences migrated to:
  https://www.rabbitmq.com/releases ([https](https://www.rabbitmq.com/releases) result 301).
* http://www.rabbitmq.com/tutorial-five-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-dotnet.html ([https](https://www.rabbitmq.com/tutorial-five-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-five-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-go.html ([https](https://www.rabbitmq.com/tutorial-five-go.html) result 301).
* http://www.rabbitmq.com/tutorial-five-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-java.html ([https](https://www.rabbitmq.com/tutorial-five-java.html) result 301).
* http://www.rabbitmq.com/tutorial-five-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-python.html ([https](https://www.rabbitmq.com/tutorial-five-python.html) result 301).
* http://www.rabbitmq.com/tutorial-five-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-ruby.html ([https](https://www.rabbitmq.com/tutorial-five-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-four-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-dotnet.html ([https](https://www.rabbitmq.com/tutorial-four-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-four-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-go.html ([https](https://www.rabbitmq.com/tutorial-four-go.html) result 301).
* http://www.rabbitmq.com/tutorial-four-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-java.html ([https](https://www.rabbitmq.com/tutorial-four-java.html) result 301).
* http://www.rabbitmq.com/tutorial-four-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-python.html ([https](https://www.rabbitmq.com/tutorial-four-python.html) result 301).
* http://www.rabbitmq.com/tutorial-four-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-ruby.html ([https](https://www.rabbitmq.com/tutorial-four-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-one-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-dotnet.html ([https](https://www.rabbitmq.com/tutorial-one-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-one-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-go.html ([https](https://www.rabbitmq.com/tutorial-one-go.html) result 301).
* http://www.rabbitmq.com/tutorial-one-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-java.html ([https](https://www.rabbitmq.com/tutorial-one-java.html) result 301).
* http://www.rabbitmq.com/tutorial-one-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-python.html ([https](https://www.rabbitmq.com/tutorial-one-python.html) result 301).
* http://www.rabbitmq.com/tutorial-one-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-ruby.html ([https](https://www.rabbitmq.com/tutorial-one-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-six-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-dotnet.html ([https](https://www.rabbitmq.com/tutorial-six-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-six-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-go.html ([https](https://www.rabbitmq.com/tutorial-six-go.html) result 301).
* http://www.rabbitmq.com/tutorial-six-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-java.html ([https](https://www.rabbitmq.com/tutorial-six-java.html) result 301).
* http://www.rabbitmq.com/tutorial-six-python.html with 3 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-python.html ([https](https://www.rabbitmq.com/tutorial-six-python.html) result 301).
* http://www.rabbitmq.com/tutorial-six-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-ruby.html ([https](https://www.rabbitmq.com/tutorial-six-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-three-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-dotnet.html ([https](https://www.rabbitmq.com/tutorial-three-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-three-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-go.html ([https](https://www.rabbitmq.com/tutorial-three-go.html) result 301).
* http://www.rabbitmq.com/tutorial-three-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-java.html ([https](https://www.rabbitmq.com/tutorial-three-java.html) result 301).
* http://www.rabbitmq.com/tutorial-three-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-python.html ([https](https://www.rabbitmq.com/tutorial-three-python.html) result 301).
* http://www.rabbitmq.com/tutorial-three-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-ruby.html ([https](https://www.rabbitmq.com/tutorial-three-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-two-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-dotnet.html ([https](https://www.rabbitmq.com/tutorial-two-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-two-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-go.html ([https](https://www.rabbitmq.com/tutorial-two-go.html) result 301).
* http://www.rabbitmq.com/tutorial-two-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-java.html ([https](https://www.rabbitmq.com/tutorial-two-java.html) result 301).
* http://www.rabbitmq.com/tutorial-two-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-python.html ([https](https://www.rabbitmq.com/tutorial-two-python.html) result 301).
* http://www.rabbitmq.com/tutorial-two-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-ruby.html ([https](https://www.rabbitmq.com/tutorial-two-ruby.html) result 301).
* http://www.rabbitmq.com/tutorials with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials ([https](https://www.rabbitmq.com/tutorials) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
* http://go.microsoft.com/fwlink/?LinkID=322105 with 12 occurrences migrated to:
  https://go.microsoft.com/fwlink/?LinkID=322105 ([https](https://go.microsoft.com/fwlink/?LinkID=322105) result 302).
2019-03-20 03:25:16 -05:00
Luke Bakken
8d392f4772
Update for Pika 1.0.0, yapf formatting 2019-02-11 09:56:04 -08:00
Michael Klishin
8c771b2229
Python tutorial 4: allow for optional message body
Closes #188.
2018-11-26 17:05:49 +08:00
Michael Klishin
6940f6f404 Update for Pika 0.11.0 2017-09-17 13:24:07 -06:00
Brian Stajkowski
d04a0934cf Correct emit_log_topic.py
Sys.argv will always be greater than 1, but in the instance
where the severity is supplied it would be greather than 2.

Closes rabbitmq/rabbitmq-tutorials#110
2016-12-19 13:18:04 -08:00
Brian Stajkowski
56e7678246 Correct Emit Log Direct
Sys.argv will always be greater than 1, but in the instance
where the severity is supplied it would be greather than 2.
2016-12-19 12:37:41 -08:00
Mandar Kulkarni
d1266eb6a9 Fix: deprecation warning for type in exchange_declare 2016-09-06 15:02:49 +05:30
Michael Klishin
55374bd433 Print later 2015-12-21 06:07:42 +03:00
Olof-Joachim Frahm
88f868d021 Fix Python scripts for Python 3 compatibility. 2015-11-11 17:32:37 +00:00
Giuseppe Privitera
83f1d9aebf updated README for pika 0.10.0 2015-09-23 17:38:16 +01:00
Marek Majkowski
c1b178d9de Fixed bug in tutorial 6 caused by misunderstanding of stop_consuming().
Apparently stop_consuming() does basic.cancel. Which is completely not what we want. Instead of using start/stop consuming, let's just do the busy loop by ourselves.
2011-08-24 11:46:21 +01:00
Marek Majkowski
2019b3c7c6 Better command line examples for python. 2011-07-20 11:41:37 +01:00
Marek Majkowski
5255babb4d Cosmetic. 2011-07-06 16:48:13 +01:00
Marek Majkowski
b4c0b9e25f Pika from github is 0.9.6, instead of 0.9.5. Let's use pip. 2011-07-01 14:31:03 +01:00
Ann Witbrock
401e22e9e6 Server required. 2011-06-09 13:45:36 +01:00
Marek Majkowski
325b81c52e Remove superfluous whitespace. 2011-05-18 17:31:37 +01:00
Ann Witbrock
4f084556ea format publish 2011-04-14 15:27:11 +01:00
Ann Witbrock
d8ab36c82a restored fib function to original version that does not guard against negative numbers 2011-04-14 11:44:56 +01:00
Ann Witbrock
a3e8c85037 changed fib function to be nicer with negative input 2011-04-13 18:18:33 +01:00
Ann Witbrock
9fc4bc9457 easy_install pip, as easy_install pika==0.9.5 fails 2011-04-12 20:08:54 +01:00