Skip to main content

Function easing life :)

Project description

py2nut - Laurent Tupin

It provides various functions to simplify the users life.

Installation

You can install the package from PyPI:

python -m pip install pynut-API

The package is supported on Python 3.7 and above.

How to use

You can call a function as this example:

$ ----------------------------------------------------
>>> from pyNutApi import nutDate
>>> nutDate.today()

This is the libraries I am using with the package

$ ----------------------------------------------------
>>> beautifulsoup4==4.7.1
>>> pandas==1.1.3
>>> selenium==3.141.0

To use nutApi / Selenium Functionnalities:

#----------------------------------------------------
# To use Chrome Driver
#  Go to chromedriver.chromium.org || https://sites.google.com/a/chromium.org/chromedriver/downloads
#  Chose an older version (like the 92 as of August 2021)
#  download and UnZip the folder
#  Move it to Users/local/bin
#   or C:\ProgramData\Anaconda3\Library\bin (Windows)
#   or ...\AppData\Local\Programs\Python\Python39
#----------------------------------------------------

Documentation

Temporary documentation for nutApi :

from pyNutApi import nutApi as Api
    
1. Class

inst_getAPI = Api.C_API_simple( (str_uid, str_pwd) )
inst_getAPI.api_connect_json( url )
inst_getAPI.api_returnDataFrame( l_url_keyword = ['data', 'price'] )
df_data = inst_getAPI.df_return
""" The class inherit from C_API 
        allows the user to read an URL and get back a dataframe from JSON format
    Is decorated to be a singleton"""

END

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynut-API-2.1.9.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynut_API-2.1.9-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file pynut-API-2.1.9.tar.gz.

File metadata

  • Download URL: pynut-API-2.1.9.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for pynut-API-2.1.9.tar.gz
Algorithm Hash digest
SHA256 bb1ffa50ef8ccc289c2fc9a000e89ac49ffc9045cc575fec8dbfe6b40594e9c5
MD5 6ddeb84a9e462cfb1a84623e86e0cc27
BLAKE2b-256 2f0026a3be3026a9c71b2c75757c4e7d2814bb4a057c2bcbb021cb1a1477acc8

See more details on using hashes here.

File details

Details for the file pynut_API-2.1.9-py3-none-any.whl.

File metadata

  • Download URL: pynut_API-2.1.9-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for pynut_API-2.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ff942d0856a48852a9ec51be7a23be61e1afd73f3a895dea006b44ec4b918956
MD5 8cce80084ff72cc68cca1db70cda9d67
BLAKE2b-256 7f4c56cdff6605910c2c1963b8bd4f5f333aab9963e50318a9b3e886352bb512

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page