• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux sape Download

sape

November 4, 2009
The Sape.ru client library is a software tool that allows users to access the services of the Russian advertising exchange platform Sape.ru. It provides a range of features, including access to the Sape API, management of user accounts and campaigns, and integration with other software applications.
Version 0.1.1
License BSD License
Platform Linux
Supported Languages English
Homepage bitbucket.org
Developed by Grigoriy Petukhov
Sape is a useful client and library for Sape.ru, and here is a comprehensive review of this software.

Installation is simple and straightforward. Just install the `sape` package via easy_install, pip or from the repository. Speaking of which, the repository URL is readily available for you to access.

When it comes to usage, Sape is quite versatile. For instance, when using Sape in a Django project, you need to create a directory where local links database should be saved. After that, put 'sape.django' into settings.INSTALLED_APPS, and 'sape.django.context_processors.sape' into settings.TEMPLATE_CONTEXT_PROCESSORS. You also need to put the path to the local links database into settings.SAPE_DATABASE, your sape.ru account ID to settings.SAPE_USER, and site hostname to settings.SAPE_HOST. Finally, set up cron to run periodically the command `manage.py sape_refresh`. This command will download the fresh version of links database.

To use Sape in an arbitrary Python project, the process is different. Write a script that calls sape.provider.refresh_local_database function and passes it correct arguments (path to local database, sape.ru account ID, site hostname). Then call that script periodically with cron or anything else. Use sape.client.Client instance to get links for the page. Here's a quick example of Client usage:

    from sape.client import Client
    url = ''
    client = Client('var/links.db', url)
    links = client.links()

Another example of Provider usage is:

    from sape.provider import refresh_local_database
    refresh_local_database('var/links.db', 'sape.ru ID', 'mydomain.com').

Overall, Sape is a great tool that simplifies usage for both Django and arbitrary Python projects.
What's New

Version 0.1.1: N/A

Free Download 6K
406
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

Martyr
Martyr is a Java-based software library designed for IRC communications. It is ...
mooseekd
Mooseekd is a software that contains only the essential standalone daemon required ...
4PSA VoipNow
This software is a free Linux IP PBX server designed to support ...
TorApplet
TorApplet is a GNOME applet that monitors and manages the basic functions ...
Newspost
Newspost automates Usenet binary posting for UNIX.
PfP Studio
PfP Studio is a visual programming software that facilitates rapid application development ...
Vascular Modelling Toolkit
VMTK is a set of software libraries and tools that aid in ...
Mikrop
Mikrop is a user-friendly software designed for hassle-free installation on mail servers. ...
Tk::DBIx::Tree
The software, Megawidget, enables users to display a table column in a ...
listps
Listps is a compact Linux software that displays a comprehensive list of ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.