Skip to content

Commit

Permalink
Update docs for the new repo location (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettheel committed May 8, 2017
1 parent baee9fb commit 935063f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 22 deletions.
11 changes: 5 additions & 6 deletions README.rst
Expand Up @@ -4,10 +4,10 @@ PynamoDB

.. image:: https://img.shields.io/pypi/v/pynamodb.svg
:target: https://pypi.python.org/pypi/pynamodb/
.. image:: https://travis-ci.org/jlafon/PynamoDB.png?branch=devel
:target: https://travis-ci.org/jlafon/PynamoDB
.. image:: https://coveralls.io/repos/jlafon/PynamoDB/badge.png?branch=devel
:target: https://coveralls.io/r/jlafon/PynamoDB
.. image:: https://img.shields.io/travis/pynamodb/PynamoDB/master.svg
:target: https://travis-ci.org/pynamodb/PynamoDB
.. image:: https://img.shields.io/coveralls/pynamodb/PynamoDB.svg
:target: https://coveralls.io/r/pynamodb/PynamoDB

A Pythonic interface for Amazon's `DynamoDB <http://aws.amazon.com/dynamodb/>`_ that supports
Python 2 and 3.
Expand All @@ -29,7 +29,7 @@ From PyPi::

From GitHub::

$ pip install git+https://github.com/jlafon/PynamoDB#egg=pynamodb
$ pip install git+https://github.com/pynamodb/PynamoDB#egg=pynamodb

Basic Usage
^^^^^^^^^^^
Expand Down Expand Up @@ -184,4 +184,3 @@ Features
* Support for Global and Local Secondary Indexes
* Batch operations with automatic pagination
* Iterators for working with Query and Scan operations

4 changes: 1 addition & 3 deletions docs/attributes.rst
Expand Up @@ -133,7 +133,7 @@ When defining your model use the ``of=`` kwarg and pass in a class. Pynamo will
Map Attributes
--------------

DynamoDB map attributes are objects embedded inside of top level models. See the examples `here <https://github.com/jlafon/PynamoDB/tree/devel/examples/office_model.py>`_.
DynamoDB map attributes are objects embedded inside of top level models. See the examples `here <https://github.com/pynamodb/PynamoDB/tree/devel/examples/office_model.py>`_.
When implementing your own MapAttribute you can simply extend ``MapAttribute`` and ignore writing serialization code.
These attributes can then be used inside of Model classes just like any other attribute.

Expand All @@ -144,5 +144,3 @@ These attributes can then be used inside of Model classes just like any other at
class CarInfoMap(MapAttribute):
make = UnicodeAttribute(null=False)
model = UnicodeAttribute(null=True)
4 changes: 2 additions & 2 deletions docs/contributing.rst
@@ -1,7 +1,7 @@
Contributing
============

Pull requests are welcome, forking from the ``devel`` branch. If you are new to GitHub, be sure and check out
Pull requests are welcome, forking from the ``master`` branch. If you are new to GitHub, be sure and check out
GitHub's `Hello World <https://guides.github.com/activities/hello-world/>`_ tutorial.

Make sure that your contribution meets the following requirements:
Expand All @@ -24,4 +24,4 @@ by using ``tox``::

Once you've opened a pull request on GitHub, Travis-ci will run the test suite as well.

Don't forget to add yourself to `AUTHORS.rst <https://github.com/jlafon/PynamoDB/blob/devel/AUTHORS.rst>`_.
Don't forget to add yourself to `AUTHORS.rst <https://github.com/pynamodb/PynamoDB/blob/devel/AUTHORS.rst>`_.
6 changes: 2 additions & 4 deletions docs/examples.rst
@@ -1,7 +1,7 @@
PynamoDB Examples
=================

An directory of examples is available with the PynamoDB source on `GitHub <https://github.com/jlafon/PynamoDB/tree/devel/examples>`__.
An directory of examples is available with the PynamoDB source on `GitHub <https://github.com/pynamodb/PynamoDB/tree/devel/examples>`__.
The examples are configured to use `http://localhost:8000` as the DynamoDB endpoint. For information on how to run DynamoDB locally,
see : :ref:`local`.

Expand All @@ -23,7 +23,7 @@ Getting the examples

You can clone the PynamoDB repository to get the examples::

$ git clone https://github.com/jlafon/PynamoDB.git
$ git clone https://github.com/pynamodb/PynamoDB.git

Running the examples
^^^^^^^^^^^^^^^^^^^^
Expand All @@ -45,5 +45,3 @@ Running an example
Each example file can be executed as a script by a Python interpreter::

$ python model.py


3 changes: 1 addition & 2 deletions docs/index.rst
Expand Up @@ -18,7 +18,7 @@ Features
* Support for Global and Local Secondary Indexes
* Batch operations with automatic pagination
* Iterators for working with Query and Scan operations
* `Fully tested <https://coveralls.io/r/jlafon/PynamoDB>`_
* `Fully tested <https://coveralls.io/r/pynamodb/PynamoDB>`_

Topics
======
Expand Down Expand Up @@ -57,4 +57,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

2 changes: 1 addition & 1 deletion docs/release_notes.rst
Expand Up @@ -390,7 +390,7 @@ This is a backward compatible, minor bug fix release, fixing the following issue
Other minor improvements

* New API for backing up and restoring tables
* Better support for custom attributes (https://github.com/jlafon/PynamoDB/commit/0c2ba5894a532ed14b6c14e5059e97dbb653ff12)
* Better support for custom attributes (https://github.com/pynamodb/PynamoDB/commit/0c2ba5894a532ed14b6c14e5059e97dbb653ff12)
* Explicit Travis CI testing of Python 2.6, 2.7, 3.3, 3.4, and PyPy
* Tests added for round tripping unicode values

Expand Down
8 changes: 4 additions & 4 deletions pynamodb/tests/test_model.py
Expand Up @@ -1035,7 +1035,7 @@ def test_update_item(self):
}
deep_eq(args, params, _assert=True)

# Reproduces https://github.com/jlafon/PynamoDB/issues/59
# Reproduces https://github.com/pynamodb/PynamoDB/issues/59
with patch(PATCH_METHOD) as req:
user = UserModel("test_hash", "test_range")
req.return_value = {
Expand Down Expand Up @@ -1065,7 +1065,7 @@ def test_update_item(self):
}
}
}
# Reproduces https://github.com/jlafon/PynamoDB/issues/34
# Reproduces https://github.com/pynamodb/PynamoDB/issues/34
item.email = None
item.update_item('views', 10, action='add')
args = req.call_args[0][1]
Expand Down Expand Up @@ -1152,7 +1152,7 @@ def test_update_item(self):
}
deep_eq(args, params, _assert=True)

# Reproduces https://github.com/jlafon/PynamoDB/issues/102
# Reproduces https://github.com/pynamodb/PynamoDB/issues/102
with patch(PATCH_METHOD) as req:
req.return_value = {
ATTRIBUTES: {
Expand Down Expand Up @@ -2010,7 +2010,7 @@ def test_rate_limited_scan(self):
req.return_value = {'Items': items, 'ConsumedCapacity': {'TableName': 'UserModel', 'CapacityUnits': 10}}
scan_result = UserModel.rate_limited_scan(
user_id__contains='tux',
zip_code__null=False,
zip_code__null=False,
email__null=True,
read_capacity_to_consume_per_second=13
)
Expand Down

0 comments on commit 935063f

Please sign in to comment.