Skip to main content

Python package for resource geologists

Project description

resourcegeo and utilities package

Description

This package aims to solve data analysis-related tasks, and calculations with numerical models

Writing guidelines

This package is compliant at best extent possible with PEP8 and PEP20. A non-exhaustive list of these guidelines is summarized in Nik Tomazic and includes:

PEP 8 naming conventions:

  • Class names should be CamelCase (MyClass)
  • Variable names should be snake_case and all lowercase (first_name)
  • Function names should be snake_case and all lowercase (quick_sort())
  • Constants should be snake_case and all uppercase (PI = 3.14)
  • Modules should have short, snake_case names and all lowercase (numpy)
  • Be consistent if using single quotes or double quotes

PEP 8 line formatting:

  • Indent using 4 spaces (spaces are preferred over tabs)
  • Lines should not be longer than 79 characters
  • Avoid multiple statements on the same line
  • Top-level function and class definitions are surrounded with two blank lines
  • Method definitions inside a class are surrounded by a single blank line
  • Imports should be on separate lines

PEP 8 whitespace:

  • Avoid extra spaces within brackets or braces
  • Avoid trailing whitespace anywhere
  • Always surround binary operators with a single space on either side
  • If operators with different priorities are used, consider adding whitespace around the operators with the lowest priority
  • Avoid spaces around the = sign when used to indicate a keyword argument

PEP 8 comments:

  • Comments should not contradict the code
  • Comments should be complete sentences
  • Comments should have a space after the # sign with the first word capitalized
  • Multi-line comments used in functions (docstrings) should have a short single-line description followed by more text

Installing

Change to the following code accordingly to the latest version in test.pypi. Add flag --index-url to retrieve dependencies

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple resourcegeo==0.1.1

Contact

Numpattern

License

This project is licensed unther the MT License - see the License.md for details

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

resourcegeo-0.1.6-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file resourcegeo-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: resourcegeo-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 45.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.7

File hashes

Hashes for resourcegeo-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2d8e40141bc71fd4576f3f3c8eb1efe784639ffbd068fe4cf223c6050af9ff
MD5 f946c77fad5932fd838648f44bdeba20
BLAKE2b-256 4959be23d913c9cd49f4fae15b397b9cc0d1f9b80383d3a3de7ee1d084539be6

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