PawsX-S3-Uploader

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "upload to S3 from a streaming source",
   "author" : [
      "Gianni Ceccarelli <gceccarelli@veritone.com>"
   ],
   "dynamic_config" : 0,
   "generated_by" : "Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'upload to S3 from a streaming source'
author:
  - 'Gianni Ceccarelli <gceccarelli@veritone.com>'
build_requires:
  Path::Tiny: '0.011'
  Paws: '0'
  Paws::Credential::Explicit: '0'
  Paws::Net::MultiplexCaller: '0'
  PawsX::FakeImplementation::Instance: '0'
  Test2::V0: '0'
  Tie::StdHandle: '0'

Makefile.PL  view on Meta::CPAN

# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.032.
use strict;
use warnings;

use 5.026000;

use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "upload to S3 from a streaming source",
  "AUTHOR" => "Gianni Ceccarelli <gceccarelli\@veritone.com>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "PawsX-S3-Uploader",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.026000",
  "NAME" => "PawsX::S3::Uploader",
  "PREREQ_PM" => {
    "Carp" => 0,

lib/PawsX/S3/Uploader.pm  view on Meta::CPAN

use strict;
use warnings;
use Feature::Compat::Class 0.07;
use Feature::Compat::Try 0.05;
use builtin::compat 0.003003 qw(true false);
use Carp ();

class PawsX::S3::Uploader;

our $VERSION = '0.0.3'; # VERSION
# ABSTRACT: upload to S3 from a streaming source


# aws doesn't want small multiparts
sub MULTIPART_MIN_SIZE { 5*1024*1024 }


field $s3               :param;
field $bucket           :param;
field $key              :param;
field $min_part_size    :param = MULTIPART_MIN_SIZE;

lib/PawsX/S3/Uploader.pm  view on Meta::CPAN

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

PawsX::S3::Uploader - upload to S3 from a streaming source

=head1 VERSION

version 0.0.3

=head1 SYNOPSIS

    use Paws;
    use PawsX::S3::Uploader;
    use Feature::Compat::Try; # or a recent perl



( run in 1.102 second using v1.01-cache-2.11-cpan-140bd7fdf52 )