meaning of PyPI feed events - pypi

PyPI enables to historically retrieve events feed using xml-rpc client.
Unfortunately there is no documentation on each event and on their meaning in the PyPI official website.
Could you please help me understand the meaning of the following events?
'accepted'(of Maintainer/Owner),
'add'(of file/Maintainer/Owner) and how is add different from accept for Maintainer/Owner?
'nuke user'
'docdestroy'
I tried to find some relevant information/documentation on the official PyPI website and other related forums. Also tried to find related question in here.

Related

Official Tensorflow docs available in pdf form? (running Windows)

I have not been able to find pdf format docs for Tensorflow (API or tutorials).
I'm referring to the official docs, not asking for book recommendations.
Specifically pdf format, for offline local reference and study.
One problem is that I'm running Windows, so the available toolset for creating
them dynamically is limited (or different from the normally recommended tools).
But surely the pdfs must already exist online somewhere, right?
This has been answered here. How can you download Tensorflow API Documentation
Essentially you can use http://devdocs.io/, which can provide you with offline access to the documentation of many libraries and languages, including Tensorflow.
Or clone the repo and type this to generate a the documentation locally. It's described in more detail in the TensorFlow documentation.
$ cd tensorflow/tools/docs
$ ./gen_docs.sh # add -a if you want C++ documentation
If you can't do this approach due to Windows, then versus setting up a bunch of infrastructure, it maybe easier to use the gitbook for TF then generate a PDF with toolchain as described here

Where can I find global_tracker.xml?

I was going through Google Analytics docs for Android (here). It refers to R.xml.global_tracker. Where can I find the source for global_tracker.xml to see how its configured?

Would it be wise to package OpenERP for the PyPI or just personal use?

Recently, I've wanted to deploy OpenERP and also, recently, I learned about Heroku.
I thought about how to deploy OpenERP on Heroku and it came to me that there's no python package for OpenERP.
So I thought about learning how to create python packages and then package up OpenERP for my personal use on GitHub or Launchpad (because OpenERP uses Launchpad and bazaar) and then, if it is useful, submit it to PyPI.
But, first, I'll check with the rest of the world. here for some advice.
Would you recommend me to take this route?
Would it be beneficial to the OpenERP community?
Would it be a wise method of deployment, through a python package?
What are the reasons that the official python packages on PyPI have been abandoned?
OpenERP already has packages and bundles for different O/Ses available. I would advise against creating one specifically for PyPI.
If you create one, please, please commit to maintaining it. If you don't, it too will be abandoned.

How can I subscribe to updates of a package on PyPI?

I would like to be notified every time a new version of Virtualenv is released on PyPI, preferably by email or by RSS feed. Is this possible?
Yes, it's possible.
libraries.io
The open(*) libraries.io service provides an e-mail notification service and RSS release feeds for Python package releases.
An RSS feed URL follows these pattern:
https://libraries.io/pypi/{PACKAGENAME}/versions.atom
Example:
curl -L https://libraries.io/pypi/virtualenv/versions.atom
For the email subscription you need to login via github/gitlab/bitbucket OAuth, but it just requests the email address over OAuth. After login you can browse to
https://libraries.io/pypi/{PACKAGENAME}
and hit the subscribe button to add a package to your subscriptions.
*open as in the server software being open source and the aggregated data being available under a creative commons license.
As of 2018-08, the libraries.io notifications aren't really reliable. For example, the PyPI release history page of a project has a new release and libraries.io doesn't send a notification mail nor updates the RSS feed for 11 days (and counting).
Anitya
Anitya (a.k.a. release-monitoring.org) is another open project for release notification. It originates from the Fedora context and Fedora infrastructure uses it, but it's basically open for anyone to create some email release notifications. Besides PyPI it supports monitoring other release sources.
A small howto:
sign-up/sign-in to release-monitoring.org
check if the PyPI packages you are interested in are already available, otherwise register the missing ones ('add project')
sign-up/sign-in to Fedora Notfications, create a new filter in the email section and add the 'Anything regarding a particular "upstream project"' rule from the Anitya rules listing. There you can specify a comma separated list of project names.
This service is supposed to check for new releases twice a day.
PyPI vs. pyup.io
As of 2018, pypi.org directly doesn't provide similar functionality. It just provides a release feed for all releases. But it links to libraries.io from each package page (for statistics). Pypi also links to similar notification services in the GitHub ecosystem.
For example, pyup.io implements notifications by connecting to one or many of your GitHub repositories - requiring a bunch of broad OAuth GitHub write permissions. It then periodically scans the repository's requirements file and is able to create pull requests if newer dependency versions are available.
Yes, an RSS feed is available from pypi.org, see: https://pypi.org/rss/project/virtualenv/releases.xml
PyPI Notifier watches your projects' requirements.txt files and emails you when a required package is updated.
http://www.pypi-notifier.org
You connect with your GitHub account and select your repos.
If you are interested in this to keep your installation up to date, you can use pip (as suggested on Super User):
$ pip list --outdated
pyflakes (1.2.3) - Latest: 1.3.0 [wheel]
The Warehouse project that powers the
The Python Package Index (PyPI) at PyPI.org had a pull request to add support for "package update feeds" at URLs of the form /rss/{package_name}/updates.xml. That has been closed and in favour of a more general issue for a different, yet-to-be-implemented API.
When/if that goes live, that API will become the most direct and official way to get the updates you're after.
I searched for a solution and https://newreleases.io seems to be perfect and up to date. I could not get email notifications working with libraries.io.
There's now a package called yolk that will check PyPi for updates on your installed packages.
pip install yolk
yolk -l # List all of the installed packages yolk can check
yolk -U # Check PyPi for updates on the installed packages
It doesn't seem to work for Python 3 yet, although there is a Python 3 fork yolk3k. You can schedule this to go once a day and notify you in case there's a new version...

DotNetNuke: Social Links for Blog Module

What is the best method for adding social links to each blog entry?
I could use sample code of adding links to the ascx files or I am even able to pay a little for a module that will do it.
I will have parent and child portals.
edit: I've updated the module and checked the social bookmarking options. However it did not appear? Am I missing something?
I believe that is already built into the core Blog module. The blogs at DotNetNuke.com all have social links, and Antonio has a blog post saying they'll be in 3.4.1, with the current version being 3.5.1.
You have to upgrade to the newest version of the Blog module and then under module options for the blog you can check "Enable Social Bookmarks". Alternatively with an older version of the Blog module you can follow the instructions outlined here.
I use ADDTHIS.COM and place the code snippet it gives me in the container.