Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #240 from lzpap/repo-rename
Browse files Browse the repository at this point in the history
Update links in docs to iota.py
  • Loading branch information
lzpap committed Oct 4, 2019
2 parents 62fbf10 + 27e9f4b commit 50251cb
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 40 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ When you submit a Pull Request, here is what you can expect from the individual
- If any changes are needed, or if we cannot accept your submission, we will provide a respectful and constructive explanation.


.. _come on over and help us out!: https://github.com/iotaledger/iota.lib.py/issues/145
.. _come on over and help us out!: https://github.com/iotaledger/iota.py/issues/145
.. _email you: https://help.github.com/articles/managing-notification-delivery-methods/
.. _help wanted: https://github.com/iotaledger/iota.lib.py/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
.. _help wanted: https://github.com/iotaledger/iota.py/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
.. _how to contribute to open source: https://opensource.guide/how-to-contribute/
.. _notifications: https://github.com/notifications
.. _pep-8: https://www.python.org/dev/peps/pep-0008/
.. _pyota bug tracker: https://github.com/iotaledger/iota.lib.py/issues
.. _pyota bug tracker: https://github.com/iotaledger/iota.py/issues
.. _discord: https://discord.iota.org
.. _tutorials: https://docs.iota.org
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. image:: https://travis-ci.org/iotaledger/iota.lib.py.svg?branch=master
:target: https://travis-ci.org/iotaledger/iota.lib.py
.. image:: https://travis-ci.org/iotaledger/iota.py.svg?branch=master
:target: https://travis-ci.org/iotaledger/iota.py

.. image:: https://readthedocs.org/projects/pyota/badge/?version=latest
:target: http://pyota.readthedocs.io/en/latest/?badge=latest
Expand Down Expand Up @@ -47,7 +47,7 @@ Installing from Source
======================

#. `Create virtualenv`_ (recommended, but not required).
#. ``git clone https://github.com/iotaledger/iota.lib.py.git``
#. ``git clone https://github.com/iotaledger/iota.py.git``
#. ``pip install -e .``

Running Unit Tests
Expand Down Expand Up @@ -97,7 +97,7 @@ can also build the documentation locally:

.. _Create virtualenv: https://realpython.com/blog/python/python-virtual-environments-a-primer/
.. _Discord: https://discord.iota.org/
.. _PyOTA Bug Tracker: https://github.com/iotaledger/iota.lib.py/issues
.. _PyOTA Bug Tracker: https://github.com/iotaledger/iota.py/issues
.. _ReadTheDocs: https://pyota.readthedocs.io/
.. _official API: https://docs.iota.org/docs/node-software/0.1/iri/references/api-reference
.. _tox: https://tox.readthedocs.io/
2 changes: 1 addition & 1 deletion docs/multisig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ Never share your private keys

Under no circumstances - other than wanting to reduce the requirements for a multi-signature (see section **How M-of-N works**) - should you share your private keys. Sharing your private keys with others means that they can sign your part of the multi-signature successfully.

.. _example: https://github.com/iotaledger/iota.lib.py/blob/develop/examples/multisig.py
.. _example: https://github.com/iotaledger/iota.py/blob/develop/examples/multisig.py
.. _wiki: https://github.com/iotaledger/wiki/blob/master/multisigs.md
6 changes: 3 additions & 3 deletions iota/adapter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
# (note: ``imp`` is deprecated since Python 3.4 in favor of
# ``importlib``).
# https://docs.python.org/3/library/imp.html
# https://travis-ci.org/iotaledger/iota.lib.py/jobs/191974244
# https://travis-ci.org/iotaledger/iota.py/jobs/191974244
__all__ = map(binary_type, __all__)

API_VERSION = '1'
"""
API protocol version.
https://github.com/iotaledger/iota.lib.py/issues/84
https://github.com/iotaledger/iota.py/issues/84
"""

# Custom types for type hints and docstrings.
Expand Down Expand Up @@ -219,7 +219,7 @@ class HttpAdapter(BaseAdapter):
DEFAULT_HEADERS = {
'Content-type': 'application/json',

# https://github.com/iotaledger/iota.lib.py/issues/84
# https://github.com/iotaledger/iota.py/issues/84
'X-IOTA-API-Version': API_VERSION,
}
"""
Expand Down
2 changes: 1 addition & 1 deletion iota/adapter/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SandboxAdapter(HttpAdapter):
completed successfully.
References:
- https://github.com/iotaledger/iota.lib.py/issues/19
- https://github.com/iotaledger/iota.py/issues/19
- https://github.com/iotaledger/documentation/blob/sandbox/source/index.html.md
"""
DEFAULT_POLL_INTERVAL = 15
Expand Down
4 changes: 2 additions & 2 deletions iota/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ def __getattr__(self, command):
- https://docs.iota.org/docs/node-software/0.1/iri/references/api-reference
"""
# Fix an error when invoking :py:func:`help`.
# https://github.com/iotaledger/iota.lib.py/issues/41
# https://github.com/iotaledger/iota.py/issues/41
if command == '__name__':
# noinspection PyTypeChecker
return None

# Fix an error when invoking dunder methods.
# https://github.com/iotaledger/iota.lib.py/issues/206
# https://github.com/iotaledger/iota.py/issues/206
if command.startswith("__"):
# noinspection PyUnresolvedReferences
return super(StrictIota, self).__getattr__(command)
Expand Down
2 changes: 1 addition & 1 deletion iota/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def discover_commands(package, recursively=True):

# Prefix in name module move to function "walk_packages" for fix
# conflict with names importing packages
# Bug https://github.com/iotaledger/iota.lib.py/issues/63
# Bug https://github.com/iotaledger/iota.py/issues/63
sub_package = import_module(name)

# Index any command classes that we find.
Expand Down
2 changes: 1 addition & 1 deletion iota/commands/core/find_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _apply(self, value):

# Remove null search terms.
# Note: We will assume that empty lists are intentional.
# https://github.com/iotaledger/iota.lib.py/issues/96
# https://github.com/iotaledger/iota.py/issues/96
search_terms = {
term: query
for term, query in iteritems(value)
Expand Down
2 changes: 1 addition & 1 deletion iota/commands/extended/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Helpers(object):
Adds additional helper functions that aren't part of the core or
extended API.
See https://github.com/iotaledger/iota.lib.py/pull/124 for more
See https://github.com/iotaledger/iota.py/pull/124 for more
context.
"""

Expand Down
6 changes: 3 additions & 3 deletions iota/transaction/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def increment_legacy_tag(self):
References:
- https://github.com/iotaledger/iota.lib.py/issues/84
- https://github.com/iotaledger/iota.py/issues/84
"""
self._legacy_tag = (
Tag.from_trits(add_trits(self.legacy_tag.as_trits(), [1]))
Expand All @@ -108,7 +108,7 @@ def increment_legacy_tag(self):
Transfer = ProposedTransaction
"""
Follow naming convention of other libs.
https://github.com/iotaledger/iota.lib.py/issues/72
https://github.com/iotaledger/iota.py/issues/72
"""


Expand Down Expand Up @@ -366,7 +366,7 @@ def finalize(self):
bundle_hash = BundleHash.from_trits(bundle_hash_trits)

# Check that we generated a secure bundle hash.
# https://github.com/iotaledger/iota.lib.py/issues/84
# https://github.com/iotaledger/iota.py/issues/84
if any(13 in part for part in normalize(bundle_hash)):
# Increment the legacy tag and try again.
tail_transaction = (
Expand Down
12 changes: 6 additions & 6 deletions iota/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def from_bytes(cls, bytes_, codec=AsciiTrytesCodec.name, *args, **kwargs):
:param codec:
Reserved for future use.
See https://github.com/iotaledger/iota.lib.py/issues/62 for
See https://github.com/iotaledger/iota.py/issues/62 for
more information.
:param args:
Expand Down Expand Up @@ -121,7 +121,7 @@ def from_string(cls, *args, **kwargs):
"""
Deprecated; use :py:meth:`from_unicode` instead.
https://github.com/iotaledger/iota.lib.py/issues/90
https://github.com/iotaledger/iota.py/issues/90
"""
warn(
category=DeprecationWarning,
Expand Down Expand Up @@ -499,7 +499,7 @@ def encode(self, errors='strict', codec=AsciiTrytesCodec.name):
:param codec:
Reserved for future use.
See https://github.com/iotaledger/iota.lib.py/issues/62 for
See https://github.com/iotaledger/iota.py/issues/62 for
more information.
:raise:
Expand All @@ -511,15 +511,15 @@ def encode(self, errors='strict', codec=AsciiTrytesCodec.name):
# :py:class:`AsciiTrytesCodec`.
#
# Once we add more codecs, we may need to revisit this.
# See https://github.com/iotaledger/iota.lib.py/issues/62 for
# See https://github.com/iotaledger/iota.py/issues/62 for
# more information.
return decode(self._trytes, codec, errors)

def as_bytes(self, *args, **kwargs):
"""
Deprecated; use :py:meth:`encode` instead.
https://github.com/iotaledger/iota.lib.py/issues/90
https://github.com/iotaledger/iota.py/issues/90
"""
warn(
category=DeprecationWarning,
Expand Down Expand Up @@ -570,7 +570,7 @@ def as_string(self, *args, **kwargs):
"""
Deprecated; use :py:meth:`decode` instead.
https://github.com/iotaledger/iota.lib.py/issues/90
https://github.com/iotaledger/iota.py/issues/90
"""
warn(
category=DeprecationWarning,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
setuptools.setup(
name='PyOTA',
description='IOTA API library for Python',
url='https://github.com/iotaledger/iota.lib.py',
url='https://github.com/iotaledger/iota.py',
version='2.0.9',

long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion test/adapter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_success_response(self):

self.assertEqual(result, expected_result)

# https://github.com/iotaledger/iota.lib.py/issues/84
# https://github.com/iotaledger/iota.py/issues/84
mocked_sender.assert_called_once_with(
headers = {
'Content-type': 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion test/api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_use_in_abstract_class(self):
class definition raises an exception.
References:
- https://github.com/iotaledger/iota.lib.py/issues/206
- https://github.com/iotaledger/iota.py/issues/206
"""
# This statement will raise an exception if the regression is
# present; no assertions necessary.
Expand Down
8 changes: 4 additions & 4 deletions test/commands/core/find_transactions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_pass_bundles_only(self):
],

# Null criteria are not included in the request.
# https://github.com/iotaledger/iota.lib.py/issues/96
# https://github.com/iotaledger/iota.py/issues/96
# 'addresses': [],
# 'approvees': [],
# 'tags': [],
Expand Down Expand Up @@ -171,7 +171,7 @@ def test_pass_addresses_only(self):
],

# Null criteria are not included in the request.
# https://github.com/iotaledger/iota.lib.py/issues/96
# https://github.com/iotaledger/iota.py/issues/96
# 'approvees': [],
# 'bundles': [],
# 'tags': [],
Expand Down Expand Up @@ -202,7 +202,7 @@ def test_pass_tags_only(self):
],

# Null criteria are not included in the request.
# https://github.com/iotaledger/iota.lib.py/issues/96
# https://github.com/iotaledger/iota.py/issues/96
# 'addresses': [],
# 'approvees': [],
# 'bundles': [],
Expand Down Expand Up @@ -233,7 +233,7 @@ def test_pass_approvees_only(self):
],

# Null criteria are not included in the request.
# https://github.com/iotaledger/iota.lib.py/issues/96
# https://github.com/iotaledger/iota.py/issues/96
# 'addresses': [],
# 'bundles': [],
# 'tags': [],
Expand Down
2 changes: 1 addition & 1 deletion test/commands/core/get_tips_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_type_coercion(self):
"""
The result is coerced to the proper type.
https://github.com/iotaledger/iota.lib.py/issues/130
https://github.com/iotaledger/iota.py/issues/130
"""
# noinspection SpellCheckingInspection
self.adapter.seed_response('getTips', {
Expand Down
2 changes: 1 addition & 1 deletion test/commands/extended/replay_bundle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def mock_send_trytes(_,request):
to replay the bundle.
References:
- https://github.com/iotaledger/iota.lib.py/issues/74
- https://github.com/iotaledger/iota.py/issues/74
"""
self.assertEqual(request['trytes'], send_trytes_response['trytes'])
return send_trytes_response
Expand Down
2 changes: 1 addition & 1 deletion test/crypto/types_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_random(self):
self.assertIsInstance(seed, Seed)

# Regression test: Random seed must be exactly 81 trytes long.
# https://github.com/iotaledger/iota.lib.py/issues/44
# https://github.com/iotaledger/iota.py/issues/44
self.assertEqual(len(seed), Hash.LEN)

def test_random_seed_too_long(self):
Expand Down
2 changes: 1 addition & 1 deletion test/filters_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_pass_tcp(self):
"""
The incoming value is a valid TCP URI.
https://github.com/iotaledger/iota.lib.py/issues/111
https://github.com/iotaledger/iota.py/issues/111
"""
self.assertFilterPasses('tcp://localhost:14265/node')

Expand Down
2 changes: 1 addition & 1 deletion test/transaction/creation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def test_finalize_insecure_bundle(self):
When finalizing, the bundle detects an insecure bundle hash.
References:
- https://github.com/iotaledger/iota.lib.py/issues/84
- https://github.com/iotaledger/iota.py/issues/84
"""
# noinspection SpellCheckingInspection
bundle =\
Expand Down
2 changes: 1 addition & 1 deletion test/trits_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_zero(self):
"""
Zero is represented as ``[0]`` by default.
https://github.com/iotaledger/iota.lib.py/issues/49
https://github.com/iotaledger/iota.py/issues/49
"""
self.assertEqual(trits_from_int(0), [0])

Expand Down
2 changes: 1 addition & 1 deletion test/types_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def test_from_string_deprecated(self):
:py:meth:`TryteString.from_string` is deprecated in favor of
:py:meth:`TryteString.from_unicode`.
https://github.com/iotaledger/iota.lib.py/issues/90
https://github.com/iotaledger/iota.py/issues/90
"""
with catch_warnings(record=True) as caught_warnings:
simple_filter('always', category=DeprecationWarning)
Expand Down

0 comments on commit 50251cb

Please sign in to comment.