semvec/pypi-packages huggingface dataset:
nadar 0.1.0
NAtural DAte Ranges - automatic translation of natural language phrases describing date ranges into relevant dates or strings
Requires Python: >=3.6

# NAtural DAte Ranges

The purposed of this package is to translate natural language phrases describing date ranges into relevant dates or strings.

# Installation

`pip install nadar`

# How to use the package

`import nadar as nd`

**parse_reference**<br/>
Takes in a string representing a delta in date and returns it given the reference date.

```
>>> nd.parse_reference('today')
SmartDate(2020-05-18)

>>> parse_reference('hace tres meses')
SmartDate(2018, 2, 8)
```

**parse_period**<br/>
Takes in a string representing a period and returns it given the reference date.

```
>>> nd.parse_period('last month')
SmartPeriod(SmartDate(2018, 4, 1), SmartDate(2018, 4, 30))

>>> nd.parse_period('last year', reference='2017-10-28')
SmartPeriod(SmartDate(2016, 1, 1), SmartDate(2016, 12, 31))
```

**smart_dates**<br/>
Wrapper for both parse_period() and parse_reference() returning a tuple of strings.

```
>>> nd.smart_dates('4 months ago')
('2020-01-01', '2020-01-31')

>>> nd.smart_dates('yesterday')
('2020-05-19', '2020-05-19')
```

# Acknowledgment

The main author of the code for this package is [**Benjamin Wolter, PhD**](https://www.linkedin.com/in/benjamin-wolter/).<br/>
The author of the original idea for the functionality is [**Sergey Ivanov, PhD**](https://www.linkedin.com/in/sergey-ivanov-a52355bb/)
basic-sftp 1.3.6
This projects creates a basic sftp connection that allows you to send any document to a digital ocean server
Requires Python: >=3.5
Keywords: basic_sftp

==========
Basic SFTP
==========


This projects creates a basic sftp connection that allows you to send any document to a digital 
ocean server that I have set up. To install this project simply ~pip install basic-sftp~ It will install everything needed to run
the program. Once install you can use SFTP to transfer any file to any server if you have the correct
credentials.



Features
--------

* SFTP file transfer

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======


1.3.4 (2020-05-17)
------------------

* Updated the ssh_key prompt to not hide the input so you can see what file location you are using

1.3.3 (2020-05-16)
------------------

* Added the ability to use ssh keys when creating the SFTP connection

1.3.2 (2020-05-16)
------------------

* This package is now able to be pip installed. I am still working out how to use the SSH_KEY in the SFTP connection because
* I am still new to those.


1.1.0 (2020-05-12)
------------------

* Still trying to figure out how to make the package work with a requirement of pysftp.


1.0.0 (2020-05-11)
------------------

* First release on PyPI.