All Projects â†’ activeadmin-plugins â†’ Active_admin_import

activeadmin-plugins / Active_admin_import

Licence: mit
📎 active_admin_import is based on activerecord-import gem - the most efficient way to import for ActiveAdmin

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Active admin import

Import
This is a library that provides generic functionalities for the implementation of imports. In addition to maximum performance and optimized memory consumption, Pacemaker can also be used to implement imports in distributed scenarios that place the highest demands on speed and stability.
Stars: ✭ 125 (-19.35%)
Mutual labels:  csv, import
Portphp
Data import/export framework for PHP
Stars: ✭ 225 (+45.16%)
Mutual labels:  csv, import
Csvreader
csvreader library / gem - read tabular data in the comma-separated values (csv) format the right way (uses best practices out-of-the-box with zero-configuration)
Stars: ✭ 169 (+9.03%)
Mutual labels:  csv, import
Csvkeychain
Import/export between Apple Keychain.app and plain CSV file.
Stars: ✭ 281 (+81.29%)
Mutual labels:  csv, import
Row boat
Import CSVs into your ActiveRecord models
Stars: ✭ 12 (-92.26%)
Mutual labels:  csv, import
Simple Excel
Read and write simple Excel and CSV files
Stars: ✭ 502 (+223.87%)
Mutual labels:  csv, import
import-cli-simple
This the meta package for Pacemaker Community, a Symfony based CLI application that provides import functionality for products, categories, attributes, and attribute-sets. The default format is CSV, adapters for XML are also available. The application can be declaratively extended by additional operations, which can be used to reassemble and exe…
Stars: ✭ 69 (-55.48%)
Mutual labels:  csv, import
Magento2 Import Export Sample Files
Default Magento 2 CE import / export CSV files & sample files for Firebear Improved Import / Export extension
Stars: ✭ 68 (-56.13%)
Mutual labels:  csv, import
Couchimport
CouchDB import tool to allow data to be bulk inserted
Stars: ✭ 125 (-19.35%)
Mutual labels:  csv, import
Keepassbrowserimporter
KeePass 2.x plugin which imports credentials from various browsers.
Stars: ✭ 139 (-10.32%)
Mutual labels:  import
Keycloak Config Cli
Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
Stars: ✭ 147 (-5.16%)
Mutual labels:  import
Elasticsearch Dataformat
Excel/CSV/BulkJSON downloads on Elasticsearch.
Stars: ✭ 135 (-12.9%)
Mutual labels:  csv
Criterion
Microbenchmarking for Modern C++
Stars: ✭ 140 (-9.68%)
Mutual labels:  csv
Omniparser
omniparser: a native Golang ETL streaming parser and transform library for CSV, JSON, XML, EDI, text, etc.
Stars: ✭ 148 (-4.52%)
Mutual labels:  csv
React Csv Reader
React component that handles csv file input and its parsing
Stars: ✭ 138 (-10.97%)
Mutual labels:  csv
Tensorflow template application
TensorFlow template application for deep learning
Stars: ✭ 1,851 (+1094.19%)
Mutual labels:  csv
Dumpling
Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).
Stars: ✭ 134 (-13.55%)
Mutual labels:  csv
Csv2ofx
A Python library and command line tool for converting csv to ofx and qif files
Stars: ✭ 133 (-14.19%)
Mutual labels:  csv
Psql2csv
Run a query in psql and output the result as CSV.
Stars: ✭ 153 (-1.29%)
Mutual labels:  csv
Active admin Sortable tree
Show ActiveAdmin index as a nested tree with drag'n'drop
Stars: ✭ 153 (-1.29%)
Mutual labels:  activeadmin

ActiveAdminImport

Travis Build   Coverage Status Code Climate   Gem Version    License

The most fastest and efficient CSV import for Active Admin with support of validations, bulk inserts and encodings handling.

For more about ActiveAdminImport installation and usage, check Documentation website and Wiki pages for some specific cases and caveats.

Installation

Add this line to your application's Gemfile:

gem "active_admin_import"

or

gem "active_admin_import" , github: "activeadmin-plugins/active_admin_import"

And then execute:

$ bundle

Features

  • Replacements/Updates support
  • Encoding handling
  • CSV options
  • Ability to describe/change CSV headers
  • Bulk import (activerecord-import)
  • Callbacks
  • Zip files
  • and more...

Basic usage

ActiveAdmin.register Post
  active_admin_import options
end

Options

Tool Description
:back resource action to redirect after processing
:csv_options hash with column separator, row separator, etc
:validate bool (true by default), perform validations or not
:batch_transaction bool (false by default), if transaction is used when batch importing and works when :validate is set to true
:batch_size integer value of max record count inserted by 1 query/transaction
:before_import proc for before import action, hook called with importer object
:after_import proc for after import action, hook called with importer object
:before_batch_import proc for before each batch action, called with importer object
:after_batch_import proc for after each batch action, called with importer object
:on_duplicate_key_update an Array or Hash, tells activerecord-import to use MySQL's ON DUPLICATE KEY UPDATE or Postgres 9.5+/SQLite 3.24.0+ ON CONFLICT DO UPDATE ability
:on_duplicate_key_ignore bool, tells activerecord-import to use MySQL's INSERT IGNORE or Postgres 9.5+ ON CONFLICT DO NOTHING or SQLite's INSERT OR IGNORE ability
:ignore bool, alias for on_duplicate_key_ignore
:timestamps bool, tells activerecord-import to not add timestamps (if false) even if record timestamps is disabled in ActiveRecord::Base
:template custom template rendering
:template_object object passing to view
:resource_class resource class name
:resource_label resource label value
:plural_resource_label pluralized resource label value (default config.plural_resource_label)
:error_limit Limit the number of errors reported (default 5, set to nil for all)
:headers_rewrites hash with key (csv header) - value (db column name) rows mapping
:if Controls whether the 'Import' button is displayed. It supports a proc to be evaluated into a boolean value within the activeadmin render context.

Wiki

Check various examples

Dependencies

Tool Description
rchardet Character encoding auto-detection in Ruby. As smart as your browser. Open source.
activerecord-import Powerful library for bulk inserting data using ActiveRecord.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].