Skip to main content

End-to-end machine learning on your desktop or server.

Project description

pydatasci

Simplify the end-to-end workflow of machine learning.

Requirements:

  • Python 3+

Installation:

You will only need to do this the first time you use the package. Enter the following commands one-by-one and follow any instructions returned by the command prompt to resolve errors:

Starting from the command line:

$ pip install --upgrade pydatasci
$ python

Once inside the Python shell:

>>> import pydatasci as pds
>>> pds.create_folder()
>>> pds.create_config()
>>> from pydatasci import aidb
>>> aidb.create_db()

PyDataSci makes use of appdirs for an operating system (OS) agnostic location to store configuration and database files. This not only keeps your $HOME directory clean, but also helps prevent careless users from deleting your database.

The installation process checks not only that the corresponding appdirs folder exists on your system but also that you have permission to read from as well as write to that location. If these conditions are not met, then you will be provided instructions during the installation about how to create the folder and/ or grant yourself permissions necessary to do so. We have attempted to support both Windows (icacls permissions and backslashes \\, \) and POSIX including Mac, Linux (chmodpermissions and slashes /). If you run into trouble with the installation process on your OS, please submit a GitHub issue so that we can attempt to resolve and release a fix as quickly as possible.

Location based on OS appdir.user_data_dir('pydatasci'):

  • Mac: /Users/Username/Library/Application Support/pydatasci
  • Linux - Alpine and Ubuntu: /root/.local/share/pydatasci
  • Windows: C:\Users\Username\AppData\Local\pydatasci

Deleting & Recreating the Database:

When deleting the database, you need to either reload the aidb module or restart the Python shell before you can attempt to recreate the database.

>>> aidb.delete_db(True)
>>> from importlib import reload
>>> reload(aidb)
>>> create_db()

Updating PyPI Package:

$ pip3 install --upgrade wheel twine
$ python3 setup.py sdist bdist_wheel
$ python3 -m twine upload --repository pypi dist/*
$ rm -r build dist pydatasci.egg-info
# proactively update the version number in setup.py next time
$ pip install --upgrade pydatasci; pip install --upgrade pydatasci

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

pydatasci-0.0.33.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pydatasci-0.0.33-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file pydatasci-0.0.33.tar.gz.

File metadata

  • Download URL: pydatasci-0.0.33.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for pydatasci-0.0.33.tar.gz
Algorithm Hash digest
SHA256 3a11cc96787618a1882dd1f9406c79a47a8b4c645b48ec0c0903a9f538653a80
MD5 2a33f524231357a95e9c789c181c2bc4
BLAKE2b-256 8508004f96053866564d10c64781e8c1168b697218aeb8b6755dda7eb70a741f

See more details on using hashes here.

File details

Details for the file pydatasci-0.0.33-py3-none-any.whl.

File metadata

  • Download URL: pydatasci-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for pydatasci-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 985d6803dd7fcc82804a95709a14012962d86b9512044ba46a6d46b6992b115e
MD5 cd76a0f9ff44e73189a3711317697e57
BLAKE2b-256 3f9bf1f1366032a5d3612cedc6a108b09195bf5038a9922f4a0a859a7ebf9814

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