semvec/pypi-packages huggingface dataset:
python-yo 0.1.0
A Python client for the Yo platform
License: BSD
Keywords: yo

Yo Python
=====

A Python client for the Yo platform. This is pretty pointless, but I want to try to overengineer it as much as possible, just for fun.

Pull Requests are actively encouraged!

Installation
==

`pip install python-yo`

Usage
==

````
import yo

API_TOKEN = '...'

yo_client = yo.Yo(API_TOKEN)

yo_client.yo()     # Send a Yo to all your subscribers

yo_user = 'mcos'

yo_client.yo(username=yo_user)     # Send a Yo to a specific user

````

Roadmap
==

Since I want to overengineer this in the future, the following needs to be done:

* Full test coverage
* Travis integration
* Updated documentation
* A landing page on Github pages
* Full git-flow workflow
django-logicaldelete 1.2
a base model that provides built in logical delete functionality
License: BSD

Django Logical Delete
=====================

This is a small and simple app that I threw together to get some reuse out of 
something I do in nearly every project and every model I create.  It's too easy
for good data to get deleted and it be unrecoverable.  It's also too easy to
fix this by overriding the model's delete() method and just flagging records
as deleted and then leveraging Django's Managers to override default behavior
so that logically deleted items are not returned in querysets.

There are two exceptions however, that I have found useful to this rule.

#. In the admin I like to see everything with an indicator of whether or not 
   it has been deleted, with the ability to filter down to just active records,
   (or deleted for that matter).
#. I still think it is a valid request when an item is fetched for by it's
   primary key value, that the object should return, even if it is marked as
   deleted.


Installing django-logicaldelete
-------------------------------

::

    pip install django-logicaldelete


Using django-logicaldelete
--------------------------

Using the app is pretty simple:

#. add `logicaldelete` to your INSTALLED_APPS
#. Inherit from `logicaldelete.models.Model` for all models that you wish to 
   share in this functionality.
#. Create and/or Register admins for each of these models using `logicaldelete.admin.ModelAdmin`


Additional
----------

Logical deletes are handled by date stamping a `date_removed` column.  In addition, a `date_created` and `date_modified` columns will be populated as a convenience.


Backwards Incompatible Changes
------------------------------

1.1
***

* Changed `everything` to `all_with_deleted` on LogicalDeleteManager
* LogicalDeleteManager moved from `logicaldelete.models` to `logicaldelete.managers`
* Removed `deleted` and `everything` querysets from `logicaldelete.models.Model`
django-redirects-hvad 1.1.1
A modified version of django.contrib.redirects with multilingual target URLs
License: BSD

django-redirects-hvad
=====================

This is a modified version of Django's ``django.contrib.redirects`` app that
supports language dependant target URLs, using ``django-hvad``.

This is useful for cases in which another middleware strips the language
prefix from the URL, like django CMS.