New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

python-slimta-cloudstorage

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-slimta-cloudstorage - pypi Package Compare versions

Comparing version
0.2.0
to
0.3.0
+5
-1
PKG-INFO
Metadata-Version: 1.1
Name: python-slimta-cloudstorage
Version: 0.2.0
Version: 0.3.0
Summary: Queue storage backend interfacing with cloud providers.

@@ -17,1 +17,5 @@ Home-page: http://slimta.org/

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Metadata-Version: 1.1
Name: python-slimta-cloudstorage
Version: 0.2.0
Version: 0.3.0
Summary: Queue storage backend interfacing with cloud providers.

@@ -17,1 +17,5 @@ Home-page: http://slimta.org/

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+3
-2

@@ -1,4 +0,5 @@

python-slimta >= 1.1.0
python-slimta >= 3.0
six >= 1
[aws]
boto
boto

@@ -0,1 +1,4 @@

[bdist_wheel]
universal = 1
[nosetests]

@@ -2,0 +5,0 @@ where = test/

@@ -26,3 +26,3 @@ # Copyright (c) 2013 Ian C. Good

setup(name='python-slimta-cloudstorage',
version='0.2.0',
version='0.3.0',
author='Ian Good',

@@ -35,8 +35,5 @@ author_email='icgood@gmail.com',

namespace_packages=['slimta'],
install_requires=['python-slimta >= 1.1.0'],
extras_require={
'aws': ['boto'],
},
tests_require=['nose', 'mox'],
test_suite='nose.collector',
install_requires=['python-slimta >= 3.0',
'six >= 1'],
extras_require={'aws': ['boto']},
classifiers=['Development Status :: 3 - Alpha',

@@ -47,5 +44,9 @@ 'Topic :: Communications :: Email :: Mail Transport Agents',

'License :: OSI Approved :: MIT License',
'Programming Language :: Python'])
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'])
# vim:et:fdm=marker:sts=4:sw=4:ts=4

@@ -63,6 +63,7 @@ # Copyright (c) 2013 Ian C. Good

import cPickle
import uuid
import json
from six.moves import cPickle
import gevent

@@ -72,4 +73,2 @@ from boto.s3.key import Key

from . import CloudStorageError
__all__ = ['SimpleStorageService', 'SimpleQueueService']

@@ -76,0 +75,0 @@

@@ -51,10 +51,10 @@ # Copyright (c) 2013 Ian C. Good

import cPickle
import uuid
import json
from socket import getfqdn
from urlparse import urlsplit, urljoin
from urllib import urlencode
from functools import partial
from six.moves import cPickle
from six.moves.urllib.parse import urlsplit, urljoin, urlencode
import gevent

@@ -174,3 +174,3 @@

conn = self.get_connection(parsed_url, self.tls)
json_payload = json.dumps(payload)
json_payload = json.dumps(payload, sort_keys=True)
headers = [('Host', parsed_url.hostname),

@@ -491,3 +491,3 @@ ('Content-Type', 'application/json'),

'storage_id': storage_id}}]
json_payload = json.dumps(payload)
json_payload = json.dumps(payload, sort_keys=True)
headers = [('Host', parsed_url.hostname),

@@ -494,0 +494,0 @@ ('Client-ID', self.client_id),

import json
import cPickle
from mox import MoxTestBase, IsA
from mox3.mox import MoxTestBase, IsA
from six.moves import cPickle
import gevent

@@ -36,3 +36,3 @@

self.s3.write_message(self.env, 1234.0)
self.assertTrue(isinstance(self.key.key, basestring))
self.assertTrue(isinstance(self.key.key, str))
self.assertTrue(self.key.key.startswith('test-'))

@@ -39,0 +39,0 @@

import json
from mox import MoxTestBase, IsA, Func
from mox3.mox import MoxTestBase, IsA, Func

@@ -61,3 +61,3 @@ from slimta.cloudstorage.rackspace import RackspaceError, RackspaceCloudAuth

conn.putheader('Accept', 'application/json')
conn.endheaders('{"auth": {"passwordCredentials": {"username": "testuser", "password": "testpass"}}}')
conn.endheaders('{"auth": {"passwordCredentials": {"password": "testpass", "username": "testuser"}}}')
res.status = 200

@@ -67,3 +67,3 @@ res.reason = 'OK'

res.getheaders().AndReturn([])
res.read().AndReturn(json.dumps(self.response_payload))
res.read().AndReturn(json.dumps(self.response_payload, sort_keys=True))
self.mox.ReplayAll()

@@ -85,3 +85,3 @@ self.assertEqual('tokenid', auth.token_id)

conn.putheader('Accept', 'application/json')
conn.endheaders('{"auth": {"RAX-KSKEY:apiKeyCredentials": {"username": "testuser", "apiKey": "testkey"}}}')
conn.endheaders('{"auth": {"RAX-KSKEY:apiKeyCredentials": {"apiKey": "testkey", "username": "testuser"}}}')
res.status = 200

@@ -91,3 +91,3 @@ res.reason = 'OK'

res.getheaders().AndReturn([])
res.read().AndReturn(json.dumps(self.response_payload))
res.read().AndReturn(json.dumps(self.response_payload, sort_keys=True))
self.mox.ReplayAll()

@@ -94,0 +94,0 @@ self.assertEqual('tokenid', auth.token_id)

import re
import cPickle
from mox import MoxTestBase, IsA, Func
from mox3.mox import MoxTestBase, IsA, Func
from six.moves import cPickle

@@ -7,0 +7,0 @@ from slimta.envelope import Envelope

@@ -5,3 +5,3 @@

import gevent
from mox import MoxTestBase, IsA, Func
from mox3.mox import MoxTestBase, IsA, Func

@@ -26,3 +26,3 @@ from slimta.cloudstorage.rackspace import RackspaceCloudAuth, \

queues.get_connection(IsA(tuple), {}).AndReturn(conn)
json_payload = json.dumps([{'ttl': 86400, 'body': {'timestamp': 1234.0, 'storage_id': 'asdf'}}])
json_payload = json.dumps([{'ttl': 86400, 'body': {'timestamp': 1234.0, 'storage_id': 'asdf'}}], sort_keys=True)
conn.putrequest('POST', '/v1/queues/test/messages')

@@ -29,0 +29,0 @@ conn.putheader('Host', 'queues')

from mox import MoxTestBase, IsA
from mox3.mox import MoxTestBase, IsA

@@ -4,0 +4,0 @@ from slimta.queue import QueueError