Skip to content

Commit

Permalink
Merge pull request #1 from juanmcristobal/feature/change_owner
Browse files Browse the repository at this point in the history
Feature/change owner
  • Loading branch information
juanmcristobal committed Jul 27, 2020
2 parents 6a380ec + ec2cbb1 commit 1311250
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 87 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ ENV/

# mypy
.mypy_cache/

# vscode
.vscode/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist: xenial
language: python
python:
- 3.8.0
- 3.7.3
- 3.6
- 3.5
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Credits
Development Lead
----------------

* @vikilab <vikilab.library@gmail.com>
* Juan Manuel Cristóbal Moreno <twitter: @juanmcristobal>

Contributors
------------
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Types of Contributions
Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/vikilab/ragnar/issues.
Report bugs at https://github.com/juanmcristobal/ragnar/issues.

If you are reporting a bug, please include:

Expand Down Expand Up @@ -45,7 +45,7 @@ articles, and such.
Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/vikilab/ragnar/issues.
The best way to send feedback is to file an issue at https://github.com/juanmcristobal/ragnar/issues.

If you are proposing a feature:

Expand All @@ -62,7 +62,7 @@ Ready to contribute? Here's how to set up `ragnar` for local development.
1. Fork the `ragnar` repo on GitHub.
2. Clone your fork locally::

$ git clone https://github.com/vikilab/ragnar.git
$ git clone git@github.com:juanmcristobal/ragnar.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::

Expand Down Expand Up @@ -102,8 +102,8 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 2.7, 3.4, 3.5 and 3.6, and for PyPy. Check
https://travis-ci.org/vikilab/ragnar/pull_requests
3. The pull request should work for Python 3.5, 3.6, 3.7, 3.8 and for PyPy. Check
https://travis-ci.org/github/juanmcristobal/ragnar/pull_requests
and make sure that the tests pass for all supported Python versions.

Tips
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019, vikilab
Copyright (c) 2019, @juanmcristobal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
30 changes: 23 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
======
ragnar
Ragnar
======


.. image:: https://img.shields.io/pypi/v/ragnar.svg
:target: https://pypi.python.org/pypi/ragnar

.. image:: https://img.shields.io/travis/vikilab/ragnar.svg
:target: https://travis-ci.org/vikilab/ragnar
.. image:: https://img.shields.io/travis/juanmcristobal/ragnar.svg
:target: https://travis-ci.org/juanmcristobal/ragnar

.. image:: https://readthedocs.org/projects/ragnar/badge/?version=latest
:target: https://ragnar.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://coveralls.io/repos/github/vikilab/ragnar/badge.svg?branch=master
:target: https://coveralls.io/github/vikilab/ragnar?branch=master
.. image:: https://coveralls.io/repos/github/juanmcristobal/ragnar/badge.svg?branch=master
:target: https://coveralls.io/github/juanmcristobal/ragnar?branch=master



Expand All @@ -28,9 +28,25 @@ Ragnar is a lightweight Extract-Transform-Load (ETL) framework for Python 3.5+.
Features
--------

* TODO
* Keeps a functional programming philosophy.
* Code reuse instead of "re-inventing the wheel" in each script.
* Customizable for your organization's particular tasks.

Credits
Example
-------

A pipeline that applies capital letters to the list and then filters through the one starting with "B":

.. code:: python
>>> from ragnar.stream import Stream
>>> st = Stream(["apple", "banana", "cherry"])
>>> st.do(lambda x: x.upper())
<ragnar.stream.Stream object at 0x7fbe8e3509d0>
>>> st.filter(lambda x:x.startswith("B"))
<ragnar.stream.Stream object at 0x7fbe8e3509d0>
>>> for row in st:
... print(row)
BANANA
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

# General information about the project.
project = u'ragnar'
copyright = u"2019, vikilabs"
author = u"vikilabs"
copyright = u"2019, @juanmcristobal"
author = u"@juanmcristobal"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
Expand Down Expand Up @@ -131,7 +131,7 @@
latex_documents = [
(master_doc, 'ragnar.tex',
u'ragnar Documentation',
u'vikilabs', 'manual'),
u'@juanmcristobal', 'manual'),
]


Expand Down
55 changes: 10 additions & 45 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,51 +1,16 @@
.. highlight:: shell

============
Installation
============
Installation and Dependencies
=============================

Ragnar is pure Python and so is easily installable by the standard
dependency manager ``pip``::

Stable release
--------------
pip install ragnar

To install ragnar, run this command in your terminal:
Ragnar endeavors to be a very light dependency. It accomplishes this in
three ways:

.. code-block:: console
$ pip install ragnar
This is the preferred method to install ragnar, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process.

.. _pip: https://pip.pypa.io
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/


From sources
------------

The sources for ragnar can be downloaded from the `Github repo`_.

You can either clone the public repository:

.. code-block:: console
$ git clone git://github.com/juanmcrisobal/ragnar
Or download the `tarball`_:

.. code-block:: console
$ curl -OL https://github.com/juanmcrisobal/ragnar/tarball/master
Once you have a copy of the source, you can install it with:

.. code-block:: console
$ python setup.py install
.. _Github repo: https://github.com/juanmcrisobal/ragnar
.. _tarball: https://github.com/juanmcrisobal/ragnar/tarball/master
1. Ragnar is pure Python
2. Ragnar relies only on the standard library
3. Ragnar simultaneously supports Python versions 3.5+ and PyPy
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Usage

To use ragnar in a project::

import ragnar
from ragnar.stream import Stream
6 changes: 3 additions & 3 deletions ragnar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

"""Top-level package for ragnar."""

__author__ = """vikilabs"""
__email__ = 'vikilab.library@gmail.com'
__version__ = '0.1.1'
__author__ = """@juanmcristobal"""
__email__ = '@juanmcristobal'
__version__ = '0.3.0'
28 changes: 15 additions & 13 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
pip==19.1
pytest==4.4.1
flake8==3.7.7
pip==20.1.1
pytest==5.4.3
flake8==3.8.3
Sphinx==2.0.1
twine==1.13.0
coverage==4.5.3
tox==3.9.0
Faker==1.0.5
coveralls==1.7.0
pytest-cov==2.6.1
sphinx-rtd-theme==0.4.3
wheel==0.33.1
watchdog==0.9.0
bumpversion==0.5.3
twine==1.15.0
coverage==5.2.1
tox==3.18.0
Faker==4.1.1
coveralls==2.1.1
pytest-cov==2.10.0
sphinx-rtd-theme==0.5.0
wheel==0.34.2
watchdog==0.10.3
bumpversion==0.6.0
pyyaml==5.3.1
argh==0.26.2
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.1
current_version = 0.3.0
commit = True
tag = True

Expand All @@ -26,4 +26,3 @@ collect_ignore = ['setup.py']

[pytest]
norecursedirs = tests/helpers

9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
test_requirements = []

setup(
author="vikilab",
author_email='vikilab.library@gmail.com',
author="@juanmcristobal",
author_email='@juanmcristobal',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -30,6 +30,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
description="lightweight Extract-Transform-Load (ETL) framework for Python 3+",
entry_points={
Expand All @@ -47,7 +48,7 @@
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/vikilab/ragnar',
version='0.1.1',
url='https://github.com/juanmcristobal/ragnar',
version='0.3.0',
zip_safe=False,
)
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[tox]
envlist = py35, py36, py37, flake8
envlist = py35, py36, py37, py38, flake8

[travis]
python =
3.7: py37
3.6: py36
3.5: py35
3.4: py34
2.7: py27

[testenv:flake8]
basepython = python
Expand Down

0 comments on commit 1311250

Please sign in to comment.